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

Can not start video with jwplayer('embedVideo').play(); in mobile browsers


I am loading youtube video in JWPlayer on android/ios browsers but autostart is not working on that. After that I tried calling jwplayer('embedVideo').play(); from javascript but its also not starting video. Can you help me with that, what I want is to start video from javascript automatically for mobile browsers.

2 Community Answers

mathew.a.corley

User  
0 rated :

"Mobile browsers never pre-fetch video data, regardless of the preload setting."
http://www.jwplayer.com/html5/autoloop/
That also pertains to programmatically playing video as well. The user must initiate playback (ie. click, touch, etc.)

Randy

JW Player Support Agent  
0 rated :

Hello,

Thats correct. The mobile creators partly chose this approach to empower the user with the ability to control usage and limit unwanted use of bandwidth.

Randy

This question has received the maximum number of answers.