What is the "Open in VLC" add-on and how can I use it?
This extension adds a page action button to your browser. When a media is available on the page that you are visiting, the page action button appears in the address bar area (in Chrome page action button is always visible but it is disabled; when a media is available, the page action gets enabled (become colorful)). By pressing this button you can send the currently playing media stream to the VLC media player. This extension also adds a context menu item to the video and audio elements which have media source. This way you can send media links to VLC just by using the context menu items.
What's new in this version?
Please check the Logs section.
VLC media player supports rendering some well-known hostnames and detect media links internally. Is it possible for this extension to send the actual page URL for these hostnames to the VLC media player?
If VLC supports media extraction from HTML web pages, this extension can send the actual page URL instead of the links that it detects. It already does this for some hostnames. If there is one that is missed, please report the domain name in the review section and I'll add the support
Why do I need to install a native client for this extension to work?
By default browsers do not allow extension from communicating with native applications for security reasons. If an extension has the
nativeMessaging permission it can communicate with the native side, however, most applications do not support the protocol that is known by browsers, so this native application is actually a bridge between the extension side (Open in VLC) and native side (VLC player). The native client that is used in this extension is a small JS script with the official NodeJS executable. All the native code is written in the extension side. To install the native client follow the steps that are displayed on the first usage of the extension. You can also watch these small video tutorials for Windows https://www.youtube.com/watch?v=yZAoy8SOd7o and for Mac and Linux https://www.youtube.com/watch?v=2asPoW2gJ-c. By installing the native client, in Windows, two registries are added to the Windows registry to let the browser know where to find the actual native application and a local folder is created which contains the actual NodeJS executable. You can completely remove the native client any time by using the
uninstall.bat script. It will delete both registries as well as the directory that is created during the installation process. In Linux and Mac, the native client inserts a file called
manifest.json to the designated folders for the browsers to find the actual native application. Also, a local directory is created in the local
.config directory. Linke Windows version, you can completely remove the native client by using the
uninstall.sh script. It will remove both the folder that is created in the
.config directory and the manifest files. Note that the installer script prints all the paths that it locales files into. By running the installer script multiple times, it only overwrites the old files. No new file will be created.
Why native client size is around 20MB for the Linux operating system?
In the Linux package, there are two official NodeJS executables for 32-bit and 64-bit operating systems as the 64-bit Linux cannot run the 32-bit NodeJS version. Only one of these two will be actually used though.
How can I test this extension?
To test the extension, head to https://www.w3schools.com/html/html5_video.asp and right-click on the video element. There is a context menu item to send the media stream to the VLC media player. If you have the native client installed, the VLC player should start playing the video stream
It seems like the extension cannot locate my VLC media player. Is it possible to set the path manually?
Yes, open the options page and set the path manually.
Why the toolbar button is not clickable in the Chrome browser?
This extension uses page action toolbar button. This button is only enabled when the page supports media playing. Otherwise, it is disabled. In the Chrome browser, the button is always visible but it is not accessible when it is not colorful.
When I close my Firefox browser, the VLC media player that is opened by this extension also get closed. Can I prevent this from happening?
This is due to how Firefox handles native applications. Please see FAQ #22 of my External Application Button extension for a workaround.
If I want to use the "Open in VLC" extension with an extra command-line argument, how could I do that? I tried to add the argument in the path-field on the options page, but it does not work. Where can I add my custom "--qt-minimal-view" argument to the VLC's execution command?
Either use my External Application Button add-on instead of this one or create a custom bat file that calls VLC with the received link from this add-on. Now go to the options page of the add-on and change the executable path to this bat file.
Please keep reviews clean, avoid the use of improper language and do not post any personal information.
|storage||to store user preferences such as VLC path and VLC command|
|tabs||to add page action button|
|contextMenus||to add context menu items to video and audio elements|
|nativeMessaging||to initiate connection to the native side|
|downloads||to download the native client to the default download directory|
|webRequest||to monitor network activity to find media sources|
|<all_urls>||to monitor network activities from all hostnames|