|
|
@@ -376,7 +376,7 @@ class Textures extends DataMap {
|
|
|
|
|
|
if ( image.image !== undefined ) image = image.image;
|
|
|
|
|
|
- if ( image instanceof HTMLVideoElement ) {
|
|
|
+ if ( ( typeof HTMLVideoElement !== 'undefined' ) && ( image instanceof HTMLVideoElement ) ) {
|
|
|
|
|
|
target.width = image.videoWidth || 1;
|
|
|
target.height = image.videoHeight || 1;
|