[wp-trac] [WordPress Trac] #40866: Video widget does not successfully play several permutations of YouTube URLs
WordPress Trac
noreply at wordpress.org
Thu May 25 21:08:13 UTC 2017
#40866: Video widget does not successfully play several permutations of YouTube
URLs
--------------------------+--------------------
Reporter: jnylen0 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by timmydcrawford):
Related issue from the mejs repo:
https://github.com/mediaelement/mediaelement/issues/1938
So it seems the conversion to https along with the removal of query params
should probably happen in the video shortcode logic to best cover both use
cases ( video widget and direct shortcode usage ). FWIW I've never seen a
Vimeo share/embed link have url args attached to it - but still having an
argument whitelist for both services seems like a great way to safeguard
random bugs like this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40866#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list