Skip to content

Commit d3e63b3

Browse files
alvarotrigo#2409 Add info about lack of autoplay feature on some devices
1 parent 7f995d7 commit d3e63b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ If you already use another lazy load solution which uses `data-src` as well, you
284284

285285
###Auto play/pause embedded media
286286

287+
**Note**: the autoplay feature might not work on some mobile devices depending on the OS and browser (i.e. [Safari on iOS](https://webkit.org/blog/6784/new-video-policies-for-ios/) version < 10.0).
288+
287289
#### Play on section/slide load:
288290
Using the attribute `autoplay` for videos or audio, or the param `autoplay=1` for youtube iframes will result in the media element playing on page load.
289291
In order to play it on section/slide load use instead the attribute `data-autoplay`. For example:

0 commit comments

Comments
 (0)