Complete the one-time local bridge setup to connect the browser extension with your MPV player.
Download the Host Package
A minimal ZIP containing only the files needed to register the native host bridge.
Download Host PackagePATH during or after installation so they can be detected.
winget) in Command Prompt or PowerShell:
C:\Users\YourName\play-in-mpv). Keep the folder there, as Chrome will execute the scripts directly from it.play-in-mpv-host subfolder, and double-click install.bat.
chrome://extensions (or restart Chrome), and refresh any open YouTube tabs for the changes to take effect. Setup is complete!Download the Host Package
A minimal ZIP containing only the files needed to register the native host bridge.
Download Host Packagempv, yt-dlp, and python3 on your system. **Important:** All three dependencies must be added to your system's PATH environment variable so the extension can locate and execute them. We recommend installing them using Homebrew (which handles path registration automatically):play-in-mpv-host directory (or navigate into it, e.g. cd ~/Downloads/play-in-mpv-host), and run the installer:python3 install.py <YOUR_EXTENSION_ID>)
chrome://extensions and reload the extension, then refresh any open YouTube tabs to activate the connection.Download the Host Package
A minimal ZIP containing only the files needed to register the native host bridge.
Download Host Packagempv, yt-dlp, and python3 on your system. **Important:** All three dependencies must be added to your system's PATH environment variable so the extension can locate and execute them. You can use your package manager to install them (example for Debian/Ubuntu):play-in-mpv-host directory (or navigate into it, e.g. cd ~/Downloads/play-in-mpv-host), and run the installer:python3 install.py <YOUR_EXTENSION_ID>)
chrome://extensions and reload the extension, then refresh any open YouTube tabs to activate the connection.Path and click Edit.C:\Program Files\mpv).echo $SHELL.~/.zshrc. For bash (default on most Linux distributions), open ~/.bashrc (or ~/.profile).export PATH="$PATH:$HOME/.local/bin"
source ~/.zshrc (or source ~/.bashrc)..bashrc or .zshrc). If the extension popup still warns that a tool is missing from your PATH, you can symlink the binary to a standard system directory that is always on the path (e.g., sudo ln -s ~/.local/bin/yt-dlp /usr/local/bin/yt-dlp), or launch the browser from your terminal.
yt-dlp. Websites like YouTube update their video streaming protocols frequently. Update your local copy of yt-dlp. If you installed it via Windows Package Manager, run winget upgrade yt-dlp.yt-dlp. If you installed it via Homebrew, run brew upgrade yt-dlp.python3 uninstall.py (or python uninstall.py on Windows) located inside your host directory (play-in-mpv-host for zip package users, or host for repository clones).chrome://extensions and enable Developer mode (top-right).install.bat and paste your ID when prompted.
python3 install.py YOUR_EXTENSION_ID in terminal.