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

JW Player suddenly doesn't autostart just on Chrome


We are using JW Player 6.12.4956 and our RTMP streams were working perfectly with JWPlayer JavaScript API with the autostart field set to true when we invoke the setup() api.

However, all of a sudden the videos now don't autoplay just on Chrome. I have tried Firefox and Opera and the videos autostart.

On all browsers I've noticed new console errors coming from jwplayer. The video still plays however automatically on Firefox and Opera but on Chrome I have to click to play.

Here is the console error:

POST http://172.16.3.185hlslive/fcs/ident2 net::ERR_NAME_NOT_RESOLVED
172.16.3.185hlslive/open/1:1
POST http://172.16.3.185hlslive/open/1 net::ERR_NAME_NOT_RESOLVED

You can see that the url seems to be missing a slash - I am not setting that URL directly.

7 Community Answers

kl

User  
0 rated :

I am using this version of Chrome on Ubuntu Linux:
Version 45.0.2454.85 (64-bit)

kl

User  
0 rated :

I downloaded Chome beta for linux and everything autostarts perfectly.

So I wonder if there is something preventing the default chrome from autoplaying. I cleaned up the cache/history and I still have the same problem with the default chrome browser.

I may try to do a full removal and reinstall.

Todd

JW Player Support Agent  
2 rated :

How large are the dimensions on your video? The new version of Chrome will not autostart any content that requires Flash if the dimensions are smaller than 400×300.

kl

User  
1 rated :

Ok, yes my dimensions are smaller - thank you.

danraf77

User  
0 rated :

but, i need that my player, 370 x 280 in Chrome, what do i do?

kl

User  
1 rated :

What you can do is first make the player bigger but with visibility:hidden.

Then after the onPlay event, resize it smaller and make it visible.

This worked well for us.

sonoquilibrium

User  
0 rated :

I can not see any player on my pages in Chrome. But just for last some days. Chrome is updated, but I can not see the players on all the pages.

It would help if the settings of the player would be reduced to lower resolution?

What do you think?

Thanks, Matej

This question has received the maximum number of answers.