appleple / react-modal-video

Accessible React Modal Video Component
https://appleple.github.io/react-modal-video/
MIT License
177 stars 86 forks source link

Device Orientation warning #15

Open Timothy-Tolley opened 6 years ago

Timothy-Tolley commented 6 years ago

Hi there,

I am using the React-Modal-Video package to play a vimeo video. Everything works great but I am getting a warning from chrome - 'The deviceorientation events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/gh-pages/features.md#sensor-features' -- at 'VM4884 player.js:2'. Is there a way of stopping this warning?

I have tried setting portrait to false - as this was the only parameter I could see that related to orientation but no luck.

Cheers

yuricamara commented 5 years ago

Maybe it is a javascript issue. I am facing this with Ionic 4.