Looking for a solution to make video autoplay work with p5.js on Firefox for Android, while it works in other browsers

Hey all

I’m trying to get p5.js to autoplay video on Firefox Android, but I haven’t found a solution yet. Here’s a CodePen link demonstrating the issue:

The page contains a video played with generic HTML and another example using p5.js. Both work perfectly in desktop browsers and Chromium-based browsers on Android. However, in Firefox Android, only the HTML-example works, despite having the same attributes, as shown in my screenshots…

Any ideas how to get this working?