Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JW Player can play stream in html5 mode in chrome?


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?

1 Community Answers

Donni

JW Player Support Agent  
0 rated :

Yes. primary:'html5', and hlshtml: true, are the default config settings so they aren’t necessary. However, it should still work. I need some more details about the behavior you are experiencing. You can either share a test page here or since you are a Premium Subscription holder you can click on the SUBMIT A CASE button in the j"JW Dashboard()":https://account.jwplayer.com/#/home and send me a test page via e-mail.

This question has received the maximum number of answers.