jwplayer 播放hls视频

引入


(在5V3tOP97EeK2SxIxOUCPzg.js文件里动态的引入了
jwplayer.html5.js和jwplayer.js)


var theplayer;

function funvideo()
{
theplayer = jwplayer("container").setup({
file : “XXX.m3u8",
image : "player.jpg",
title : "Sintel on HLS",
width : 500,
height : 300
});
}

window.οnlοad= funvideo;



你可能感兴趣的:(web前端)