fregante / iphone-inline-video

📱 Make videos playable inline on the iPhone (prevents automatic fullscreen)
https://npm.im/iphone-inline-video
MIT License
2.05k stars 300 forks source link

[iOS] Autoplay doesn't work with css prop display:none #131

Closed rikard-io closed 7 years ago

rikard-io commented 7 years ago

Just a heads up for the demo. Seems like the autoplay doesn't work in demo/threejs.html when hiding the video with display:none. Just gives a black page.

Quick workaround is changing the css to opacity:0;position:fixed;

iOS version 11.0 (beta) and 10.3.2

fregante commented 7 years ago

Thanks for the issue, I think this is a iOS regression bug. Can you report it to WebKit?