
Flash mode is not support in IE8?
I would like to ask if JWPlayer supports IE8?
My JWPlayer was set to primary use HTML5 player. But since IE8 do not support HTML5, it should auto switch to flash mode and continue the playing. Here is my code.
jwplayer("flashplayer").setup({
width: '624px',
height: '351px',
autostart: "true",
primary: "html5",
playlist: [{
'sources': [
/* Original Code */
/* url: '{/literal}{$mainvideo.code}{literal}', */
/* Modified Code */
some MP4 file URL
]
}],
events: [{
onError: function(event) {
alert('error');
}
}],
modes: [
{type:"html5"},
{type:"flash",src:"http://10.22.30.178:8001/js/jwplayer.flash.swf"}
]
});
But actually it failed. Some JS error occurred and the player do not display. How to fix the issue?
btw, is there any full programming reference of JWPlayer? I would like to search the usage of modes but find nothing...