WordPress.org

Make WordPress Core

#21047 closed defect (bug) (duplicate)

Iframe Source empty when Previewing unpublished posts

Reported by: 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)

comment:1 ericlewis22 months 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.

comment:2 nacin22 months ago

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

comment:3 ocean9022 months 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.