diff --git a/src/CONST.ts b/src/CONST.ts index 93d2921e704..db66b7e16a2 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -4183,7 +4183,7 @@ const CONST = { VIDEO_PLAYER: { POPOVER_Y_OFFSET: -30, - PLAYBACK_SPEEDS: [0.25, 0.5, 1, 1.5, 2], + PLAYBACK_SPEEDS: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], HIDE_TIME_TEXT_WIDTH: 250, MIN_WIDTH: 170, MIN_HEIGHT: 120, diff --git a/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx b/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx index bb2b2e24aea..966f49e45a9 100644 --- a/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx +++ b/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx @@ -15,7 +15,7 @@ const Context = React.createContext(null); function VideoPopoverMenuContextProvider({children}: ChildrenProps) { const {currentlyPlayingURL} = usePlaybackContext(); const {translate} = useLocalize(); - const [currentPlaybackSpeed, setCurrentPlaybackSpeed] = useState(CONST.VIDEO_PLAYER.PLAYBACK_SPEEDS[2]); + const [currentPlaybackSpeed, setCurrentPlaybackSpeed] = useState(CONST.VIDEO_PLAYER.PLAYBACK_SPEEDS[3]); const {isOffline} = useNetwork(); const isLocalFile = currentlyPlayingURL && CONST.ATTACHMENT_LOCAL_URL_PREFIX.some((prefix) => currentlyPlayingURL.startsWith(prefix)); const videoPopoverMenuPlayerRef = useRef(null); @@ -57,7 +57,7 @@ function VideoPopoverMenuContextProvider({children}: ChildrenProps) { text: translate('videoPlayer.playbackSpeed'), subMenuItems: CONST.VIDEO_PLAYER.PLAYBACK_SPEEDS.map((speed) => ({ icon: currentPlaybackSpeed === speed ? Expensicons.Checkmark : undefined, - text: speed.toString(), + text: speed === 1 ? translate('videoPlayer.normal') : speed.toString(), onSelected: () => { updatePlaybackSpeed(speed); }, diff --git a/src/languages/en.ts b/src/languages/en.ts index f5d44192334..8a8fc815ddb 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -4210,6 +4210,7 @@ export default { expand: 'Expand', mute: 'Mute', unmute: 'Unmute', + normal: 'Normal', }, exitSurvey: { header: 'Before you go', diff --git a/src/languages/es.ts b/src/languages/es.ts index ca84c83d16e..a51ce1d91bf 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -4724,6 +4724,7 @@ export default { expand: 'Expandir', mute: 'Silenciar', unmute: 'Activar sonido', + normal: 'Normal', }, exitSurvey: { header: 'Antes de irte',