ronan-gloo / Plex-Over

Web Application to interact with Plex Media Server from a web browser
17 stars 2 forks source link

VLC Launcher #2

Open sierracircle opened 11 years ago

sierracircle commented 11 years ago

Great work. This is a wonderful application. I am wondering if it might be possible to include a small, discrete button to launch the chosen Movie or Show in VLC?

I was able to do this with the first version of Plex-Over, by simply passing the URL to the VLC plugin:

$link = $_GET['link']; $title = $_GET['title']; ?>

<? echo $title ?>

embed type="application/x-vlc-plugin" type="application/x-vlc-plugin" name="player" autoplay="yes" loop="no" target="<? echo $link ?>" width="640" height="480" id="vlc"> /embed>

Crude, but works on my Ubuntu boxes in Firefox with the VLC plugin enabled.. Have not tried on other OS yet. I imagine can also be passed to other players.