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

Three.js demo not playing #119

Closed nikolaigeorgie closed 7 years ago

nikolaigeorgie commented 7 years ago

It previously was working. this demo (for example) does not load the video automatically.

http://bfred-it.github.io/iphone-inline-video/demo/threejs.html

perhaps apple wants the user to have some interaction if so. would there be a way to play the video without activating the AVVideoController that takes the full screen?

although this demo works http://bfred-it.github.io/iphone-inline-video/demo/

it doesn't support webgl.

fregante commented 7 years ago

It might have been because of non-HTTPS urls appearing in my demo. I removed them and it works.

The interaction requirement is cancelled by IIV when there is no audio.

This is a screencast on Browserstack on a real iOS 9 device. My internet connection is so slow so it's short and stuttery, but it works without interaction.

gif