mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Front-port "Add hotkey to enable captions with "c"
See https://github.com/TeamPiped/Piped/commit/f1f45551f42ab0101d75b648a9706a9e0a784420
This commit is contained in:
@@ -310,6 +310,10 @@ export default {
|
||||
videoEl.currentTime = videoEl.currentTime + 15
|
||||
e.preventDefault()
|
||||
},
|
||||
c (e) {
|
||||
self.$player.setTextTrackVisibility(!self.$player.isTextTrackVisible())
|
||||
e.preventDefault()
|
||||
},
|
||||
Space: onSpace,
|
||||
k: onSpace,
|
||||
ArrowUp (e) {
|
||||
|
||||
Reference in New Issue
Block a user