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

Flash and HTML5 fallback


I don't know html code very well but I found and modified the below code (see URL source for code).

http://users.wfu.edu/sharpkg/realtest/quad_cam/quadcam_jwplayer_html5.html

Flash works but I get a 'no playable sources found' on my mobile devices. I do know that if I place my m3ugen url between video tags as a simple HTML5 stream, the stream works. Any help would be appreciated.

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

I see that you are using jw5 code here, but using jw6.

http://www.longtailvideo.com/support/jw-player/28834/migrating-from-jw5-to-jw6

You need to set up the player like this – http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback

1st source is rtmp, 2nd source is hls

how to use rtmp in jw6 – http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming

JW Player

User  
0 rated :

Ethan. Thank you, Thank you,

What you gave, was exactly what I needed.

http://users.wfu.edu/sharpkg/realtest/quad_cam/quadcam_jwplayer_html5.html

For others here is what worked for me.

I am using the following equipment:
* 2 Windows 2008 server. Both are ESX VMs
1 server runs Helix Producer Pro ver 14
1 server runs Helix Mobile Server ver 14
* 1 Panasonic WV-SW395 security camera
* 1 Linux server to host my web site and JWPlayer 6

The way it works:
* Camera streams live video in an H.264 format.
* I basicly used the cameras defaults for the stream
* But I used some security features to lock down the camera
* Helix Producer Pro captures that video
* resends it to the Helix Mobile Server in an mp4 format
* Helix Producer Pro is a commercial version of a product
like VLC an open source product
* The Helix Mobile Server streams the video to my web site in a format
that JWPlayer understands.
* Helix Mobile Server is a commercial version of a product
like Wowza another commercial product

Here is the code for my web site;

<html>
<head><title>Give you browser tab a title</title></head>

<body bgcolor="#000000" text="#0FCCFF" link="#0FCCFF" vlink="#0FCCFF" alink="#0FCCFF" topmargin="200" leftmargin="0">
<center>

<script type="text/javascript" src="http://address to your jwplayer.js"></script>

<div id="mediaplayer"></div>

<script type="text/javascript">
jwplayer("mediaplayer").setup({
playlist: [{
image: "http://address to your image jpg",
title: "your play button title",

sources: [{
file: "rtmp://your Helix Mobile Server/rtmplive/broadcast/video.mp4"
},{
file: "http://your Helix Mobile server/m3ugen/broadcast/video.mp4"
}]
}],
primary: "flash",
width: 320,
height: 240,
autostart: false,
controls: true
});
</script>

</center>
</body>
</html>

Ethan Feldman

JW Player Support Agent  
0 rated :

Np~!

Nice, thanks for sharing what worked for you! :)

This question has received the maximum number of answers.