Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Set Up LiveSTream

9 replies [Last post]

Hi guys. I have never streamed a live video with the JW player. I just opened a free livestream account (livestream.com) and and I want to embed the LiveStream stream into my JW player but I don't know where to start.

I just need the basic code to implement it.

Any help will be greatly appreciated. Thanks.

Hi, Ethan. Thanks for your help.
I am still unsuccesful. Take a look at my code and tell me what am I doing wrong:

<script type='text/javascript' src='mediaplayer5/swfobject.js'></script>
<div id='mediaspace'>Media Player Will Load Here</div>
<p>
  <script type='text/javascript'>var so = new SWFObject('mediaplayer5/player.swf','mpl','650','320','9');
so.addParam('allowfullscreen','false');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
//so.addVariable('file','mediaplayer5/playlist.xml');
so.addVariable('image','mediaplayer/preview.jpg');
so.addVariable('icons','true');
so.addVariable('playlistsize','200');
so.addVariable('playlist','left');
so.addVariable('volume','30');
so.addVariable('plugins','captions-1,audiodescription-1');
so.addVariable('autostart','true');
so.addVariable('playlist','left');
so.addParam('allowfullscreen','true');
so.addVariable('repeat','always');
so.addVariable('stretching','exactfit');
so.addVariable('backcolor','FFFFFF');
so.addVariable('frontcolor','000000');
so.addVariable('lightcolor','baac63');
so.addVariable('screencolor','000000');

so.addVariable('file','http://www.livestream.com/dographics');
so.addVariable('type','livestream');
so.addVariable('livestream.devkeye','ag_SFvWpgV1xXn_mU6Zatp8vYmPIfaKYDqOE5RTfuY_tI96MtmzAKChixQNsW8xKUnSec-MaFUL0kEdcVfmbN9W8ZxvIr4uUljEV_WIZmeXh8srMsqHbcdR4vXbnigp5');

so.write('mediaspace');</script>

I am implementing it here: http://www.dographics.com/richmondhill/videosX.html

Ok, I rplaced the player with version 4.6, but still no success. Here's my new code:

  <!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="650" height="320">
<param name="movie" value="player-viral.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=http://www.livestream.com/dographics&type=livestream&livestream.devkey =PbSPHevyZoi9v3ioFg5MuK5b3E5I2yIN949R3W3Qewb8K7GpEDUKWBtfDxwA7PRVPHBdlij4JT2jLHFQpR9CR6V56FALqNwghTzN44civUw&image=sample.jpg" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="player-viral.swf"
width="650"
height="320"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.livestream.com/dographics&livestream.devkey =PbSPHevyZoi9v3ioFg5MuK5b3E5I2yIN949R3W3Qewb8K7GpEDUKWBtfDxwA7PRVPHBdlij4JT2jLHFQpR9CR6V56FALqNwghTzN44civUw&autostart=true&type=livestream&image=sample.jpg"
/>
</object>

<!-- END OF THE PLAYER EMBEDDING -->

Here's the new URL: http://www.dographics.com/richmondhill/mediaplayer_4-6/videosLiveStream.html

Again, thanks for all your help.

Hmm, I just see a LiveStream Logo now, which means the plugin is loading fine. Is the stream live?

The stream is alive, and you can see my test directly from the livestream channel: http://www.livestream.com/dographics

for whatever reason it does not load on the player.... just the livestream logo. I'm sure I am close, something must be missing.

i dont know but i always set

file=name_channel

in this case

file=dographics

and not

file=http://www.livestream.com/dographics

works with me 4.6 player

Ditto, Thanks so much Gilbert. Now it works.

All help greatly appreciated to both of you, Gilbert and Ethan.

Now I just need to figure out how to add a playlist of videos, so when the page is not live there are other content available.

A Billion Thanks.
LongTail Rocks!

NP! :-)