Changes between Initial Version and Version 1 of Ticket #18719, comment 10
- Timestamp:
- 02/02/2012 06:53:32 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18719, comment 10
initial v1 1 1 In theory, simply adding these lines to class-oembed.php would do the trick: 2 2 {{{ 3 '#https?://(www\.)?youtube.com/watch.*#i' => array( 'http ://www.youtube.com/oembed', true ),4 'https?://youtu.be/*' => array( 'http ://www.youtube.com/oembed', false ),3 '#https?://(www\.)?youtube.com/watch.*#i' => array( 'https://www.youtube.com/oembed', true ), 4 'https?://youtu.be/*' => array( 'https://www.youtube.com/oembed', false ), 5 5 }}} 6 6