Protocol vlc:// for browser

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
grey_rat
New Cone
New Cone
Posts: 8
Joined: 25 Jul 2020 20:36

Protocol vlc:// for browser

Postby grey_rat » 17 Aug 2021 10:46

Potplayer allows you to accept links from browser potplayer://https://..... .
There is an extension that works with these links "PotPlayer YouTube Shortcut" https://addons.mozilla.org/ru/firefox/a ... -shortcut/

For VLC, I did not find information about something similar. There are complex ways to achieve the same
https://github.com/stefansundin/vlc-protocol
https://github.com/azrafe7/vlc4youtube/ ... terface.md

Does VLC have the function protocol :// ?
If not, can it be done?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Protocol vlc:// for browser

Postby Rémi Denis-Courmont » 17 Aug 2021 15:00

This is actually a terrible idea, as it would allow attackers to forcefully start VLC to open anything under their control and exploit any vulnerability in VLC or underlying libraries.

"Open with VLC" extensions where the user explicitly decides to use VLC are much much safer.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

grey_rat
New Cone
New Cone
Posts: 8
Joined: 25 Jul 2020 20:36

Re: Protocol vlc:// for browser

Postby grey_rat » 17 Aug 2021 17:48

If create a "White list," for example 127.0.01, youtube.com and dialog window "Allow to open links from site xxx?" Or create a "protocol support" option in VLC, in which the user will write the protocol name himself (this option is better because it will allow you to immediately use the "PotPlayer YouTube Shortcut" extension or others).
Can VLC open non-video related files? Is the danger of such links exaggerated if they are also in other programs?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 74 guests