Page 1 of 1

ActiveX is not shown

Posted: 22 Sep 2006 11:22
by lagarazo
Hello,

I am trying to view a movie in the activeX control. To add it to my webpage I use the following code:

<OBJECT classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width=320
height=240 id="v1"
events="True">
<param name="ShowDisplay" value="True"/>
<param name="AutoPlay" value="True"/>
<param name="Enabled" value="true" />
<param name="Volume" value="100">
<param name="mrl" value="http://193.147.53.29/prueva.mpg">
</OBJECT>

But I dont see anything, even the control bar of the activeX. Am I doing something wrong in this code?

Posted: 22 Sep 2006 11:38
by lagarazo
If I run

alert(document.v1.Playing + ' ' + document.v1.Visible);

It says: true true. But I dont see anything.

Posted: 22 Sep 2006 13:44
by karlar
ie or mozilla ?

if(mozilla)
try

Code: Select all

<object type="application/x-vlc-plugin" name="vlc" id="vlc" events="True" width="400" height="300" target="http://193.147.53.29/prueva.mpg" />

NB. you need to start the stream also
document.vlc.play();
if (ie)

your code works in ie no problem, got a picture of some cartoon movie.

have you installed the activex or/and the mozilla plugin when you installed vlc.

Posted: 22 Sep 2006 16:49
by lagarazo
I was trying IE, but I dont get anything.

Do you know some movie I can try with?

With the mozilla code you have post it works, as long as I change "object" for "embed".

Posted: 22 Sep 2006 18:09
by karlar
Do you know some movie I can try with?

The one you got should play.

I suggest that you reinstaller VLC and make sure that you also install the activex component.

If that does not work try to change IE security lvls that might fix it. but thats a long shot.