[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
Thu Jun 19 01:58:09 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: 4.0
Component: Media | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript, administration
--------------------------+-----------------------------------------
Changes (by Fab1en):
* keywords: needs-patch => has-patch
Comment:
I finally understood the root cause of the issue : the mediaelementjs
javascript must be loaded inside the tinymce iframe to make it work
properly (just like mediaelement css is already loaded inside the iframe).
Several scripts must be loaded, with respects for dependencies, so we must
must wait for a script to be fully loaded before proceeding with the next
one.
I have modified the patch to take this into account. I would appreciate to
have your opinion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28190#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list