fix
This commit is contained in:
parent
e2eaa206e4
commit
2a7001ea3a
@ -33,7 +33,7 @@ class VideoData {
|
|||||||
|
|
||||||
async onVideoLoaded() {
|
async onVideoLoaded() {
|
||||||
if (!this.videoLoaded) {
|
if (!this.videoLoaded) {
|
||||||
if (this.video.videoWidth && this.video.videoHeight) {
|
if (!this.video.videoWidth || !this.video.videoHeight) {
|
||||||
return; // onVideoLoaded is a lie in this case
|
return; // onVideoLoaded is a lie in this case
|
||||||
}
|
}
|
||||||
this.logger.log('info', 'init', '%c[VideoData::onVideoLoaded] ——————————— Initiating phase two of videoData setup ———————————', 'color: #0f9');
|
this.logger.log('info', 'init', '%c[VideoData::onVideoLoaded] ——————————— Initiating phase two of videoData setup ———————————', 'color: #0f9');
|
||||||
|
Loading…
Reference in New Issue
Block a user