Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Broadcasting streaming media > Re-broadcasting streaming media
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-20-2010, 06:39 PM
Ryanne Ryanne is offline
Junior Member
 
Join Date: Mar 2010
Posts: 4
Ryanne is on a distinguished road
Default

Overview page with multiple live streams using JW Flash Player


I'll excuse myself in advance: I'm a complete nitwit in this stuff.

I'm want to make an overview page on my website with all the live streams from "http://www.beleefdelente.nl" (not my website).
For this I want to use JW Player.

I don't even know if this is possible, but I can't get the stream URL right. I tried URL Snooper, CooJah + Blader (I keep getting some kind of Chinese version), but I can't figure the URL out.

From the JW Player setup wizard (note: the file and rtmp stream are examples by JW):
Code:
<script type='text/javascript' src='swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
  var so = new SWFObject('player.swf','ply','470','290','9','#ffffff');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','example.flv');
  so.addVariable('streamer','rtmp://example.stream.nl');
  so.write('mediaspace');
</script>
From one of the pages with the live streams. What should I extract from this code and fill in in the code above?
Code:
<script type="text/javascript"> 
  function showPlayer(typeValue,type)
  {
   var so = new SWFObject("http://www.uvid.nl/players/uvid_player.swf?v=bdl", "uvid_player.swf?version=2.0_345", "100%", "100%", "10", "#ffffff");
    so.addParam("wmode", "window");
    so.addParam("bgcolor", "#ffffff");
    so.addParam("allowscriptaccess", "always");
    so.addParam("allowfullscreen", "true");
    so.addVariable("type", ""+type+"");
    so.addVariable("sliderBgColor", "cccccc");
    so.addVariable("fontColor", "ffffff");
    so.addVariable("playerId", "1");
    so.addVariable("format", "");
    so.addVariable("typeValue", ""+typeValue+"");
    so.addVariable("environment","production");
    so.addVariable("settingId", "1");
    so.addVariable("backgroundColor", "809838");
    so.addVariable("debug", "0");
    so.addVariable("autoPlay", "1");
    so.addVariable("highlightColor", "ffffff");
    so.addVariable("website", "www.beleefdelente.nl");
    so.useExpressInstall('http://www.uvid.nl/players/expressinstall.swf')
    so.write("theplayer");
  }
 
  document.observe("dom:loaded", function() {
  try {
      transid= parseInt(location.hash.substring(1));
      if(!isNaN(transid))
      {
        showPlayer(transid,'transactionId');
      }
      else
      {
         
            showPlayer('bdl_steenuil_binnen','liveStream');
         
      }
    } catch (exception) {
 
    }
});
</script>
Is there anyone that can tell me if what I want is possible and if so, what the right code for the JW player is?
If I could get one stream right, I guess I can figure out the rest.
Thanx in advance!!!!

Last edited by Ryanne : 03-21-2010 at 04:15 AM. Reason: file and stream in first code alterd to example
Reply With Quote
  #2  
Old 03-21-2010, 01:57 AM
Stream Recorder
 
Posts: n/a
Default

Re: Overview page with multiple live streams using JW Flash Player


Quote:
Originally Posted by Ryanne View Post
From the JW Player setup wizard:
Code:
<script type='text/javascript' src='swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
  var so = new SWFObject('player.swf','ply','470','290','9','#ffffff');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','bunny.flv');
  so.addVariable('streamer','rtmp://edge01.fms.dutchview.nl/botr');
  so.write('mediaspace');
</script>
file and streamer are the only variables that are needed to show RTMP stream with JW Player. You already have them, so you don't need to use any URL Finders.

JW Player is a commercial product. It has enough documentation on its web-site.

Read the following guide for more "Streaming Video with the JW Player".
Reply With Quote
  #3  
Old 03-21-2010, 04:13 AM
Ryanne Ryanne is offline
Junior Member
 
Join Date: Mar 2010
Posts: 4
Ryanne is on a distinguished road
Default

Re: Overview page with multiple live streams using JW Flash Player


Thnx for your reply.

The file and streamer in the first code however, are examples provided by JW Player. I'll change it in the starting post.
I need the file and streamer from the second code.

Does showPlayer(typeValue,type) and showPlayer('bdl_boomklever_binnen','liveStream') have anything to do with the filename?

Last edited by Ryanne : 03-21-2010 at 05:54 AM.
Reply With Quote
  #4  
Old 03-21-2010, 08:58 AM
Stream Recorder
 
Posts: n/a
Default

Re: Overview page with multiple live streams using JW Flash Player


Sorry, I overlooked you description.

If you have linux, try to find the URL and its parameters with rtmpsuck.

If you have Windows only, then try to find an english version of CooJah.
Did you download it from
"http://www.hensence.com/en/coojah/download.htm" ?

And you can try to find stream URLs with Orbit Grab++ or NetTransport.

You can also try to use demo versions of Replay Media Catcher, Jaksta to see what kind of protocol is used for streaming. Note that the latter two programs do not reveal RTMP stream URLs, but at least they will show you HTTP URLs and allow you see whether RTMP protocol is used.
Reply With Quote
  #5  
Old 03-21-2010, 02:44 PM
Ryanne Ryanne is offline
Junior Member
 
Join Date: Mar 2010
Posts: 4
Ryanne is on a distinguished road
Default

Re: Overview page with multiple live streams using JW Flash Player


Thanks again.
I'm on Win XP. Coojah (yes, from that site) keeps giving me some kind of Chinese/Japanes version. I tried it on 2 computers now.

But Orbit gave me this:
Code:
rtmp://streams.uvid.nl:80/streams_uvid|streams_uvid|bdl_kerkuil_binnen|http://www.uvid.nl/players/uvid_player.swf?v=bdl|http://www.beleefdelente.nl/kerkuil&OBT_fname=bdl_kerkuil_binnen.flv
I've tried several combinations, but still I don't know, what to fill in where.

This is one I tried:
Code:
<script type='text/javascript' src='swfobject.js'></script>

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'>
  var so = new SWFObject('player.swf','ply','470','290','9','#ffffff');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','bdl_kerkuil_binnen.flv');
  so.addVariable('streamer','rtmp://streams.uvid.nl:80/streams_uvid');
  so.write('mediaspace');
</script>
That gives no error, but the stream won't load. I guess I should do something with the other information Orbit gave me, but I still don't
know what to do.

I hope I'm just a little push away form the solution. I bet you can give me that push. And yes, you may think "you noob, why idn't you think of that yourself"
Reply With Quote
  #6  
Old 03-21-2010, 03:06 PM
Stream Recorder
 
Posts: n/a
Default

Re: Overview page with multiple live streams using JW Flash Player


I'm myself not very good at RTMP parameters. RTMP is very different from what was used in other streaming protocols. I mostly use GUI programs that don't require to learn more about it.

Try to use NetTransport.

Or try to download the stream found with Grab++ using Orbit Downloader. May be it will show the URL that you need.

The easiest way seems to be to use rtmpsuck. But I don't really know how to make it work on Windows. If you install Linux, you shouldn't have any problems with it.
Reply With Quote
  #7  
Old 03-21-2010, 03:34 PM
Ryanne Ryanne is offline
Junior Member
 
Join Date: Mar 2010
Posts: 4
Ryanne is on a distinguished road
Default

Re: Overview page with multiple live streams using JW Flash Player


Grab++ and Orbit gave me the info I mentioned:
Code:
rtmp://streams.uvid.nl:80/streams_uvid|streams_uvid|bdl_kerkuil_binnen|http://www.uvid.nl/players/uvid_player.swf?v=bdl|http://www.beleefdelente.nl/kerkuil&OBT_fname=bdl_kerkuil_binnen.flv
NetTransport about the same:
Code:
rtmp://streams.uvid.nl:80/streams_uvid<break>bdl_kerkuil_binnen.flv	http://www.beleefdelente.nl/kerkuil	http://www.uvid.nl/players/uvid_player.swf?v=bdl
Could it be it's just protected and can it only be played from the original site?
Well, thanks for helping me. Maybe someone else will give me the finale clue. But if you get a 'bright idea, I'd love to hear it of course.
Meanwhile, I'll just keep trying.
Reply With Quote
  #8  
Old 03-21-2010, 03:50 PM
Stream Recorder
 
Posts: n/a
Default

Re: Overview page with multiple live streams using JW Flash Player


Try to read more about RTMP(E) streams in the rtmpdump forum. It may give you better understanding
http://stream-recorder.com/forum/rtmpdump-f54.html

Since the URL seems to be correct, I would recommend to ask the question in the JW Player forum as well.
May be you just need to add the type variable:
Code:
so.addVariable('type', 'video');
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:57 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons