videojs / videojs-vr

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

chore: Swap webvr to webxr polyfill packages #273

Open kevleyski opened 1 year ago

kevleyski commented 1 year ago

Description

Fixes #216 (WebXR support)

Specific Changes proposed

For devices that support WebXR use that Add iOS device orientation permission check on entering 360 (note ESLint workaround as this is iOS Safari specfic) Fall back to original WebVR polyfill if navigator.xr not available after initialising WebXR polyfill

Requirements Checklist

kevleyski commented 1 year ago

Had planned to add thinks like thumb stick controls scrubbing rate maybe and throw a TV not your AR wall - but then those can be a separate issue items

This is more a quick fix to get the player playing immersive VR

kevleyski commented 1 year ago

Not entirely sure where package-lock.json came from (anyhow my local merge was ok without conflicts)

mister-ben commented 7 months ago

It's a shame this stalled, would be great to get all this work in. Is it just package-lock that needs to be fixed up?

mister-ben commented 7 months ago

I've a branch here with these changes merged onto main, https://github.com/mister-ben/videojs-vr/tree/from-metacdn