diff --git a/src/components/Player/PlayerItemOptions.tsx b/src/components/Player/PlayerItemOptions.tsx index a731dbf7..36d0f8fb 100644 --- a/src/components/Player/PlayerItemOptions.tsx +++ b/src/components/Player/PlayerItemOptions.tsx @@ -47,6 +47,7 @@ export const PlayerItemButtons = (props: Props) => { playerSetPlaybackSpeedAndCookies(newSpeed, cookies, setCookie)} + size='small' playSpeed={playSpeed} /> {!isEmbed && ( diff --git a/src/components/Player/options/PlaySpeed.tsx b/src/components/Player/options/PlaySpeed.tsx index ce67ef72..1dcb669f 100644 --- a/src/components/Player/options/PlaySpeed.tsx +++ b/src/components/Player/options/PlaySpeed.tsx @@ -14,8 +14,8 @@ type Props = { children?: any } -export const PlaySpeed = ({ ariaDescription, ariaLabel, ariaPressed, className, onChange, playSpeed }: Props) => { - const wrapperClass = classnames(className, 'player-option-button') +export const PlaySpeed = ({ ariaDescription, ariaLabel, ariaPressed, className, onChange, playSpeed, size }: Props) => { + const wrapperClass = classnames(className, 'player-option-button', size) const DropdownOptions = PV.Player.speedOptions