CC support with Invidious and MPV

This commit is contained in:
Arkadiusz Fal
2022-07-05 19:20:25 +02:00
parent 3718311a93
commit e56ab3804e
11 changed files with 163 additions and 25 deletions

View File

@@ -47,6 +47,11 @@ final class PlayerControlsModel: ObservableObject {
func handleOverlayPresentationChange() {
player?.backend.setNeedsNetworkStateUpdates(presentingControlsOverlay)
if presentingControlsOverlay {
removeTimer()
} else {
resetTimer()
}
}
func show() {