Changes between Version 1 and Version 2 of Ticket #18719, comment 10

Timestamp:
02/02/12 18:53:50 (16 months ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18719, comment 10

    v1 v2  
    11In theory, simply adding these lines to class-oembed.php would do the trick: 
    22{{{ 
    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 ), 
    55}}} 
    66