As title ,JW Player can play stream in html5 mode in chrome?
player = jwplayer("silverlightControlHost").setup({
//autostart:true,
//androidhls:true,
width:'100%',
height:'100%',
primary:'html5',
hlshtml: true,
stretching:'uniform',
playlist: [
{
sources:[
{
"file": "http://xxx.xxx.xxx.xxx:1935/live/xxxxx.stream/playlist.m3u8",
"label": "0",
"type": "hls",
"preload": "none"
}
]
even i try i change file to .smil still not work, is the code have problem?
↧