test

var vidsrc=”http://140.82.4.9/live/wayzata.m3u8″; var video = document.getElementById(‘video’); if (Hls.isSupported()) { var hls = new Hls(); hls.loadSource(vidsrc); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED, function() {video.play();}); } else if (video.canPlayType(‘application/vnd.apple.mpegurl’)) { video.src = vidsrc; video.addEventListener(‘loadedmetadata’, function() {video.play();}); }

%d bloggers like this: