Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#21047 closed defect (bug) (duplicate)

Iframe Source empty when Previewing unpublished posts

Reported by: sabarinatht's profile sabarinatht Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: General Keywords:
Focuses: Cc:

Description

Iframe Source empty/you tube video doesn't appear in front-end when Previewing unpublished posts and scheduled posts . But when we reload the preview page the video appears there.

Change History (3)

#1 @ericlewis
12 years ago

  • Severity changed from normal to minor

Reproduced the bug.

  1. Edit a post
  2. Add embed code for a YouTube video (eg. <iframe src="http://www.youtube.com/embed/jqpGDYO459I/" frameborder="0" width="560" height="315"></iframe>)
  3. Click preview changes, notice YouTube video doesn't appear, replaced with blank space
  4. Refresh page, YouTube video loads

Also, it's not just YouTube iframed contents, if you change the iframe src to another website (wordpress.org) the contents will also not load on first try.

#2 @nacin
12 years ago

Sounds like we're triggering a browser security measure. Otto42 ran into this recently as well.

#3 @ocean90
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 3.4 deleted

#20148 refers to <object>, but should be the same issue.

Note: See TracTickets for help on using tickets.