![](https://secure.gravatar.com/avatar/035ef1e23c6a71df4bf021322b13af59?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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>