Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Overview page with multiple live streams using JW Flash PlayerI'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> 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> 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 |
#2
|
|||
|
|||
Re: Overview page with multiple live streams using JW Flash PlayerQuote:
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". |
#3
|
|||
|
|||
Re: Overview page with multiple live streams using JW Flash PlayerThnx 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. |
#4
|
|||
|
|||
Re: Overview page with multiple live streams using JW Flash PlayerSorry, 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. |
#5
|
|||
|
|||
Re: Overview page with multiple live streams using JW Flash PlayerThanks 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 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> 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" |
#6
|
|||
|
|||
Re: Overview page with multiple live streams using JW Flash PlayerI'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. |
#7
|
|||
|
|||
Re: Overview page with multiple live streams using JW Flash PlayerGrab++ 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 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 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. |
#8
|
|||
|
|||
Re: Overview page with multiple live streams using JW Flash PlayerTry 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'); |
Tags: jw player, jwplayer, live streams flash |
Thread Tools | |
Display Modes | |
|
|