bbc / VideoContext

An experimental HTML5 & WebGL video composition and rendering API.
http://bbc.github.io/VideoContext/
Apache License 2.0
1.32k stars 156 forks source link

TypeError: Invalid operand to 'instanceof': Function expected #200

Open kruncher opened 4 years ago

kruncher commented 4 years ago

image

The error occurs with Microsoft Edge:

78455999-4224c000-7699-11ea-9acc-3f6162293bd8

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");