googlearchive / vrview

Library for embedding immersive media into traditional websites.
http://developers.google.com/cardboard/vrview
Apache License 2.0
1.71k stars 1.09k forks source link

Video Load issues only for Cloudfront videos #211

Open Vijayalakashmi opened 7 years ago

Vijayalakashmi commented 7 years ago

I can play s3 videos with no issues . but when i try to play cloudfront videos it just throws error. In promise video load error

tommytee commented 7 years ago

Can you give us more details? What exactly are the error messages?

Can you share the video urls? If not can you put the sample videos (from this repo) on cloudfront and s3 and share the urls so we can test?

Are they 3D videos? What devices have you tested on so far and are the results the same on all devices an OS's?

Vijayalakashmi commented 7 years ago

Im playing it on my desktop, i require it for my website. im trying to play the sample gorilla video . the error it displays as:

Error render: Video load error: [object event] world-renderer.js:191 Uncaught (in promise) Video load error

tommytee commented 7 years ago

Is the video being hosted on the same server as the api in both situations? Have you uploaded the whole repo to both s3 and cloudfront?

Are the two setups identical but simply hosted in different places?

Vijayalakashmi commented 7 years ago

i have hosted the video and files in s3 bucket and its working . i created a cloudfront distribution. I replaced the url with the cloudfront distribution and tried accessing it from the code. but still facing the same issue.

Vijayalakashmi commented 7 years ago

i hosted the build files and video in cloudfront and its working perfectly fine. Thank you. but the player will not work only with the signed cloudfront urls....can you let me know the solution for signed cloudfront urls?