bbc / VideoContext

An experimental HTML5 & WebGL video composition and rendering API.
http://bbc.github.io/VideoContext/
Apache License 2.0
1.32k stars 156 forks source link

A-frame demo not working #178

Open chrisn opened 4 years ago

chrisn commented 4 years ago

The A-frame example at http://bbc.github.io/VideoContext/examples/aframe.html reports an error in Chrome (76). Here's the console output:

VideoContext - playing
ucarecdn.com/:1 GET https://ucarecdn.com/bcece0a8-86ce-460e-856b-40dac4875f15/ 404
medianode.js:118 Error with element <video crossorigin=​"anonymous" webkit-playsinline playsinline src=​"https:​/​/​ucarecdn.com/​bcece0a8-86ce-460e-856b-40dac4875f15/​" loop>​</video>​
aframe.html:1 Uncaught (in promise) DOMException
richski commented 4 years ago

Hi Chris, thanks for raising this!

@yakca has fixed it on develop (#180) and it will make its way to http://bbc.github.io/VideoContext/examples/aframe.html with the next release.

chrisn commented 4 years ago

I now see a different error, due to autoplay policy, from VideoElementCache.init():

play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD