Wedge
Public area => The Pub => Support => Topic started by: CerealGuy on May 10th, 2015, 03:14 PM
-
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:
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=(.*);',
),
-
How'd you go with this buddy?
Did you get it working?
Cheers :thanks:
-
Nope didn't get it working...
Problem is that Aeva isn't to well documented :D Debugging is also not really easy.
Perhaps @Nao has some tips for us :D
-
:lol: hahahaa Yes!
The Master would know :ph34r:
After all, he did create the best media program SMF had/has ever seen!!
But it would depend on his interest if he'd take the time to look into it. :hmm:
@Nao sifu :eheh: