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

JWplayer 6 setup with support HTML5

my old code(jwplayer5):
<script src="/jwplayer.js"></script>
<video src="sample.mp4" controls id="myAlternativeContent" poster="sample.jpg" width="650" height="520"></video>
flashplayer: "/player.swf",
bufferlength: "1",
provider: "http"

Please tell me, how to incorporate similarly JWPlayer6 ?

2 Community Answers


0 rated :

JW6 is very different. Put jwplayer.js, jwplayer.html5.js, and jwplayer.flash.swf in the same directory, but load only jwplayer.js. DO NOT USE A <video> TAG, There is no "bufferlength" or "provider" tag.

Here's a simple demo page - see the drop-down menus at the top:

Here's the configuration guide:

Cooper Reid

JW Player Support Agent  
0 rated :


A basic mp4 embed would like like this with jw6:

<div id="myElement">Loading the player…</div> <script type="text/javascript"> jwplayer("myElement").setup({ file: "sample.mp4", image: "myPoster.jpg", width: 640, height: 360 }); </script>

Best Regards,

This question has received the maximum number of answers.