Use createVideo with vimeo or youtube assets

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

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 for more details.
Have anybody an idea to solve this ?

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

same deal using firefox or ie

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

with a local video file, it does work.

1 Like

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