Page 1 of 1

HTML & Active X trouble...

Posted: 13 Aug 2009 07:40
by we3co
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...

Re: HTML & Active X trouble...

Posted: 14 Aug 2009 07:35
by sbraheem
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.

Re: HTML & Active X trouble...

Posted: 16 Aug 2009 01:02
by we3co
I tried that and i still get a black box.... no sound or vid...

Re: HTML & Active X trouble...

Posted: 26 Aug 2009 08:14
by yschang
try
<param name="MRL" value = "http:// www.some url.com/yourmediafile.rmvb"/>

Re: HTML & Active X trouble...

Posted: 31 Aug 2009 23:05
by we3co
no that still doesn't work... has anyone actually gotten this to work?

Re: HTML & Active X trouble...

Posted: 01 Sep 2009 17:58
by SteveRicketts
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>