mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Add feature to flip the video horizontally (#7478)
* Add feature to flip the video horizontally * Rename to .vjs-vid-flip-h for clarity * Refactor to use Video.js plugin system * Add cleanup method for VideoFlipHorizontallyPlugin * Refactor code * Add menu to video-filter-menu-button * Fix submenu being pushed outside of the player * Remove hotkey for mirror feature * Rewrite event to be more explicit * Add working button to flip video * Remove extra comma * Unhardcode videoFilter for videoFilter Menu * Cleanup and add hotkey --------- Co-authored-by: sunny-codex <265379505+sunny-codex@users.noreply.github.com> Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
co-authored by
sunny-codex
Chocobozzz
parent
b586c4d4b6
commit
4474bf1a5e
@@ -99,7 +99,10 @@ const playerKeys = {
|
||||
'Download speed:': 'Download speed:',
|
||||
'Uploader note:': 'Uploader note:',
|
||||
'Close': 'Close',
|
||||
'(skipped {1} buffers) ': '(skipped {1} buffers) '
|
||||
'(skipped {1} buffers) ': '(skipped {1} buffers) ',
|
||||
'Video Filter': 'Video Filter',
|
||||
'Mirror Video': 'Mirror Video',
|
||||
'Mirror': 'Mirror'
|
||||
}
|
||||
Object.assign(playerKeys, videojs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user