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

JW Player 6 - HTML5 Mode primary - switch between three different resolutions while providing two different formats

Hello again, I successfully integrated JWPlayer into our website with the following code now (except a little Problem with Safari).

But now I have one more problem: I want to do the following.

- Use HTML5 mode primarily, while using Flash and Download as fallback options
- Provide all videos in two different formats (.mp4 and .webm as fallback)
- Provide three different resolutions for each video: 320p, 540p, 720p

As I found out, the resolution switch is available in JW Player 6? I think the HD-Plugin is not sufficient for this purpose, as I can only offer two different resolutions. Furthermore I would like to have a switch in the player bar, not the HD Button, where I can set the resolutions, like here:

Now I was searching around some time in the API but I did not really find out how to integrate this properly (especially with HTML5 as primary mode).

Is it possible to do what I want? How would I integrate it into the following embed code for the player? Will also need the feature for playlists.

<script type='text/javascript'>
autostart: true,
flashplayer: 'http://www.***.tv/beta/wp-content/plugins/jwplayer-custom/jwplayer.flash.swf',
width: 980,
height: 551,
image: '', // The thumbnail
title: 'Alpha: Development JW Player Video Test 1',
levels: [ {file: 'http://www.*****.tv/beta/wp-content/uploads/2013/02/daniela1.mp4', type: 'video/mp4' } ,{file: 'http://www.*****.tv/beta/wp-content/uploads/2013/03/daniela.webmsd.webm', type: 'video/webm' } ] }); </script>

1 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

For JW6, you would use something like this –

This question has received the maximum number of answers.