Building HTML pages
Posted: 13 Jul 2009 19:24
I have an embedded Linux-server with two 1.5 TB hard disk drives, which works as fileserver. Its address is 192.168.0.32 and its drive letter is Z:. It is not possible to install a vlc streaming server. There are several movies on this hard disk, each movie directory has is own VIDEO_TS subdirectory.
E.g. there a subdirectory \\192.168.0.32\public disk\DVDS\MOVIE\VIDEO_TS
I have started VLC and both of the following commands work very fine:
(1) Media -> Open Location from clipboard -> \\192.168.0.32\public disk\DVDS\MOVIE
(2) Media -> Open Location from clipboard -> Z:\public\DVDS\MOVIE
Now I wanted to build a website to choose these movies. There should be a link like
to start the vlc plugin of firefox. But it seems to be a little bit more complicated.
I have found "Building HTML pages..." on http://wiki.videolan.org/Documentation:WebPlugin
Now I have modified Example 1 and it looks like
The first thing is an error message...
... and then the screen shows only "Waiting for video".
What shall I do?
E.g. there a subdirectory \\192.168.0.32\public disk\DVDS\MOVIE\VIDEO_TS
I have started VLC and both of the following commands work very fine:
(1) Media -> Open Location from clipboard -> \\192.168.0.32\public disk\DVDS\MOVIE
(2) Media -> Open Location from clipboard -> Z:\public\DVDS\MOVIE
Now I wanted to build a website to choose these movies. There should be a link like
Code: Select all
<a href="????\\192.168.0.32\public disk\DVDS\MOVIE">Movie</a>
I have found "Building HTML pages..." on http://wiki.videolan.org/Documentation:WebPlugin
Now I have modified Example 1 and it looks like
Code: Select all
<html>
<head><title>Demo of VLC mozilla plugin</title></head>
<body>
<h1>Demo of VLC mozilla plugin - Example 1</h1>
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="no" loop="yes" width="400" height="300"
target="http://192.168.0.32/public%20disk/DVDS/MOVIE/VIDEO_TS/VIDEO_TS.VOB" />
<br />
<a href="javascript:;" onclick='document.video1.play()'>Play video1</a>
<a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
<a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>
</body>
</html>
Code: Select all
Microsoft Visual C++ Runtime Library
Runtime Error!
Program C:\Programme\Mozilla Firefox\firefox.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
What shall I do?