feat(core): add sub-1x playback rates to defaults (#1231)

This commit is contained in:
rahim
2026-04-06 22:07:09 -07:00
committed by GitHub
parent e1c3689dc0
commit c68c1a3c82
2 changed files with 13 additions and 6 deletions
@@ -3,7 +3,7 @@ import { listen } from '@videojs/utils/dom';
import type { MediaPlaybackRateState } from '../../../core/media/state';
import { definePlayerFeature } from '../../feature';
const DEFAULT_RATES: readonly number[] = [1, 1.2, 1.5, 1.7, 2];
const DEFAULT_RATES: readonly number[] = [0.25, 0.5, 0.75, 1, 1.2, 1.5, 1.7, 2];
export const playbackRateFeature = definePlayerFeature({
name: 'playbackRate',