[mythtv] launching movies from mythweb - html question

Tim Harvey tharvey at alumni.calpoly.edu
Fri Oct 17 20:33:12 EDT 2003


I've made some changes my local mythweb to have it embed links to launch
movies from the 'MythVideo' page but I can't get it to work cleanly.
Note that I'm talking about launching movies that are completely
compatible with the local system's player not necessarily the MythTV
modules 'nuv' files.

I cannot get the following links to work correctly:

<A HREF="file://nas1/Video/Movies/Movie1.avi">Movie1</A>

The idea here is that the movie is available locally from
'//nas1/Video/Movies/Movie1.avi' (I can run this from the windows
cmdline and my movie is launched and plays fine... yes I'm attempting
this from a windows client).  

Is this some security issue regarding not being able to launch local
files from a browser?

Alternatively If I do the following:

<a href="myprog: \\nas1/Videos/Movies/Movie1.avi">Movie1</A>

and create the proper registry keys to treat 'myprog' as a protocol that
launches my player passing the parameter it works fine.  However, I
think it's a lousy solution to have to hack the registry to create a
custom protocol for this.

Am I missing something simple here?  If anyone can provide me with a
more elegant solution to launching the file locally without creating an
http transfer I will gladly post a patch for mythweb that does so.

Thanks,

Tim



More information about the mythtv-dev mailing list