Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio / video autoplay attribute and play function #2599

Open
cakeant opened this issue Jun 23, 2016 · 6 comments
Open

audio / video autoplay attribute and play function #2599

cakeant opened this issue Jun 23, 2016 · 6 comments

Comments

@cakeant
Copy link

cakeant commented Jun 23, 2016

some mobile browser like safari doesn't support autoplay attribute nor play function.
Audio/ video will be played only by user click / touch event.
It will be great to have a full support list for all browser.

"In Safari on iOS (for all devices, including iPad), where the user may be on a cellular network and be charged per data unit, preload and autoplay are disabled. No data is loaded until the user initiates it."

Please reference to Apple developer page for Safari:
Safari HTML5 Audio and Video Guide
https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html

@knod
Copy link

knod commented Aug 9, 2016

Also, the MDN says that some versions of Chrome don't use autoplay, but instead use autostart.

@Fyrd
Copy link
Owner

Fyrd commented Feb 2, 2017

#3140 has more data on this

@Schweinepriester
Copy link
Contributor

+1

@cakeant
Copy link
Author

cakeant commented Apr 17, 2019

Hi, this seems to have been solved in #3140.
螢幕快照 2019-04-17 11 32 27
I think this issue can be closed now, so much appreciated.

@knod
Copy link

knod commented Apr 17, 2019

Has the autoplay vs. autostart issue been addressed? Is it no longer true?

@GPHemsley
Copy link

In addition to being subsumed into the caniuse data on the audio and video elements:
https://caniuse.com/audio
https://caniuse.com/video

Looks like this is now covered by MDN data:
https://caniuse.com/mdn-html_elements_audio_autoplay
https://caniuse.com/mdn-html_elements_video_autoplay
https://caniuse.com/mdn-api_htmlmediaelement_autoplay

(via mdn/browser-compat-data#388)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants