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