I'm hoping to find a way in which I can automatically open a video into VLC from a browser (likely Firefox). For example I have a video at http://ip/video.mp4. And I'd like to be able to click on the video an automatically open it in VLC (the full program, not as a plugin). I was hoping for something such as VLC://http://ip/video.mp4 but it doesn't work and am having trouble finding whether this is possible or not.

The last question I found which was similar is a few years old now and didn't have the answer I hoped, so was hoping things would be different now.

Thanks for any help all.

  • Try this: superuser.com/questions/821352/… – Jonno Feb 11 '16 at 17:23
  • May be with HTA (HTML APPLICATION) or a batch script ! – Hackoo Feb 14 '16 at 15:44
  • If the server set the mime-type properly, so that the browser downloads the file rather than trying to open it directly, then perhaps. – jpaugh Jan 16 '18 at 19:46

This worked for me with firefox.

Type about:config in the firefox address bar.

Click accept the risk.

Search for mp4

You should see a few preference names that end with mp4.embed.

Please note! This will stop videos working in Facebook.

If these are set to true they will open in firefox. If they are set to false they will open in your default program. just double click the value to change it from true to false. Hope this helps others with the same problem.


This add-on adds a context menu item to send audio/video streams directly to VLC media player:


  • Please read How do I recommend software for some tips as to how you should go about recommending software. You should provide at least a link, some additional information about the software itself, and how it can be used to solve the problem in the question. – DavidPostill Jan 16 '18 at 22:11

I just accomplished this, but it is not super simple. I created a simple server using node.js and the express framework.

Created an endpoint /stream which executes VLC with the appropriate URL as a command flag.

Then simply create a start script that can cd {your server directory here} && node server.js

  • This is an overly complicated solution that is not well described. Either share your code and give better instructions or use a simpler solution. – HackSlash Jan 16 '18 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.