fix(core): use 0.2 and 0.7 for default playback rates (#1236)

This commit is contained in:
rahim
2026-04-06 22:25:44 -07:00
committed by GitHub
parent c68c1a3c82
commit 932949fdf1
3 changed files with 6 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[] = [0.25, 0.5, 0.75, 1, 1.2, 1.5, 1.7, 2];
const DEFAULT_RATES: readonly number[] = [0.2, 0.5, 0.7, 1, 1.2, 1.5, 1.7, 2];
export const playbackRateFeature = definePlayerFeature({
name: 'playbackRate',