Elius94 / react-photo-sphere-viewer

Photosphere Viewer for React.JS
MIT License
69 stars 21 forks source link

[Support]: Using Equirectangular Video #33

Closed bighamj closed 1 year ago

bighamj commented 1 year ago

What are you trying to do?

Trying to use this with an Equirectangular video. I had issues with PhotoSphereViewer directly, so I found this package.

Am I missing something for using it? Adding src to the component keep resulting in "Invalid panorama configuration, are you using the right adapter?"

Code

<ReactPhotoSphereViewer
  height="500px"
  width="100%"
  plugins={[[VideoPlugin]]}
  adapter={[EquirectangularVideoAdapter]}
  panorama={{
  source:
                    "my mp4 video url set by state",
  }}
  keyboardActions={true}
  keyboard={true}
></ReactPhotoSphereViewer>

Sandbox Link

No response

Library Version

^3.3.5-psv5.1.4

What operating system are you using?

macOS

What browser are you using?

Chrome

Logs

No response

Elius94 commented 1 year ago

Hi! please make me a sandbox :)

tmj1220 commented 8 months ago

How to fix this problem