WordPress.org

Make WordPress Core

Ticket #31068: podbean.patch

File podbean.patch, 805 bytes (added by podbean, 3 years ago)

oEmbed for Podbean embed player

  • wp-includes/class-oembed.php

     
    6767                        '#https?://(www\.)?mixcloud\.com/.*#i'                => array( 'http://www.mixcloud.com/oembed',                     true  ), 
    6868                        '#https?://(www\.|embed\.)?ted\.com/talks/.*#i'       => array( 'http://www.ted.com/talks/oembed.{format}',           true  ), 
    6969                        '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'http://animoto.com/oembeds/create',                  true  ), 
     70                        '#https?://(www\.)?podbean\.com/media/player/.*#i'    => array( 'http://www.podbean.com/media/oembed',                true  ), 
    7071                ); 
    7172 
    7273                if ( ! empty( self::$early_providers['add'] ) ) {