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