JW6 Flash fallback, is this method correct? Would it work in IE8?
I've put together some code that seems to be working.
Specifically I want to know if my method is correct and if it would work with IE8.
I'm working in a private local linux environment so I can't post a working example.
Code:
<script type="text/javascript">
jwplayer("myElement").setup
({
height: <?php echo $this->height; ?>,
width:<?php echo $this->width; ?>,
flashplayer: "<?php echo ($this->assetsUrl.'/jwplayer.flash.swf');?>",
sources:
[{
file: "http://****/videos/mp4SD/".$videoID ."sd.mp4",
},{
file: "http://****/videos/mp4HD/".$videoID ."hd.mp4",
},{
file: "http://****/videos/webmSD/".$videoID ."sd.webm",
},{
file: "http://****/videos/webmHD/".$videoID ."hd.webm",
},{
file: "http://****/videos/flv/".$videoID .".flv"
}]
});
</script>