Fix autoplay after background
This commit is contained in:
+1
-1
@@ -189,8 +189,8 @@ export class VideoRTC extends HTMLElement {
|
||||
const seek = this.video.seekable;
|
||||
if (seek.length > 0) {
|
||||
this.video.currentTime = seek.end(seek.length - 1);
|
||||
this.play();
|
||||
}
|
||||
this.play();
|
||||
} else {
|
||||
this.oninit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user