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

JWPlayer 6.9, Wowza 4, HLS, Streaming not working without flash


I have 4 videos

1. Sample_720p.mp4
2. Sample_1080p.mp4
3. Sample_420p.mp4
4. Sample_360p.mp4

I am using jwplayer v6.9 & Wowza Streaming Engine 4

Now , My requirement is to play video based on internet speed

If flash player is enable i am able to play video based on internet speed , through smil file.

But , If when my flash is disabled at that time videos are not playing.

So Below are my question:

1. Do i need to create same smil file to achive adaptive bitrate for html5?
2. Do i need to upgrade my jwplayer 6.9 to jwplayer 7 or higher?
3. If i upgrade my jwplayer then does the same code will work which is working when flash is enabled?
4. Is there any way to play video without using smil file when i want adaptive bitrate?
5. How will Jwplayer adapt video based on internet speed?

Please see below code , this is working when flash is enabled , but not when flash is disabled.

jwplayer("mediaspace${vtime}").setup({ height: 370, width: '100%',volume: 100, image: "${imageFile}",skin: "${pageContext.request.contextPath}/js/video/six.xml",
"flashplayer": "js/video/jwplayer-6.9/jwplayer.flash.swf",
sources: [{
file: "https://192.168.7.10:1935/vod/smil:bigbuckbunny.smil/jwplayer.smil"
}, {
file: "https://192.168.7.10:1935/vod/smil:bigbuckbunny.smil/manifest.mpd"
}] ,
});

<?xml version="1.0" encoding="UTF-8"?>
<smil title="Test SML for VOD">
<body>
<switch>
<video height="240" src="Sample_720p.mp4" systemLanguage="eng" width="424">
<param name="videoBitrate" value="450000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="360" src="Sample_1080p.mp4" systemLanguage="eng" width="640">
<param name="videoBitrate" value="750000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="720" src="Sample_420p.mp4" systemLanguage="eng" width="1272">
<param name="videoBitrate" value="1100000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="900" src="Sample_360p.mp4" systemLanguage="eng" width="1590">
<param name="videoBitrate" value="1500000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
</switch>
</body>
</smil>

4 Community Answers

Randy

JW Player Support Agent  
1 rated :

Hello,

I have sent you a reply via the support email chain.

Kindly,

Randy

j...

User  
0 rated :

Hello ,

Thanks for reply.

I read your mail , It was detailed explanation..!!

But could you please provide a sample code which fulfill my requirement and also a necessary steps to play video with adaptive bitrate in both environment without flash and with flash.?

Kindly,
Jagir

j...

User  
0 rated :

Hi ,

I also want to know that does m3u8 format will works for all the browser? when flash is disabled?

Thanks.

Randy

JW Player Support Agent  
0 rated :

Hello Jagir,

In our latest player (7.4+) we do support playback of HLS/M3U8 in HTML5 if you use the following parameters:

hlshtml: true,
primary: ‘html5’

Give that a try and please let me know if that works for you.

Randy

This question has received the maximum number of answers.