mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:27 -04:00
JS fixes: recursion in themes, keys for frame walking, JSON XHR and details-summary in IE11
This commit is contained in:
parent
fd66084388
commit
e18b10297b
3 changed files with 29 additions and 9 deletions
|
@ -623,8 +623,8 @@ addEventListener('keydown', function (e) {
|
|||
// TODO: More precise step. Now FPS is taken equal to 29.97
|
||||
// Common FPS: https://forum.videohelp.com/threads/81868#post323588
|
||||
// Possible solution is new HTMLVideoElement.requestVideoFrameCallback() https://wicg.github.io/video-rvfc/
|
||||
case '.': action = function () { pause(); skip_seconds(-1/29.97); }; break;
|
||||
case ',': action = function () { pause(); skip_seconds( 1/29.97); }; break;
|
||||
case ',': action = function () { pause(); skip_seconds(-1/29.97); }; break;
|
||||
case '.': action = function () { pause(); skip_seconds( 1/29.97); }; break;
|
||||
|
||||
case '>': action = increase_playback_rate.bind(this, 1); break;
|
||||
case '<': action = increase_playback_rate.bind(this, -1); break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue