We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
VideoFrame
1 parent b4e2207 commit 1aeae99Copy full SHA for 1aeae99
src/renderers/common/Textures.js
@@ -391,7 +391,7 @@ class Textures extends DataMap {
391
target.height = image.videoHeight || 1;
392
target.depth = 1;
393
394
- } else if ( image instanceof VideoFrame ) {
+ } else if ( ( typeof VideoFrame !== 'undefined' ) && ( image instanceof VideoFrame ) ) {
395
396
target.width = image.displayWidth || 1;
397
target.height = image.displayHeight || 1;
0 commit comments