shortcut key

ZWPlayer provides comprehensive keyboard shortcut functionality, allowing you to control video playback more conveniently.

Keyboard Shortcuts Quick Reference

Function CategoryShortcutDescription
Playback ControlSpace / MediaKeyPlay/Pause
 0Replay (Jump to beginning)
Progress ControlFast forward 5 seconds, long press for speed playback
 Rewind 5 seconds, long press for continuous operation
Volume ControlVolume up 5%
 Volume down 5%
 MMute/Unmute
Playback SpeedShift + 11x speed (Normal)
 Shift + 22x speed playback
Display ControlFEnter/Exit fullscreen
 EscClose menu/Exit fullscreen
 LTurn on/off light effects
Danmaku (Bullet Comments)DShow/Hide danmaku
 EnterSend danmaku
Recording FunctionRStart/Stop recording

Basic Playback Control

Play/Pause

  • Spacebar or Media Play Key - Play/Pause video

  • Shortcut: Space / MediaKey

Stop and Restart

  • 0 - Replay video (Jump to beginning)

  • Shortcut: 0

Tip: If the clip selection feature is enabled, pressing the 0 key will jump to the clip start position instead of the video beginning.

Progress Control

Fast Forward/Rewind

  • (Right Arrow) - Press once to fast forward 5 seconds, long press for fast playback

  • (Left Arrow) - Rewind 5 seconds, long press for continuous operation

  • Shortcuts: /

Volume Control

Volume Adjustment

  • (Up Arrow) - Volume up 5%

  • (Down Arrow) - Volume down 5%

  • Shortcuts: /

Mute Control

  • M - Mute/Unmute

  • Shortcut: M (Case insensitive)

Playback Speed Control

Fast Playback Speed

  • Shift + 1 - 1x speed (Normal speed)

  • Shift + 2 - 2x speed playback

  • Shortcuts: Shift + 1 / Shift + 2

Video Display Control

Fullscreen Control

  • F - Enter/Exit fullscreen mode

  • Esc - Close menu / Exit fullscreen

  • Shortcuts: F / Esc

Light Effects

  • L - Turn on/off light effects

  • Shortcut: L (Case insensitive)

Danmaku Function

Danmaku Control

  • D - Show/Hide danmaku (bullet comments)

  • Enter - Send danmaku (when danmaku input box is not focused)

  • Shortcuts: D (Case insensitive) / Enter

Note: When the danmaku input box is focused, all shortcuts except the Esc key will be disabled to avoid input conflicts.

Recording Function

Recording Control

  • R - Start/Stop recording video

  • Shortcut: R (Case insensitive)

Special Function Notes

Smart Progress Control

  • Right arrow key supports two modes:

    • Single click: Fast forward 5 seconds

    • Long press: Enter fast playback mode

Clip Selection Mode

  • When the clip selection feature is enabled, the 0 key jumps to the current clip's start position

  • In clip playback mode, some shortcut behaviors may be adjusted

Input Focus Detection

  • The player automatically detects whether the current focus is in an input field

  • When focus is in text input areas such as the danmaku input box, shortcuts are automatically disabled

  • Only the Esc key remains available when input box is focused, used to close current operation

Shortcut State Management

ZWPlayer uses a state management system to handle keyboard events:

  • Prevents duplicate key triggers

  • Supports long press continuous operations

  • Smart focus detection to avoid input conflicts

Compatibility Notes

  • Supports all modern browsers

  • Supports media keyboard playback control keys

  • Automatically adapts to different keyboard layouts


Version Information: Applicable to ZWPlayer v3.2.0+

Last Updated: November 01, 2025

Catalog Navigation