Skip to content

Commit a48aadf

Browse files
authored
Merge pull request alvarotrigo#2412 from jagi/patch-1
alvarotrigo#2409 Add info about lack of autoplay feature on some devices
2 parents a2b3422 + d3e63b3 commit a48aadf

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
@@ -291,6 +291,8 @@ If you already use another lazy load solution which uses `data-src` as well, you
291291

292292
###Auto play/pause embedded media
293293

294+
**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).
295+
294296
#### Play on section/slide load:
295297
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.
296298
In order to play it on section/slide load use instead the attribute `data-autoplay`. For example:

0 commit comments

Comments
 (0)