Can I avoid the native fullscreen video player with HTML5 on iPhone or android?

The Solution to Can I avoid the native fullscreen video player with HTML5 on iPhone or android? is


In iOS 10+

Apple enabled the attribute playsinline in all browsers on iOS 10, so this works seamlessly:

<video src="file.mp4" playsinline>

In iOS 8 and iOS 9

Short answer: use iphone-inline-video, it enables inline playback and syncs the audio.

Long answer: You can work around this issue by simulating the playback by skimming the video instead of actually .play()'ing it.

~ Answered on 2016-04-01 05:45:52


Most Viewed Questions: