Page 1 of 1

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

Posted: 10 Jan 2011 21:09
by SteveRicketts
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>

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

Posted: 25 Jan 2011 15:20
by SteveRicketts
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.