mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Fix emitting "playing" event on normal videos
This commit is contained in:
@@ -11128,6 +11128,10 @@ function patchVideoApi() {
|
|||||||
return nativePlay.apply(this);
|
return nativePlay.apply(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!!this.src) {
|
||||||
|
return nativePlay.apply(this);
|
||||||
|
}
|
||||||
|
|
||||||
this.addEventListener('playing', showFunc);
|
this.addEventListener('playing', showFunc);
|
||||||
injectStreamMenuButtons();
|
injectStreamMenuButtons();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user