|
|
@@ -88,7 +88,7 @@ class Source {
|
|
|
|
|
|
target.set( data.videoWidth, data.videoHeight, 0 );
|
|
|
|
|
|
- } else if ( data instanceof VideoFrame ) {
|
|
|
+ } else if ( ( typeof VideoFrame !== 'undefined' ) && ( data instanceof VideoFrame ) ) {
|
|
|
|
|
|
target.set( data.displayHeight, data.displayWidth, 0 );
|
|
|
|