Fixed an issue where pause/play would not work with picture-in-picture
This commit is contained in:
1 parent
bbd2d9c756
commit
f89e9f59ca
8 files changed
+15
-11
No files matched your search
@@ -117,6 +117,7 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
Close()
|
||||
return true
|
||||
end if
|
||||
|
||||
return false
|
||||
end function
|
||||
|
||||
|
||||
@@ -84,6 +84,7 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
Close()
|
||||
return true
|
||||
end if
|
||||
|
||||
return false
|
||||
end function
|
||||
|
||||
|
||||
@@ -62,8 +62,8 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
return true
|
||||
end if
|
||||
|
||||
if key = "options"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture
|
||||
if key = "options" or key = "play" or key = "pause" or key = "playonly"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture and pause/play
|
||||
return false
|
||||
end if
|
||||
|
||||
|
||||
@@ -250,8 +250,8 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
return true
|
||||
end if
|
||||
|
||||
if key = "options"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture
|
||||
if key = "options" or key = "play" or key = "pause" or key = "playonly"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture and pause/play
|
||||
return false
|
||||
end if
|
||||
|
||||
|
||||
+2
-2
@@ -60,8 +60,8 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
return true
|
||||
end if
|
||||
|
||||
if key = "options"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture
|
||||
if key = "options" or key = "play" or key = "pause" or key = "playonly"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture and pause/play
|
||||
return false
|
||||
end if
|
||||
|
||||
|
||||
+2
-2
@@ -72,8 +72,8 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
return true
|
||||
end if
|
||||
|
||||
if key = "options"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture
|
||||
if key = "options" or key = "play" or key = "pause" or key = "playonly"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture and pause/play
|
||||
return false
|
||||
end if
|
||||
|
||||
|
||||
+2
-2
@@ -31,8 +31,8 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
return true
|
||||
end if
|
||||
|
||||
if key = "options"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture
|
||||
if key = "options" or key = "play" or key = "pause" or key = "playonly"
|
||||
' A pass-through to the app controller, so it can toggle picture-in-picture and pause/play
|
||||
return false
|
||||
end if
|
||||
|
||||
|
||||
Reference in new issue
Block a user