Web Media Shareing

I’m looking for a way to create a web page only available on my home network that I can use for sharing media between multiple computers. What I want to be able and do is create a gallery of cds and movies I have on my computer and play them by clicking on a picture. I’m already familiar with HTML and CSS this is just a little beyond my experience.


(as you have found out) knowing html/css is not enough because if you
just make a page with a normal URL link (pointed at the movie’s file
on ‘your’ computer/server), the (distant) browser you click with will
only know how to “download” that file to the local computer…

what you want to do requires a way to ‘serve’ the streaming media
(like youtube does, for example) across your local network…

which i do not know how to do, but google seems to, see:


maybe VLC and a craftily constructed URL is all you need…

CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

DenverD wrote:
> http://www.google.com/search?q=serve+streaming+media+across+a+local+network

and, there are several threads in the networking forum which are
probably useful…

see http://tinyurl.com/22lea94

CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

I use VLC on all my computers, Linux and Windows, so that might be exactly what I need. If not you’ve given me some new places to look for ideas.


fucodclown wrote:
> Thanks

welcome, Have a lot of fun!

CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

You can embed a movie into a website. Make the link under your icon image to start some local HTML document and add the following code where you want to place the movie:

<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="640" height="480">
<param name="fileName" value="/webcam/webmovie/webmovie.wmv">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="/webcam/webmovie/webmovie.wmv" name="MediaPlayer1" width=640 height=480 autostart=1 showcontrols=1 volume=-450></embed>
<br clear="all"><p>

Of course you have to adapt path and filenames for your movie.

You can also play sound. To play a mp3 file let your link point to a file named something.m3u which in turn contains the file to be played. Example content of something.m3u could be:


You can find a lot of info about streaming media on the internet. A starting point is here: Streaming MPEG-4 Video

I’m trying to do almost exactly that with my videos, the only difference is I’m using flash. I’ve been having some trouble with flash so I might just try using your code instead.

I haven’t done much with the music yet. What I want to do there, if it’s possible, is to take all the songs from a CD and create 1 like that will queue all of them up in something like VLC.

So far I did never try to stream flash, but I think the principle is the same. There is a meta file describing for the browser where to get the source and how to launch the plugin. There is a chapter about how to stream flash on the website I linked in my previous post.

Thanks for the link. The site helped me find a few mistakes I made.

A completely different approach: Have a look at “mjpg-streamer” (Google finds it, and a package is available from build-service). It is designed to stream webcams, but it can stream from the filesystem too. It is lightweight and easy to install/use, but unfortunately it streams just video, no sound.

I’ve got video working using the code you gave me with .m4v files.

Now I just need to figure why all of my media, so far just videos and pictures, is coming up access forbidden. If I open the page from the file manager it works fine, but if I use a web address to open it I can’t see any pictures or get any of the video to play.

I take for granted that you have a running apache2 server on your server host, right? In this case it’s a configuration issue. This would be a perfect opportunity to open a new thread in the “Networking” subforum. We are quite a bit off-topic here in Chit-Chat.

Yeah, I started in chit-chat because building a web page to use as a media server wasn’t really a Linux topic, but now it’s moved into something I need to fix in apache.