Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayer 5.7 works perfectly with RED5 but Failed with JWPlayer 6


Hello everybody,

JWPlayer 5.7 works perfectly with RED5, but what I have to change in this setup to run with JWP 6?

<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
jwplayer('mediaspace').setup({
'autostart': 'true',
'flashplayer': 'player.swf',
'file': 'myfile.mp4',
'streamer': 'rtmp://123.456.78.123/oflaDemo','height':'95%','width':'100%','display.showmute':'true','showstop':'true','backcolor':'000000','frontcolor':'FFFFFF','image':'images/videobg.jpg','controlbar.position':'over','viral.onpause':'false','viral.allowmenu':'false','controlbar.margin':'0','viral.oncomplete':'false'});
</script>

Of course, to test it, I used the set (3 files) from JWP6.

The question looks simple, but I don't find any answer on the web.
thank you so much for your help.

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, there.

I’m honestly not too sure how it worked in JW Player 5, as I was not around then, but I know with JW 6 and JW 7, you need to put the entire path of the video, even for RTMP, in the file declaration.

For example:

jwplayer("myElement").setup({
	file: "rtmp://example.com/application/mp4:myVideo.mp4",
	image: "/assets/myVideo.jpg",
	height: 360,
	width: 640
});

Also, with JW 6, you cannot modify a skin from within the setup block, you need to do this in XML.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.