Is it possible to add a type of link on a webpage that will open up VLC Player and start playing a stream video? Like this one:
Alternatively, is it possible to embed VLC Player in the browser?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
UPDATE: 2018-09-25 Most of this response only applies to older browsers, so updating some sections.
Here’s an excerpt showing how to embed and fallback to download or click to stream:
The VLC player plugin exposes a useful JavaScript API accessed either by name or ID:
The MIME-type application/x-vlc-plugin is used to activate the VLC plugin (when it is available). You should provide some form of fallback, such as a regular link.
As for linking to VLC-supported protocols, it will depend on the user’s device and/or OS settings, particularly which application they’ve selected as the default Media player for a given protocol. But an example could be:
OR:
You could include “help” instructions on how to set VLC as your default player, or, alternatively you would require some software of your own to be installed on the client-side to ensure that VLC is the application that gets opened, not something else. VLC can easily be run by command-line (specified at the top of the page in that VLC Chapter 4 link).
UPDATE: 2018-09-25
The above notice is now more important to take into consideration than ever. Stick to HTML5 & open standards. The above just won’t work anymore, unless VLC team brings the plugin back from the dead by developing a version that works with WebExtensions standard. For personal use, you could still use an old browser on your local network if you had built something in particular for your own video streaming using that, but would not suggest you build anything for regular web users/visitors this way.