1
0
Fork
You've already forked player-protocol
0
Open VLC and Pot Player links directly from your web browser.
  • Go 68.9%
  • Batchfile 31.1%
2024年09月19日 03:05:35 +05:30
.github/workflows Add initial project files and structure 2024年09月19日 01:44:43 +05:30
pkg/path Refactor player-protocol module and update player path handling 2024年09月19日 02:02:11 +05:30
.gitignore Add initial project files and structure 2024年09月19日 01:44:43 +05:30
.goreleaser.yml Update .goreleaser.yml 2024年09月19日 03:05:35 +05:30
go.mod Refactor player-protocol module and update player path handling 2024年09月19日 02:02:11 +05:30
go.sum Add initial project files and structure 2024年09月19日 01:44:43 +05:30
LICENSE Initial commit 2024年09月19日 01:27:26 +05:30
main.go Refactor player-protocol module and update player path handling 2024年09月19日 02:02:11 +05:30
protocol-deregister.bat Add initial project files and structure 2024年09月19日 01:44:43 +05:30
protocol-register.bat Add initial project files and structure 2024年09月19日 01:44:43 +05:30
README.md Update README.md 2024年09月19日 03:01:15 +05:30
vlc-protocol.desktop Add initial project files and structure 2024年09月19日 01:44:43 +05:30

player-protocol

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.

Setup

Install on Windows

  • Download the latest release from here.
  • Extract the zip file.
  • Run protocol-register.bat as administrator.

Uninstall:

  • Run protocol-deregister.bat as administrator.

Install on Linux

curl -s https://sh-install.vercel.app/tgdrive/player-protocol?move=1 | bash
curl -LO https://raw.githubusercontent.com/tgdrive/player-protocol/main/vlc-protocol.desktop
xdg-desktop-menu install vlc-protocol.desktop
rm vlc-protocol.desktop

Uninstall:

xdg-desktop-menu uninstall vlc-protocol.desktop
sudo rm /usr/local/bin/player-protocol

Usage

vlc://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://