[wp-trac] [WordPress Trac] #28622: Add a filter for video shortcode pattern
WordPress Trac
noreply at wordpress.org
Tue Jun 24 11:41:11 UTC 2014
#28622: Add a filter for video shortcode pattern
-----------------------------+-----------------------------
Reporter: jmlapam | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 3.9.1
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
Hi for now it's possible with WP 3.9.1 to add a shortcode to embed video
or audio content without iFrame and it's cleaner. It's also responsive
which allowds us to skip the use of additional scripts such as fitvidjs.
The only thing is that it's made for self hosted videos and YouTube but
other providers are not taken into account.
That would be a great enhancement if you add a filter at this line :
https://core.trac.wordpress.org/browser/tags/3.9.1/src/wp-
includes/media.php#L1714
Something you might combine with actual list of oEmbed providers.
Is that possible? Why is it just YouTube? Maybe there's a good reason I
don't know. Hopefully I get a 'yes' on this ^^
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28622>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list