I used this solution to use an html5 video as the background of my site.
However, it doesn\'t seem to work on iPad/iphone, all I am getting is a black screen, and the vi
Since iOS10 there is a solution, see here: https://webkit.org/blog/6784/new-video-policies-for-ios/
On iPhone, <video playsinline
> elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.
<video
> elements without playsinline attributes will continue to require fullscreen mode for playback on iPhone.
When exiting fullscreen with a pinch gesture, <video
> elements without playsinline will continue to play inline.
The only way to autoplay videos on mobile devices is to ditch the html video tag.
I see three options, assuming you don't need audio:
I went for the last solution and it works fine.