Page 1 of 1

Opening VLC with a browser link and video path

Posted: 14 Mar 2019 16:13
by cditty
Is it possible to open VLC with a browser link and have it play a video based of a path included in that same url?

I'm trying to create a web page that will list all my videos and then let me click on one to have it automatically start playing. Is something like this possible?

Re: Opening VLC with a browser link and video path

Posted: 18 Mar 2019 13:23
by cditty
Thank you. With that I was able to make a link that can kick off vlc. My only issue now is that after I click on the link, it creates another webpage with xml code in it. Is there anyway to get rid of this or hide it?
Link - http://127.0.0.1:8080/requests/status.x ... sample.mp4

Output:

Code: Select all

<root> <fullscreen>0</fullscreen> <audiodelay>0</audiodelay> <apiversion>3</apiversion> <currentplid>-1</currentplid> <time>0</time> <volume>320</volume> <length>0</length> <random>false</random> <audiofilters> <filter_0/> </audiofilters> <rate>1</rate> <videoeffects> <hue>0</hue> <saturation>1</saturation> <contrast>1</contrast> <brightness>1</brightness> <gamma>1</gamma> </videoeffects> <state>stopped</state> <loop>false</loop> <version>3.0.6 Vetinari</version> <position>0</position> <repeat>false</repeat> <subtitledelay>0</subtitledelay> <equalizer/> <information> <category name="meta"> <info name="filename">mp4:sample.mp4</info> </category> </information> <stats> <lostabuffers>0</lostabuffers> <readpackets>0</readpackets> <lostpictures>0</lostpictures> <demuxreadbytes>0</demuxreadbytes> <demuxbitrate>0</demuxbitrate> <playedabuffers>0</playedabuffers> <demuxcorrupted>0</demuxcorrupted> <sendbitrate>0</sendbitrate> <sentbytes>0</sentbytes> <displayedpictures>0</displayedpictures> <demuxreadpackets>0</demuxreadpackets> <sentpackets>0</sentpackets> <inputbitrate>0</inputbitrate> <demuxdiscontinuity>0</demuxdiscontinuity> <averagedemuxbitrate>0</averagedemuxbitrate> <decodedvideo>0</decodedvideo> <averageinputbitrate>0</averageinputbitrate> <readbytes>0</readbytes> <decodedaudio>0</decodedaudio> </stats> </root>

Re: Opening VLC with a browser link and video path

Posted: 18 Mar 2019 13:54
by chubinou
Hi,

you can use Javascript to perform the query without opening a new page.