
JW Player 5.3 Flash Fallback
I'm noticing some really strange behavior with the JW Player. I have my player set to use HTML5 first and then to fallback to Flash.
bc.. jwplayer("player").setup({
file: "http://www.robbswebserver.com/videos/VideoGadget/Toy_Story_3.flv",
controlbar: "bottom",
volume: 0,
repeat: "always",
players: [
{ type: "html5" },
{ type: "flash", src: "http://risegadgets.googlecode.com/svn/trunk/Video/mediaplayer-5.3/player.swf" }
],
events: {
onReady: function(event) { onPlayerReady(event); },
onMeta: function(event) { onMetadataFound(event); },
onComplete: function(event) { doneEvent(); },
onError: function(error) { onPlayerError(error); }
}
});
The FLV file will NOT play. However, if I change it so that it tries to use the Flash player first with an HTML5 fallback, the FLV file plays without issue. But now the problem is that any videos that would normally be played by HTML5 (ogv for example), will not play.
It seems that the fallback mechanism does not work at all. Only videos that are playable by the FIRST player in the list will work.
Am I doing something wrong? Do I have the syntax correct or is this a bug in the player?
Thx.