xxxxxxxxxx
15
let vid;
function setup() {
noCanvas();
// does this work? Run to see...
vid = createVideo('https://i.imgur.com/zLVKzJp.mp4', vidLoad );
vid.size(500, 500);
}
// This function is called when the video loads
function vidLoad() {
vid.loop();
vid.volume(0);
}