Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
Thanks! That did the trick. It was indeed necessary to configure firefox's user_prefs to trust local file content, but the settings allowed me to restrict it to trust only the one server. On Sun, Sep 15, 2013 at 10:21 PM, Greg Rundlett (freephile) < greg at freephile.com> wrote: > If you've already got Firefox using the appropriate plugin or external > application to handle the content type, you just need to change the > generated links from HTTP protocol links to File protocol links. > > e.g. file:///net/wdmybook/tv/Chuck/season1/Chuck-1x01-Pilot.mkv > instead of http://example.com/ > net/wdmybook/tv/Chuck/season1/Chuck-1x01-Pilot.mkv > > Note the triple slash. > > Note that you need to use proper URI syntax for local file references. It > is not proper to enter an operating-system-specific path, such as > c:\subdir\file.ext without converting it to a URI, which in this case would > be file:///c:/subdir/file.ext. In general, a file path is converted to a > URI by adding the scheme identifier file:, then three forward slashes > (representing an empty authority or host segment), then the path with all > backslashes converted to forward slashes. > > It may be necessary to configure Firefox to trust local file content. see > http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don't_Work > > ~ Greg > > Greg Rundlett > > > On Sun, Sep 15, 2013 at 9:59 PM, John Abreau <abreauj at gmail.com> wrote: > >> Note that I've found several discussion of running mplayer on the web >> server, but I'm looking to run it on the client, not the server. >> >> Obviously this will only work from a Linux client, on the same LAN as the >> web server, that has autofs enabled, and it's fine if it only works with >> firefox and not with other web browsers. I'm only going to be running it >> from one particular desktop machine, and it doesn't need to work anywhere >> else. >> >> >> >> On Sun, Sep 15, 2013 at 9:52 PM, John Abreau <abreauj at gmail.com> wrote: >> >> > I've recently started ripping my DVD collection onto a WD MyBook Live >> > network hard drive, and I threw together a simple php page to display >> the >> > contents of each folder. >> > >> > The web server that displays the files is on my CentOS web server, which >> > access the video archives over NFS with a path like >> > "/net/wdmybook/tv/Chuck/season1/Chuck-1x01-Pilot.mkv". >> > >> > A google search yielded some gnome settings that got firefox on my >> desktop >> > machine to launch mplayer to play the videos when I click on the link, >> but >> > it first downloads the entire video to a temp file and then launches >> > mplayer to play the temp file. >> > >> > Is there any way I could set this up to skip the download and instead >> > launch mplayer so it will play from the >> > "/net/wdmybook/tv/Chuck/season1/Chuck-1x01-Pilot.mkv" path directly? If >> not >> > at the gnome level, then perhaps from php? >> > >> > >> > -- >> > John Abreau / Executive Director, Boston Linux & Unix >> > PGP KeyID: 32A492D8 / Email: abreauj at gmail.com >> > PGP FP: 7834 AEC2 EFA3 565C A4B6 9BA4 0ACB AD85 32A4 92D8 >> > >> >> >> >> -- >> John Abreau / Executive Director, Boston Linux & Unix >> PGP KeyID: 32A492D8 / Email: abreauj at gmail.com >> PGP FP: 7834 AEC2 EFA3 565C A4B6 9BA4 0ACB AD85 32A4 92D8 >> _______________________________________________ >> Discuss mailing list >> Discuss at blu.org >> http://lists.blu.org/mailman/listinfo/discuss >> > > -- John Abreau / Executive Director, Boston Linux & Unix PGP KeyID: 32A492D8 / Email: abreauj at gmail.com PGP FP: 7834 AEC2 EFA3 565C A4B6 9BA4 0ACB AD85 32A4 92D8
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |