Use createVideo with vimeo or youtube assets


#1

Hi there
I’m trying to use p5.js and seriously.js to display a vimeo video chromakeyed in a canvas.
video = createVideo(’//player.vimeo.com/video/…’);

But the wevbsite returns an error :
"Access to video at ‘…’ (redirected from ‘…’) from origin ‘null’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Cross-Origin Read Blocking (CORB) blocked cross-origin response…with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Have anybody an idea to solve this ?
Thanks


#2

i think you are using chrome browser,
did you test other? like firefox?


#3

same deal using firefox or ie


#4

but can you play you own video?
( from file )


#5

with a local video file, it does work.


#6

but my webserver is not able to stream videos for a huge audience