JS fixes: recursion in themes, keys for frame walking, JSON XHR and details-summary in IE11

This commit is contained in:
meow 2022-05-16 13:13:00 +03:00
parent fd66084388
commit e18b10297b
3 changed files with 29 additions and 9 deletions

View file

@ -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;