Fix emitting "playing" event on normal videos

This commit is contained in:
redphx 2024-04-06 16:54:41 +07:00
parent 6b12b4add4
commit 414bc2268e

View File

@ -11128,6 +11128,10 @@ function patchVideoApi() {
return nativePlay.apply(this);
}
if (!!this.src) {
return nativePlay.apply(this);
}
this.addEventListener('playing', showFunc);
injectStreamMenuButtons();