[wp-trac] [WordPress Trac] #28125: youtube oembed for playlist link
WordPress Trac
noreply at wordpress.org
Sun May 4 21:35:54 UTC 2014
#28125: youtube oembed for playlist link
-------------------------+-----------------------------
Reporter: alexufo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 3.9
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
i think better add youtube playlist for auto embeding.
http://www.youtube.com/playlist?list=PL6BCB25412319E08A
This code must add to class-oembed.php providers. I think playlist id
lenth is 18.
{{{
#!php
'#http:\/\/(www\.)?youtube\.com\/playlist\?list=.{18}#i' => array(
'http://www.youtube.com/oembed', true ),
}}}
and... why "/" are not escaping in class-oembed.php providers?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28125>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list