MP4ERequest access
Runs in the backgroundBy MP4E

Voice Control

Lets viewers play, pause, skip and change the volume by saying so.

  • Sends 3 events
  • 2 actions for rules and the host
  • Provides 3 variables
  • Uses the browser's own speech recognition, with no account or key to set up
  • The words for each command are settings, with an optional wake word
  • Your own spoken phrases can start your own rules
  • Works best in Chrome and Edge, and asks the viewer for the microphone
Version 1.0.3

It opens in the Studio, where you place it on your video.

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 recognition
  • isListening (boolean) — whether voice control is currently active
  • lastCommand (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

Recognition
SettingTypeDefaultWhat it does
LanguagelanguageTexten-USBCP 47 language code for speech recognition (e.g. en-US, es-ES, fr-FR, de-DE, ja-JP)
Wake WordwakeWordText-Optional prefix word required before commands (e.g. 'video' means say 'video play'). Leave empty for no wake word.
Listen ModelistenModeOne of
  • always
  • pausedOnly
  • manual
alwaysalways = listen continuously; pausedOnly = only when video is paused (avoids video audio interference); manual = only via startListening action

Seek

Seek
SettingTypeDefaultWhat it does
Default Seek Step (seconds)seekStepNumber, 1 to 12010Seconds to seek when no specific amount is spoken
Seek-to-Time PrefixesseekToWordsTextgo to, jump to, seek toComma-separated phrases followed by a time (e.g. 'go to 2 minutes', 'jump to 30 seconds')
Skip Forward CommandsforwardWordsTextforward, skip, aheadComma-separated trigger words for seek forward. Say 'skip 30 seconds' for custom amounts.
Restart CommandsrestartWordsTextrestart, beginning, start overComma-separated trigger words to seek to the beginning
Skip Backward CommandsbackwardWordsTextback, backward, rewindComma-separated trigger words for seek backward. Say 'back 20 seconds' for custom amounts.

Volume

Volume
SettingTypeDefaultWhat it does
Mute CommandsmuteWordsTextmute, silence, quietComma-separated trigger words for mute
Volume Step (%)volumeStepNumber, 1 to 5010Volume change per command in percent (10 = 10%)
Volume Up CommandslouderWordsTextlouder, volume up, turn upComma-separated trigger words for volume up
Unmute CommandsunmuteWordsTextunmute, sound onComma-separated trigger words for unmute
Volume Down CommandsquieterWordsTextquieter, softer, volume down, turn downComma-separated trigger words for volume down

Playback

Playback
SettingTypeDefaultWhat it does
Play CommandsplayWordsTextplay, resume, continueComma-separated trigger words for play (e.g. 'cook, go' for a cooking show)
Stop CommandsstopWordsTextstopComma-separated trigger words for stop (pauses video)
Pause CommandspauseWordsTextpause, hold, waitComma-separated trigger words for pause

Interaction

Interaction
SettingTypeDefaultWhat it does
Click Text PrefixesclickTextWordsTextclick, press, tap, pushComma-separated prefixes for clicking text inside plugins (e.g. 'click buy now')
Click Object PrefixesclickObjectWordsTextclick on, click the, select, tap on, tap theComma-separated prefixes for clicking detected objects by label (e.g. 'click on the chair')

Custom

Custom
SettingTypeDefaultWhat it does
Custom CommandscustomCommandsText-One command per line. Format: trigger words > eventName. Example:\nbuy, purchase > buyTriggered\nhelp, info > helpRequested

Subtitles

Subtitles
SettingTypeDefaultWhat it does
Enable Subtitle PrefixessubtitleOnWordsTextturn on, enable, show, addComma-separated prefixes for enabling subtitles by language (e.g. 'turn on Spanish subtitles', 'enable English subtitles')
Disable Subtitle PhrasessubtitleOffWordsTextturn off subtitles, disable subtitles, hide subtitles, subtitles off, no subtitlesComma-separated phrases to disable all subtitles

Audio

Audio
SettingTypeDefaultWhat it does
Switch Audio PrefixesaudioSwitchWordsTextswitch audio to, change audio to, audio in, switch toComma-separated prefixes for switching audio language (e.g. 'switch audio to Spanish', 'change audio to English')

Other

Other
SettingTypeDefaultWhat it does
Fullscreen CommandsfullscreenWordsTextfullscreen, full screenComma-separated trigger words for toggling fullscreen

Events and actions

Events you can react to

EventWhen it is sentData
Voice Command Recognizedplugin:mp4e:voice-control:voiceCommandFired when a voice command is successfully matched and executed
  • {{eventData.command}}The command ID (play, pause, stop, mute, unmute, volumeUp, volumeDown, seekForward, seekBackward, seekTo, fullscreen, restart, clickObject, clickText, custom:eventName)
  • {{eventData.transcript}}The raw speech transcript
Listening Startedplugin:mp4e:voice-control:listeningStartedFired when speech recognition starts listening-
Listening Stoppedplugin:mp4e:voice-control:listeningStoppedFired when speech recognition stops listening-

Actions a rule or the host can call

ActionWhat it doesIts settings
Start ListeningstartListeningStart voice recognition (useful in manual mode or after stopping)-
Stop ListeningstopListeningStop voice recognition-

Variables it provides

VariableWhat it holdsType and default
Speech API Supported{{mp4e:voice-control:isSupported}}Whether the browser supports the Web Speech APIbooleanStarts as OffRead only
Currently Listening{{mp4e:voice-control:isListening}}Whether voice recognition is currently activebooleanStarts 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

  1. 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.

  2. v1.0.2November 28, 2026
    What changed

    Variables say readOnly instead of the older editable flag.

  3. 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).

  4. v1.0.0February 27, 2026
    What changed

    Archived version

Voice Control · MP4E Marketplace