Reorganize shim files

This commit is contained in:
hensm
2021-04-27 07:30:39 +01:00
parent cff7466046
commit dcd6caf1b2
56 changed files with 639 additions and 822 deletions

View File

@@ -270,9 +270,10 @@ async function registerMediaElementListeners() {
});
mediaElement.addEventListener("ratechange", () => {
// TODO: Fix types
currentMedia._sendMediaMessage("SET_PLAYBACK_RATE", {
playbackRate: mediaElement.playbackRate
});
} as any);
});
mediaElement.addEventListener("volumechange", () => {