Local file won't play in web page... what have I done wrong?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
SteveRicketts
Blank Cone
Blank Cone
Posts: 53
Joined: 29 May 2008 00:10

Local file won't play in web page... what have I done wrong?

Postby SteveRicketts » 10 Jan 2011 21:09

I'm new to Linux and am trying to get a local file to play in a web page using Firefox and openSUSE 11.3. I think I've installed the Mozilla plug-in correctly (YAST thinks so) and I'm using 1.1.5. The video plays when using the VLC Player but not in the web page, only a black screen. Here's the code. Can anyone tell me what I'm doing wrong?

<object id="VLC" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="320px" height="240px" events="True">
<param name="src" value="/opt/CADE/OnDemand/CADE 101_188_3.wmv"/>
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="no"/>
<param name="AutoPlay" value="true"/>
<embed type="application/x-vlc-plugin"
autoplay="yes" loop="false"
id="VLC"
pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="320" height="240"
src="/opt/CADE/OnDemand/CADE 101_188_3.wmv"
target="/opt/CADE/OnDemand/CADE 101_188_3.wmv"
>
</embed>
</object>

SteveRicketts
Blank Cone
Blank Cone
Posts: 53
Joined: 29 May 2008 00:10

Re: Local file won't play in web page... what have I done wr

Postby SteveRicketts » 25 Jan 2011 15:20

Solved. I took src= out and added "file:" with target="file:/opt/CADE/OnDemand/CADE 101_188_3.wmv" and also upgraded to 1.1.6. Now it plays but won't resize.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 13 guests