PopupVideo icon indicating copy to clipboard operation
PopupVideo copied to clipboard

[Feature Request] Keyboard shortcuts

Open Luxian opened this issue 5 years ago • 6 comments

YouTube videos playing inside the extension do not support keyboard shortcuts. Would be cool if one could use the standardard YouTube keyboard shortcuts like left/right arrow to fast forward or rewind, speed adjustments using Shift + . or Shift + , etc

Luxian avatar May 28 '19 13:05 Luxian

Possible a duplicate of https://github.com/ettoolong/PopupVideo/issues/11 ¯\_(ツ)_/¯

Luxian avatar May 28 '19 13:05 Luxian

Hi @Luxian,

The main function in this add-on is convert YouTube URL from watch?v=videoID to embed/videoID and call window API to create popup with the new URL.

Seems YouTube Keyboard shortcuts not work in their iframe player. Workaround for this issue: listen the keyboard event in web page and call video tag function to do the same thing.

Thanks for your feedback.

ettoolong avatar Jul 25 '19 10:07 ettoolong

PLEASE add Shortcuts. It should be at least possible to pause / play and switch to fullscreen with "F"

TomberWolf avatar Sep 10 '19 13:09 TomberWolf

Update version 0.0.10, Support

  • Space - toggle pause/play
  • End - to end
  • Home - to start,
  • Left arrow - backward
  • Right arrow - forward
  • M - toggle mute
  • F - toggle full screen

ettoolong avatar Sep 13 '19 08:09 ettoolong

Thank you, @ettoolong! Tested with YouTube and it works.

Luxian avatar Sep 13 '19 09:09 Luxian

Thank you sooo much!

TomberWolf avatar Sep 13 '19 10:09 TomberWolf