[wp-trac] [WordPress Trac] #28476: YouTube Embed Breaks When Flash isn't Enabled

WordPress Trac noreply at wordpress.org
Thu Jul 24 23:52:37 UTC 2014


#28476: YouTube Embed Breaks When Flash isn't Enabled
--------------------------+-------------------------
 Reporter:  fatmedia      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Embeds        |     Version:  3.9.1
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-------------------------
Changes (by wonderboymusic):

 * keywords:  needs-patch reporter-feedback => needs-patch
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  4.0 =>


Comment:

 YouTube loads via Flash when you use the `[video]` shortcode. There's no
 way around it. If your goal is to show YouTube, regardless of the Flash
 dependency, use the `[embed]` shortcode or oEmbed by just pasting the URL.

 Here is the relevant code in MEjs that loads YouTube:
 https://github.com/johndyer/mediaelement/blob/master/src/flash/htmlelements/YouTubeElement.as

 YouTube in MEjs is an enhancement and doesn't have any mechanism to
 fallback to HTML5 (yet?).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28476#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list