How to setup LongTail Video Player to stream soundcloud tracks?
Can anybody explain me, why http://www.longtailvideo.com/support/... i cant stream SC tracks from a normal flash player? try to insert the track.stream-url eg. http://media.soundcloud.com/stream/xU... to open the stream. any ideas, thank you ;/>
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?strange, should work. haven't tried with the player you mention, but you're using the right url.
-
Inappropriate?hi,
I tested this again now with the player at http://www.longtailvideo.com/support/... and it turns out that it's using the file ending (e.g. ".mp3" to decide how to play back the file. since we're not appending an extension to the media url:s it won't work in the player.
However, if you set up a redirect on your site from something.mp3 to the media url, it will work well (I tested it).
Here's a test url:
http://forss.to/media/test.mp3 (will redirect to a soundcloud track)
if you paste this into the player, it will play nicely.
To do this in e.g. apache you create an .htaccess file in the same directory and add the following:
RewriteRule test.mp3 http://media.soundcloud.com/stream/QX...
Hope this helps you!
I’m happy
The company says
this answers the question
-
Inappropriate?Hi Eric,
thank you for your replay. i forget to post the solution from longtailvideo here. ;(
Longtailvideo support told me, that in this case, your absolutely right, their player need the data type, generelly getting from file extension.
here is the email extract from ethan of longtailvideo for everybody, who try to stream soundcloud with this player:
"....If you put in the file into the file variable and make the type "sound", it will work.
I tested this on http://www.longtailvideo.com/support/... and it works.
This text will be replaced
var so = new SWFObject('player.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://media.soundcloud.com/stream/xUyZ04H0t4yY');
so.addVariable('type','sound');
so.write('mediaspace');
in my case i didnt add the addVariable type = sound. this let the player stream the tracks,
wish you nice weekend with «Das Wiedersehen von Berlin» ;)
Best,
-Ethan
Loading Profile...




EMPLOYEE