Page 1 of 1

vlc 0.8.2: activex plugin commands/options

Posted: 06 Jul 2005 17:29
by BananaJoe
where can i find command/options infos for the activex plugin?

Sample HTML File

Posted: 06 Jul 2005 20:57
by Pflaume
Here is a sample HTML File,
i think it is containing all features that are build in in the moment...


____________________


<HTML>
<TITLE>VLC ActiveX plugin test page</TITLE>
<BODY>
<SCRIPT LANGUAGE="JScript">
<!--
function go(targetURL)
{
var options = new Array(":input-repeat");
document.vlc.addTarget(targetURL, options, 4+8, -666);
};
//-->
</SCRIPT>
<TABLE>
<TR><TD>
MRL:
<INPUT size="80" name="targetTextField" value="">
<INPUT type=submit value="Go" onClick="go(targetTextField.value);">
</TD></TR>
<TR><TD>
<OBJECT classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8" codebase="axvlc.cab"
width="640" height="480" id="vlc" events="True">
<param name="Src" value="" />
<param name="ShowDisplay" value="True" />
<param name="Loop" value="False" />
<param name="AutoPlay" value="False" />
</OBJECT>
<SCRIPT LANGUAGE="JScript">
<!--
function vlc::play()
{
alert("VLC is Playing");
};
function vlc::pause()
{
alert("VLC has Paused");
};
function vlc::stop()
{
alert("VLC has Stopped");
};
//-->
</SCRIPT>
</TD></TR>
<TR><TD>
<INPUT type=button value="Play" onClick='document.vlc.play();'>
<INPUT type=button value="Stop" onClick='document.vlc.stop();'>
<INPUT type=button value="Pause" onClick='document.vlc.pause();'>
<INPUT type=button value=" << " onClick='document.vlc.playSlower();'>
<INPUT type=button value=" >> " onClick='document.vlc.playFaster();'>
<INPUT type=button value="Mute" onClick='document.vlc.toggleMute();'>
<INPUT type=button value="Show" onClick='document.vlc.Visible = true;'>
<INPUT type=button value="Hide" onClick='document.vlc.Visible = false;'>
<INPUT type=button value="Version" onClick='alert(document.vlc.VersionInfo);'>
</TD></TR>
</TABLE>
</BODY>
</HTML>

________________________________

Posted: 07 Jul 2005 09:53
by BananaJoe
ah ok, thanks. i knew this sample html file, but had hoped that there are more features available than shown in the file.

Posted: 08 Jul 2005 07:15
by Guest
too bad, that there is no description :cry:

Posted: 08 Jul 2005 13:02
by Quovodis
all activex plugins methods and properties can be browsed using a tool called OleView, which is available from microsoft free of charge, just search for on msdn. typically those methods and properties are based on the libvlc public APIS which are available at on the videolan developer documentation site: http://developers.videolan.org/vlc/vlc/ ... ibvlc.html

moreover the following HTML parameters tags are currently supported

filename, src: URL to play
autoplay, autostart: boolean
loop: boolean
showdisplay: boolean

there might be more in the future
[/b]

Posted: 03 Jun 2006 06:40
by HellBla3e
there are still error about using prop VersionInfo from delphi .. id must be 1610743834, but "member not found" err with it :roll: and i think that is not only delphi problem