Preview
This plugin has no picture of its own.
About
Control your interactive videos with voice commands — no hands required. Uses the browser's built-in Web Speech API (no external services, no API keys).
Features:
- Play, pause, stop with customizable trigger words
- Seek forward/backward by configurable step or spoken amount ("skip 30 seconds")
- Seek to specific time ("go to 2 minutes")
- Volume up/down and mute/unmute
- Fullscreen toggle
- Restart / go to beginning
Custom Trigger Words: Every command category has configurable trigger words. For a cooking show, set play words to "cook, go" and pause to "wait, hold, stop". For fitness, use "start" and "rest". Comma-separated — as many synonyms as you want.
Custom Commands: Define arbitrary voice triggers that emit named events. One per line: buy, purchase > buyTriggered. Rules can then listen for these events and execute any actions.
Click Objects by Voice: Say "click on the chair" or "select the speaker" to click detected objects. Uses fuzzy label matching against visible objects. Configurable prefixes.
Click Plugin Text by Voice: Say "click buy now" or "press submit" to click text elements inside plugins or player controls. The engine searches the main player DOM first (subtitles, controls), then broadcasts to all plugin iframes.
Subtitle Control by Voice: Say "turn on Spanish subtitles" or "enable English subtitles" to activate a subtitle track by language. Say "turn off subtitles" or "disable subtitles" to disable all subtitles. Uses fuzzy language matching against available tracks.
Audio Language Switching: Say "switch audio to Spanish" or "change audio to English" to switch audio tracks by language. Matches against available audio track labels and language codes.
Listen Modes:
- Always — continuous listening (best with a wake word)
- Paused Only — only when video is paused
- Manual — only via startListening/stopListening actions
Wake Word: Set a prefix word like "video" so commands require "video play", "video pause" etc.
Seek by Voice:
- "Skip 30 seconds" / "Back 1 minute" — relative seek with spoken amounts
- "Go to 2 minutes" / "Jump to 45 seconds" — absolute seek to time
Analytics: All voice-triggered interactions include source: "plugin:mp4e:voice-control" for analytics tracking.
Variables Provided:
isSupported(boolean) — whether the browser supports speech recognitionisListening(boolean) — whether voice control is currently activelastCommand(text) — the last recognized command ID
Browser Support: Chrome, Edge (best). Safari (partial). Firefox (limited). Requires microphone permission.
Settings
What a creator can set in the Studio, and what a host can set in its overrides.
Recognition
| Setting | Type | Default | What it does |
|---|---|---|---|
Languagelanguage | Text | en-US | BCP 47 language code for speech recognition (e.g. en-US, es-ES, fr-FR, de-DE, ja-JP) |
Wake WordwakeWord | Text | - | Optional prefix word required before commands (e.g. 'video' means say 'video play'). Leave empty for no wake word. |
Listen ModelistenMode | One of | always | always = listen continuously; pausedOnly = only when video is paused (avoids video audio interference); manual = only via startListening action |
Seek
| Setting | Type | Default | What it does |
|---|---|---|---|
Default Seek Step (seconds)seekStep | Number, 1 to 120 | 10 | Seconds to seek when no specific amount is spoken |
Seek-to-Time PrefixesseekToWords | Text | go to, jump to, seek to | Comma-separated phrases followed by a time (e.g. 'go to 2 minutes', 'jump to 30 seconds') |
Skip Forward CommandsforwardWords | Text | forward, skip, ahead | Comma-separated trigger words for seek forward. Say 'skip 30 seconds' for custom amounts. |
Restart CommandsrestartWords | Text | restart, beginning, start over | Comma-separated trigger words to seek to the beginning |
Skip Backward CommandsbackwardWords | Text | back, backward, rewind | Comma-separated trigger words for seek backward. Say 'back 20 seconds' for custom amounts. |
Volume
| Setting | Type | Default | What it does |
|---|---|---|---|
Mute CommandsmuteWords | Text | mute, silence, quiet | Comma-separated trigger words for mute |
Volume Step (%)volumeStep | Number, 1 to 50 | 10 | Volume change per command in percent (10 = 10%) |
Volume Up CommandslouderWords | Text | louder, volume up, turn up | Comma-separated trigger words for volume up |
Unmute CommandsunmuteWords | Text | unmute, sound on | Comma-separated trigger words for unmute |
Volume Down CommandsquieterWords | Text | quieter, softer, volume down, turn down | Comma-separated trigger words for volume down |
Playback
| Setting | Type | Default | What it does |
|---|---|---|---|
Play CommandsplayWords | Text | play, resume, continue | Comma-separated trigger words for play (e.g. 'cook, go' for a cooking show) |
Stop CommandsstopWords | Text | stop | Comma-separated trigger words for stop (pauses video) |
Pause CommandspauseWords | Text | pause, hold, wait | Comma-separated trigger words for pause |
Interaction
| Setting | Type | Default | What it does |
|---|---|---|---|
Click Text PrefixesclickTextWords | Text | click, press, tap, push | Comma-separated prefixes for clicking text inside plugins (e.g. 'click buy now') |
Click Object PrefixesclickObjectWords | Text | click on, click the, select, tap on, tap the | Comma-separated prefixes for clicking detected objects by label (e.g. 'click on the chair') |
Custom
| Setting | Type | Default | What it does |
|---|---|---|---|
Custom CommandscustomCommands | Text | - | One command per line. Format: trigger words > eventName. Example:\nbuy, purchase > buyTriggered\nhelp, info > helpRequested |
Subtitles
| Setting | Type | Default | What it does |
|---|---|---|---|
Enable Subtitle PrefixessubtitleOnWords | Text | turn on, enable, show, add | Comma-separated prefixes for enabling subtitles by language (e.g. 'turn on Spanish subtitles', 'enable English subtitles') |
Disable Subtitle PhrasessubtitleOffWords | Text | turn off subtitles, disable subtitles, hide subtitles, subtitles off, no subtitles | Comma-separated phrases to disable all subtitles |
Audio
| Setting | Type | Default | What it does |
|---|---|---|---|
Switch Audio PrefixesaudioSwitchWords | Text | switch audio to, change audio to, audio in, switch to | Comma-separated prefixes for switching audio language (e.g. 'switch audio to Spanish', 'change audio to English') |
Other
| Setting | Type | Default | What it does |
|---|---|---|---|
Fullscreen CommandsfullscreenWords | Text | fullscreen, full screen | Comma-separated trigger words for toggling fullscreen |
Events and actions
Events you can react to
| Event | When it is sent | Data |
|---|---|---|
Voice Command Recognizedplugin:mp4e:voice-control:voiceCommand | Fired when a voice command is successfully matched and executed |
|
Listening Startedplugin:mp4e:voice-control:listeningStarted | Fired when speech recognition starts listening | - |
Listening Stoppedplugin:mp4e:voice-control:listeningStopped | Fired when speech recognition stops listening | - |
Actions a rule or the host can call
| Action | What it does | Its settings |
|---|---|---|
Start ListeningstartListening | Start voice recognition (useful in manual mode or after stopping) | - |
Stop ListeningstopListening | Stop voice recognition | - |
Variables it provides
| Variable | What it holds | Type and default |
|---|---|---|
Speech API Supported{{mp4e:voice-control:isSupported}} | Whether the browser supports the Web Speech API | booleanStarts as OffRead only |
Currently Listening{{mp4e:voice-control:isListening}} | Whether voice recognition is currently active | booleanStarts as OffRead only |
Last Command{{mp4e:voice-control:lastCommand}} | The last recognized command ID (play, pause, seekForward, etc.) | textRead only |
What it can reach
This plugin asks for nothing: no network, no reading of the video's analysis, no say over what plays.
Versions
- v1.0.3November 29, 2026Current
What changed
1.0.3: declares that it uses speech recognition (permissions.device). It works once the player offers speech recognition to plugins.
- v1.0.2November 28, 2026
What changed
Variables say readOnly instead of the older editable flag.
- v1.0.1August 15, 2026
What changed
Fix: sync playing-state from periodic mp4e:playbackState event (iframes created mid-playback had stale playing=false, causing pausedOnly listen mode to run while video played).
- v1.0.0February 27, 2026
What changed
Archived version