question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autoplay on mobile devices

See original GitHub issue

Expected Behavior

Videos autoplay on mobile devices.

Actual Behavior

Videos autoplay on desktop, but not on mobile.

Question

Is it possible to autoplay videos on android and IOS devices? I’m actually using these parameters src="https://player.vimeo.com/video/${vimeoId}?autoplay=1&loop=1&autopause=0&muted=1&background=1&playsinline=1`"and I also tried to trigger the play on load with the playerplayer.play()`. Thanks for your help!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
rebecca-sichcommented, Jun 5, 2018

It is also worth noting that Autoplay does not work on iPhones in power save mode or Androids in data save mode so that may be part of your problem.

3reactions
bendytreecommented, Nov 12, 2018

If anyone’s having trouble with autoplay within a WKWebView on iOS, then make sure you set allowsInlineMediaPlayback to true. It defaults to false.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html5 autoplay video in Mobile device - Stack Overflow
Muted autoplay for video is supported by Chrome for Android as of version 53. Playback will start automatically for a video element once...
Read more >
Limitations of Video Autoplay - Out of the Sandbox
Most mobile devices, including Apple iPhones, Apple iPads and many Android and Microsoft devices do not support the video autoplay feature so your...
Read more >
HTML5 Video autoplay now working on mobile? - Custom code
Hi, I've been looking into how to implement HTML5 videos as a background video on mobile. Previously I thought it was impossible due...
Read more >
Autoplay videos - YouTube Help - Google Support
You can have different Autoplay settings for different devices. For example, you can set Autoplay to be "On" in the YouTube app on...
Read more >
Autoplay video on mobile devices - Pagecloud Answers
In Mobile edit mode, select the video you'd like to autoplay. · Head to the video tab in the Editing Menu. · Select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found