fregante / iphone-inline-video

📱 Make videos playable inline on the iPhone (prevents automatic fullscreen)

Home Page:https://npm.im/iphone-inline-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

video.pause is not a function. in Chrome device Mode with iPhone simulations only. (React)

ray-su opened this issue · comments

I'm using it with React. It works perfectly on iPhone and other devices.
However, while I'm testing my site using Chrome's device mode with iphone simulations, I get this error Uncaught TypeError: video.pause is not a function at enableInlineVideo (iphone-inline-video.es-modules.js:341)

I'm on Chrome Version 69.0.3497.100

Read the comment in the console. Chrome emulation is not supported.