mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(core): add sub-1x playback rates to defaults (#1231)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user