Debug with Editor

Or like here:

video runs on your canvas

function preload() {
  // preload() runs once
  c3 = loadImage('ps5.jpg')
  ps5video = createVideo('PS5 Trailer.mp4');
}

function setup() {
  createCanvas(720, 350);

  ps5video.position(width - 275, 90);
  ps5video.loop();

  c3.resize(115, 0);

  for (let i = 0; i < width / 10; i++) {
    particles.push(new Particle());
  }
}

function draw() {