HTML & Active X trouble...

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
we3co
New Cone
New Cone
Posts: 3
Joined: 13 Aug 2009 07:14

HTML & Active X trouble...

Postby we3co » 13 Aug 2009 07:40

look... flat out... I am very young and a newb... so take it easy on the comments...(i've seen ya'll tear people with innocent questions to pieces...)

I am working with frontpage(I know there is better production software out there but my resources are limited... )
and I am trying to put in something that is a multi media player that has pause and play functions... I came to the conclusion that VLC is the best one and am trying to use active x to put it in...
I dont know wether or not its because I personaly am not hosting it, if the coding is wrong, or just because I am not very familiar with how perams work...
I have looked at a million sites for answers and they all just give me gibberish...(thats why I want a direct answer to my q')
When i run it in firefox all I get is a black screen...
I think my problem is that it isn't loading a file at all... and I am not sure how to do that. (because I am unfamiliar with how some of the params work...)

here's my very very simple code...

<html>
<body>

<p>
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" id="VLCPlugin21">
<param name="AutoLoop" value="0">
<param name="AutoPlay" value="-1">
<param name="Toolbar" value="0">
<param name="ExtentWidth" value="8466">
<param name="ExtentHeight" value="6350">
<param name="MRL" value = " www.some url.com"/>
<param name="Visible" value="-1">
<param name="Volume" value="50">
<param name="StartTime" value="0">
<param name="BaseURL" value>
<param name="BackColor" value="0">
</object>
</p>

</body>
</html>


any help at all would be greatly appreciated thanks...
Last edited by we3co on 15 Aug 2009 00:06, edited 1 time in total.

sbraheem
New Cone
New Cone
Posts: 6
Joined: 10 Jun 2009 16:59

Re: HTML & Active X trouble...

Postby sbraheem » 14 Aug 2009 07:35

Hi

Your MRL has no value, so your plugin can't play nothing!

put some value like:
<param name="MRL" value="some/url/of/interest.ext" />

Hope that helps.
VLC control with BST Player - http://oss.bramosystems.com/bst-player

we3co
New Cone
New Cone
Posts: 3
Joined: 13 Aug 2009 07:14

Re: HTML & Active X trouble...

Postby we3co » 16 Aug 2009 01:02

I tried that and i still get a black box.... no sound or vid...

yschang
New Cone
New Cone
Posts: 1
Joined: 26 Aug 2009 08:10

Re: HTML & Active X trouble...

Postby yschang » 26 Aug 2009 08:14

try
<param name="MRL" value = "http:// www.some url.com/yourmediafile.rmvb"/>

we3co
New Cone
New Cone
Posts: 3
Joined: 13 Aug 2009 07:14

Re: HTML & Active X trouble...

Postby we3co » 31 Aug 2009 23:05

no that still doesn't work... has anyone actually gotten this to work?

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

Re: HTML & Active X trouble...

Postby SteveRicketts » 01 Sep 2009 17:58

I have it working in FF and ID but I used the onLoad event to put the URL of the file in the playlist.

function imLoaded() {
document.getElementById('VLC').playlist.add(url)
document.getElementById('VLC').playlist.play();
}
...
<body onLoad="imLoaded()">

<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="640" height="480"
id="VLC">
</embed>


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests