videojs / videojs-vr

A plugin to add 360 and VR video support to video.js.
https://videojs-vr.netlify.com/
MIT License
537 stars 143 forks source link

It is not work on mobile #235

Open wdShuo opened 3 years ago

wdShuo commented 3 years ago

like this this.player.vr({projection: '360'}); . it work on desktop but not work on mobile. when on the desktop

QQ20210303-212401@2x

when on the mobile

WechatIMG24

why is not ball on the mobile. my english is poor,I hope you understand.

singerxt commented 3 years ago

You need to put inline attribute to your video player. You need also to add crossorigin attribute to make it work in iOS

<video src="..." playsinline crossorigin="anonymous"></video>