As of iOS10 Apple now supports playing videos inline on a web page, instead of opening the full screen native player.
See https://webkit.org/blog/6784/new-video-policies-for-ios/
YouTube supports it https://developers.google.com/youtube/player_parameters#playsinline
So I created a patch that allows the addition of the playsinline video tag property.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | video-tag-playsinline-2886638-2.patch | 3.22 KB | todd zebert |
Comments
Comment #2
todd zebert commentedpatch attached
Comment #3
guschilds commentedComment #4
goldI don't have a device to test this on but from the description of how this is meant to be triggered everything is in place.
From a code perspective this is RTBC.
Comment #5
imyaro commentedComment #8
imyaro commentedThanks, works good.
https://www.drupal.org/u/mikhailkrainiuk helped to test it.