Go
Not registered? Sign up!

Livestream Network Plugin not working

Google Translate
9 posts | return to the Plugins forum | get the rss feed for this thread

Nov. 03, 2009Marco

Hello,
Anyone has implemented the Livestream Network Plugin successfully using an xml playlist for different channels?

Nov. 03, 2009Marco

I'm streaming 3 different channels from livestream.com. For now, i'm testing using 3 players but eventually it want to put everythin on a playlist.
The last player uses a diferent livestream.devkey and the second player skin is different then the other players.

Is is possible to put all this information on a playlist and just call the playlist using the flashvar 'file' ? If yes, what's the best playlist to achieve it? ASX, ATOM, RSS, XSPF?

This are my 3 players :
<embed
src='mediaplayer_46/player.swf'
width='340'
height='255'
bgcolor='#ffffff'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=rociojuradofanclub&type=livestream&livestream.devkey=7777777777&controlbar=over&autostart=true&skin=mediaplayer_46/skins/nacht.swf'
/>

<embed
src='mediaplayer_46/player.swf'
width='340'
height='255'
bgcolor='#ffffff'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=rocioflamenco&type=livestream&livestream.devkey=7777777777777&controlbar=over&autostart=false&skin=mediaplayer_46/skins/dif.swf'
/>

<embed
src='mediaplayer_46/player.swf'
width='340'
height='255'
bgcolor='#ffffff'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=rociocopla&type=livestream&livestream.devkey=111111111&controlbar=over&autostart=true&skin=mediaplayer_46/skins/nacht.swf'
/>

Thanks in advance

Nov. 04, 2009hobbs

 
You could integrate everything except the different skins into one embed element and a 3-track playlist.

There is no way to switch skins using simple embed code; you would have to re-instantiate the player to do that.

I would recommend using the XSPF playlist format, it's the simplest and most flexible — unless you also need the playlist to be a valid feed, in which case you should use the MediaRSS format for your playlist.

You can add the type and livestream.devkey flashvars using the meta element or the jwplayer namespace element.

See: http://developer.longtailvideo.com/trac/wiki/FlashFormats#XMLPlaylists

and: http://developer.longtailvideo.com/trac/wiki/FlashFormats#JWPlayerNamespace

Nov. 08, 2009Marco

i'm not sure how to do it. ive done some testing with no success.

Test 1: works ok!
Here's the embeddedelement:
<embed
src='http://www.myweb/mediaplayer_46/player.swf'
width='340'
height='255'
bgcolor='#ffffff'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=rociojuradofanclub&type=livestream&livestream.devkey=123456789&controlbar=over&autostart=true'
/>



Test 2: works not!
here's the embedded with my playslist

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<creator>Video One</creator>
<title>Video One</title>
<location>rociojuradofanclub</location>
</track>
</trackList>
</playlist>

<embed
src='http://www.myweb/mediaplayer_46/player.swf'
width='340'
height='255'
bgcolor='#ffffff'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=playlist.xml&type=livestream&livestream.devkey=123456789&controlbar=over&autostart=true'
/>

I need help on something so simple.

Thanks
Marco

Nov. 08, 2009hobbs

 

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
    <track>
      <creator>Video One</creator>
      <title>Video One</title>
      <location>rociojuradofanclub</location>
      <meta rel="type">livestream</meta>
      <meta rel="livestream.devkey">123456789</meta>
    </track>
  </trackList>
</playlist>

<embed src="http://www.myweb/mediaplayer_46/player.swf" width="340" height="255" bgcolor="#ffffff" allowscriptaccess="always" allowfullscreen="true" flashvars="file=playlist.xml&controlbar=over&autostart=true" />


I don't have an account at Livestream.com to test against, so I don't know if it will work.

Nov. 09, 2009Marco

Thanks hobbs for your help and the effort.

Unfortunately, it doesn't work but i'm pretty sure it's something small that i can't see.

This is my testing page:
http://www.rociojuradofanclub.com/testing123.php

I have to identical embedded players. One with a playlist and one with no playlist. For the example with the playlist, i get the error "Invalid developer key." I made sure that the key is exactly the same.

What could go wrong?

Thanks again
Marco

Nov. 09, 2009hobbs

 
Well... it turned out to be stupidly simple, but it took me a while to get there.

Just leave the developer key in your player code.

    http://willswonders.myip.org:8074/Marco.html

Nov. 10, 2009Marco

Thanks hobbs!

I was looking forward to having the dev key in the playlist so i can have multiple channels from other users with different accounts. Having the dev key in the player code makes it harder.
I will need to re-instantiate the player.

The good news is that it works now!

Thanks again for the effort.
Marco

Nov. 20, 2009Mike

Is there a way to have define the dev key in the playlist? I am trying to set up an XML file that will pull in videos from both a YouTube Channel and a LiveStream channel. Can anyone provide sample XML code for this?

Thanks!

-Mike

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.