ActiveX is not shown

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
lagarazo
Blank Cone
Blank Cone
Posts: 34
Joined: 20 Sep 2006 13:50

ActiveX is not shown

Postby lagarazo » 22 Sep 2006 11:22

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?

lagarazo
Blank Cone
Blank Cone
Posts: 34
Joined: 20 Sep 2006 13:50

Postby lagarazo » 22 Sep 2006 11:38

If I run

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

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

karlar
Blank Cone
Blank Cone
Posts: 73
Joined: 12 Jun 2006 12:25

Postby karlar » 22 Sep 2006 13:44

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.

lagarazo
Blank Cone
Blank Cone
Posts: 34
Joined: 20 Sep 2006 13:50

Postby lagarazo » 22 Sep 2006 16:49

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".

karlar
Blank Cone
Blank Cone
Posts: 73
Joined: 12 Jun 2006 12:25

Postby karlar » 22 Sep 2006 18:09

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 0 guests