| Advertisements |
The "Play in VLC" extension identifies video and audio streams available for playback in the current tab, suggesting the use of external media players like VLC. This extension includes a module capable of recognizing streamable media on web pages. Upon detection of new media, the toolbar badge text is updated with the total number of playable media streams. By clicking this button, all identified links on the current page are sent to the external media player in a "m3u8" container. Please note that you need to install a native client to use this extension. Additionally, users can send a video or audio stream using the right-click context menu over the HTML player.
What is "Play in VLC" extension and how does it work?
This extension comprises two modules: the media observer and native integration. The media observer module identifies all streamable media sources from web pages and keeps users informed by updating the badge text accordingly. This module stores up to 200 media sources; if a page exceeds this limit, the oldest media files are wiped. Upon detecting the first media source, the page's badge text switches to "1". Notably, if no media source is found for a page, the page's URL is forwarded to the external player (some players like VLC know how to find streamable media from certain websites).
The native integration module relies on @andy-portmen's NodeJS native-client. This straightforward yet potent native client enables developers to embed all native code within the extension, allowing for code review without the need to inspect native code for each operating system. Essentially, the native side receives the script from the extension and executes it in a sandboxed context with predefined limited permissions. Detected links are then transmitted to the native player. Users can access the options page to customize how the extension interacts with the native side.
Available extensions:
recommended "Libre Email Client" extension for Chrome, and Edge browsers.
"Libre Email Client" is a full-featured IMAP email client that runs entirely in your browser, syncing mail from any IMAP server to a local Maildir store (in browser storage or a chosen directory) via a compiled WASM core with native TLS. It supports multiple accounts, server-side search, conversation threading, automatic and manual sync, message filters with move/stop actions, and an optional native client for local file operations like Spam/Archive/Trash overrides.
How can I install the native-client?
When the extension attempts to execute the first native command, a new local page appears, guiding you through the steps to set up the native client. The native client installation is essential as the extension alone cannot interact with the operating system. To manually install the native-client, visit Emano-Waldeck/native-client. On this page, you'll find three compressed files tailored for Windows, Linux, and macOS. As of now, ChromeOS and Android operating systems are not supported by the native client.
Once downloaded, the package contains three files:
install.js script.app.js script.If your system lacks the global NodeJS executable, this executable will be copied during installation. Otherwise, only the app.js script and configuration files for Chrome and Firefox will be copied (ensure that your installed NodeJS executable version is higher than 6.0.0). The install.js script copies a few files into various directories. You can review the list of files and their locations in the console output.
To uninstall the native client, use the provided uninstall script located in the root directory. This script will remove the native client from your operating system.
How does this extension differ from the "Open In" extension created by @andy-portmen?
What's new in this version?
Please check the Logs section.
[deprecated] What is the purpose of the advanced settings on the options page, and why are they not editable?
Advanced settings are meant for experienced users. Due to the potential for unexpected outcomes when modified, they are not directly editable. However, users can override these settings using the background console window. For instance, if there's an advanced option named pref-1, you can adjust it by accessing the background console window and entering localStorage.setItem('pref-1', 'new value');
How can I test this extension?
Begin by accessing the w3schools.com/html/html5_video.asp page in a browser tab and allow the media to initiate the player. Once playback commences, observe the appearance of a badge number for this extension. Note that the extension toolbar button (action button) might be hidden in the extensions menu. If so, you can pin it to the toolbar area. You can then either click on the action button to transmit the media sources to the external player or right-click on the video element and choose the "Send to VLC" option. Alternatively, right-click the action button to copy the link of detected media streams to the system clipboard.
| Advertisements |
Please keep reviews clean, avoid improper language, and do not post any personal information. Also, please consider sharing your valuable input on the official store.
| Permission | Description |
|---|---|
| storage | to store user preferences |
| notifications | to notify about extension and external application error logs (it is possible to disable it from the options page) |
| nativeMessaging | to be able to communicate with the external executable. The native-client is NodeJS based |
| contextMenus | to add context menu items to the toolbar button and audio and video elements |
| *://*/* | to be able to inject media observer into all web pages |