Changes between Version 1 and Version 2 of Ticket #18719, comment 10
- Timestamp:
- 02/02/2012 06:53:50 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18719, comment 10
v1 v2 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( 'https://www.youtube.com/oembed', true ),4 'https ?://youtu.be/*' => array( 'https://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