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 297 forks source link

add iPad #44

Closed zcherries closed 8 years ago

zcherries commented 8 years ago

It would be nice if it detected iPad as well.

fregante commented 8 years ago

https://github.com/bfred-it/iphone-inline-video/pull/22

fregante commented 7 years ago

In the v2 beta I simplified the usage on iPad. Can you try it and let me know how it goes?

fregante commented 7 years ago

v2.0.0 has been published :)

Now you can use the iPad option:

enableInlineVideo(video, {
    iPad: true
});