Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Adding video as a vrView scene #310

Open
mlg-apritykin opened this issue Mar 29, 2018 · 1 comment
Open

Adding video as a vrView scene #310

mlg-apritykin opened this issue Mar 29, 2018 · 1 comment

Comments

@mlg-apritykin
Copy link

I am able to have multiple scenes with images and hotspots to emulate a user walking around a specific area. I wanted to add one of the scenes as a 360 video, but when I set the video url to either a local video in the project or a file hosted publicly on S3 I get the following

Error
Renderer: either image or video url must be specified

For example for that scene I have the following

victorymoment: {
			video: 'myvideo.mp4',
			hotspots: {
			}

Also tried

victorymoment: {
			video: 'HTTP URL TO MY VIDEO',
			hotspots: {
			}
@parimaay
Copy link

You need to make sure of the video path, probably you are not setting it correctly.
If you are setting it like video: 'myvideo.mp4' you need to put myvideo.mp4 in the same level as you js file that is accessing it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants