JWPlayer 6: different sources for modes
Hi
In JWPlayer 5 it is possible to set different file sources for different modes, like:
bc.. jwplayer('FlashDiv').setup({
'file': '/files/360p-H.264-1000Kbps-25fps.mp4',
'controlbar': 'over',
'width': '500',
'height': '314',
'provider': 'http',
modes: [{
type: 'flash',
src: '/scripts/jwplayer/player.swf',
config: {
provider: 'http',
'levels': [{
bitrate: 1081,
file: "/files/360p-H.264-1000Kbps-25fps.mp4",
width: 640
}, {
bitrate: 2065,
file: "/files/480p-H.264-2500Kbps-25fps.mp4",
width: 860
}]
}
}, {
type: 'html5',
config: {
provider: 'video',
'levels': [{
bitrate: 1081,
file: "/ifiles/360p-H.264-1000Kbps-25fps.mp4",
width: 640
}, {
bitrate: 2065,
file: "/ifiles/480p-H.264-2500Kbps-25fps.mp4",
width: 860
}]
}
}]
});
But in JWPlayer 6 the modes configuration block is removed.
Is there any way to set different sources to 'flash' and 'html5' modes in JWPlayer 6?
It is needed because flash version need use 'mod_h264_streaming' module, but html5 doesn't work with it.