Changeset 51716 in spip-zone


Ignore:
Timestamp:
Sep 22, 2011, 7:55:17 PM (8 years ago)
Author:
arno@…
Message:

Nouvelles sources.

Location:
_plugins_/plugins_seenthis/autoembed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/plugins_seenthis/autoembed/AutoEmbed.class.php

    r50776 r51716  
    5454        $this->_stub = $stub;
    5555       
     56        print_r($stub);
     57       
    5658        if ( isset($stub['fetch-match'] ) ) {
    5759          return $this->_parseLink($url);
  • _plugins_/plugins_seenthis/autoembed/stubs.php

    r51714 r51716  
    708708  ),
    709709  array(
     710    'title' => 'Jamendo',
     711    'website' => 'http://www.jamendo.com',
     712    'url-match' => 'http://(?:www\.|widgets\.)?jamendo\.com/(?:[a-z0-9]*?)/track/(?:\?album_id=)?([0-9]{1,10})',
     713    'embed-src' => 'http://widgets.jamendo.com/fr/track/?playertype=2008&track_id=$2',
     714    'embed-width' => '200',
     715    'embed-height' => '300',
     716  ),
     717  array(
    710718    'title' => 'Jokeroo',
    711719    'website' => 'http://www.jokeroo.com',
     
    765773    'flashvars' => 'lang=en&lfmMode=playlist&FOD=true&resname=$3&restype=track&artist=$2',
    766774  ),
     775  /*
     776  array(
     777    'title' => 'Last.fm (Audio)',
     778    'website' => 'http://www.last.fm',
     779    'url-match' => 'http://(?:www\.)?last\.fm/music/([0-9a-z%\+_-]*?)/_/([0-9\+a-z_-]*)',
     780    'embed-src' => 'http://cdn.last.fm/webclient/s12n/s/53/lfmPlayer.swf',
     781    'embed-width' => '300',
     782    'embed-height' => '221',
     783    'flashvars' => 'lang=en&lfmMode=playlist&FOD=true&resname=$3&restype=track&artist=$2',
     784  ),
    767785  array(
    768786    'title' => 'Last.fm (Video)',
     
    774792    'flashvars' => 'uniqueName=$3&FSSupport=true&'
    775793  ),
     794  */
    776795  array(
    777796    'title' => 'Libero',
     
    14241443  ),
    14251444 array(
     1445    'title' => 'MixCloud',
     1446    'website' => 'http://www.mixcloud.com',
     1447    'url-match' => '(http:\/\/www\.mixcloud\.com\/.*)',
     1448    'embed-width' => '200',
     1449    'embed-height' => '200',
     1450    'embed-src' => 'http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf?feed=$2',
     1451  ),
     1452 array(
     1453    'title' => 'Zero-Inch',
     1454    'website' => 'http://www.zero-inch.com',
     1455    'url-match' => 'http:\/\/www\.zero\-inch\.com\/.*\/([0-9]+)',
     1456    'embed-width' => '200',
     1457    'embed-height' => '200',
     1458    'embed-src' => 'http://www.zero-inch.com/widgets/release_xl.swf?productId=$2',
     1459  ),
     1460 array(
    14261461    'title' => 'Grooveshark',
    14271462    'website' => 'http://www.grooveshark.com',
Note: See TracChangeset for help on using the changeset viewer.