p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
function setup() {
createCanvas(710, 400);
video = createVideo(['video.mov']);
video.hide();
}
function draw() {
background(0);
image(video, 0, 0);
}
2. In Firefox for Android, the video never renders. The same code works for Firefox desktop, Firefox for iOS, and any other browser.
3. The video canvas example in p5.js website (https://p5js.org/examples/dom-video-canvas.html) also does not render the video
4. However, rendering a video in a video element (such as in the example: https://p5js.org/examples/dom-video.html) works as expected.
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
Most appropriate sub-area of p5.js?
Details about the bug:
function setup() { createCanvas(710, 400); video = createVideo(['video.mov']); video.hide(); }
function draw() { background(0); image(video, 0, 0); }