Open VLC and Pot Player directly from browser.Support file:// https:// http:// protocols.You can't open local file directly from browser in any of these players so player-protocol enables this through file:// protocol.
- Download the latest release from here.
- Extract the zip file.
- Run
protocol-register.batas administrator.
Uninstall:
- Run
protocol-deregister.batas administrator.
curl -sL instl.vercel.app/tgdrive/player-protocol | bash
curl -LO https://raw.githubusercontent.com/tgdrive/player-protocol/main/vlc-protocol.desktop
xdg-desktop-menu install vlc-protocol.desktop
rm vlc-protocol.desktopUninstall:
xdg-desktop-menu uninstall vlc-protocol.desktop
sudo rm /usr/local/bin/player-protocolvlc://file:///path/to/local/file #linux
vlc://file://X:/path/to/local/file # windows
vlc://https://ia804605.us.archive.org/22/items/big-buck-bunny-4k/Big_Buck_Bunny_4K.mp4
potplayer://https://www.youtube.com/watch?v=dQw4w9WgXcQ
For PotPlayer use potplayer:// instead of vlc://