How do I make this script show a video in HTML5 instead of in Flash Player? My script looks like this:
In this script it injects the video link into the flash player, I would like to replace that with an HTML5 of type <video class="" width="100%" controls preload="auto" autoplay poster="" src=" "></video>
<script type="text/javascript">
// Which flash versions are needed for given format
var FLASH_VERSIONS = {
'7/0/0': [5],
'9/0/115': [18, 22, 33, 34, 35, 37, 38, 59, 78, 82, 83, 84, 85, 120, 121],
}
var ts = Math.round((new Date()).getTime() / 1000);
</script>