[wp-trac] [WordPress Trac] #28190: Support for mediaelement.js YouTube sources in the video shortcode does not work in TinyMce

WordPress Trac noreply at wordpress.org
Fri May 9 15:31:25 UTC 2014


#28190: Support for mediaelement.js YouTube sources in the video shortcode does not
work in TinyMce
--------------------------+-----------------------------------------
 Reporter:  Fab1en        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by Fab1en):

 I think the `wp.media.mixin.isCompatible` function is the one to blame
 here. It returns `false` when using a youtube video url, and that is why
 the mediaelement.js player is not loaded in tinymce. Is his behavior
 intended ?

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


More information about the wp-trac mailing list