VideoContext
VideoContext copied to clipboard
TypeError: Invalid operand to 'instanceof': Function expected
The error occurs with Microsoft Edge:
It seems to be caused by using the following:
const node = this.videoContext.image("/blank.png");
As a workaround I am able to do the following successfully:
window.ImageBitmap = function() { };
const node = this.videoContext.image("/blank.png");