Again i tried to implement Soundcloud into Aeva Media. And it's not really easy because debugging is a pain in the ass. But that's another story.
In the moment i'm this far that i only need to get the "real" url over an api provided by soundcloud and replace the old url. But Aeva doesn't even perform my url lookup. I only need to extract everything between "url=" and ";".
Example lookup url: soundcloud.com/oembed?iframe=true&url=http://soundcloud.com/erasedtapes/olafur-arnalds-poland
My current array is this:
Code: [Select]
In the moment i'm this far that i only need to get the "real" url over an api provided by soundcloud and replace the old url. But Aeva doesn't even perform my url lookup. I only need to extract everything between "url=" and ";".
Example lookup url: soundcloud.com/oembed?iframe=true&url=http://soundcloud.com/erasedtapes/olafur-arnalds-poland
My current array is this:
array(
'id' => 'scld',
'plugin' => 'html',
'title' => 'Soundcloud',
'website' => 'http://soundcloud.com',
'type' => 'video',
'pattern' => 'http://(?:www\.)?soundcloud\.com/([\w-]+)(\/[\w-]+)?/?',
'movie' => '<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=$1;color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false"></iframe>',
'ui-height' => 0,
'lookup-url' => 'url=(.*);',
'lookup-actual-url' => 'http://soundcloud.com/oembed?iframe=true&url=$1',
'lookup-pattern' => 'url=(.*);',
),