Closed capnmidnight closed 7 years ago
Maybe this should be mentioned in the README, then?
In the v2 beta I simplified the usage on iPad. Can you try it and let me know how it goes?
npm install iphone-inline-video@next
v2.0.0 has been published :)
Now you can use the everywhere
option, together with the muted
attribute:
/// <video muted src="...">
enableInlineVideo(video, {
everywhere: /iPhone|iPad|iPod/i.test(navigator.userAgent)
});
As the README points out, iOS 10 enabled most of the features of this project. However, it still doesn't support playing multiple, silent videos simultaneously. When iOS 10 devices get whitelisted to disable iphone-inline-video, we lose this functionality.