p5LiveMedia icon indicating copy to clipboard operation
p5LiveMedia copied to clipboard

use of 'this' keyword

Open AidanNelson opened this issue 3 years ago • 0 comments

A student ran into an issue when making a room system using this library. Basically, it is not currently possible to create a p5LiveMedia object outside of the p5js' setup() function because it needs a reference to the p5js object.

As a workaround, I created a global reference for the p5js object, but it would be great if the library could try to manage this internally...

AidanNelson avatar Sep 11 '22 19:09 AidanNelson