vlc 0.8.2: activex plugin commands/options

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
BananaJoe
New Cone
New Cone
Posts: 7
Joined: 28 Nov 2004 18:06

vlc 0.8.2: activex plugin commands/options

Postby BananaJoe » 06 Jul 2005 17:29

where can i find command/options infos for the activex plugin?

Pflaume
Blank Cone
Blank Cone
Posts: 21
Joined: 06 Jul 2005 20:31

Sample HTML File

Postby Pflaume » 06 Jul 2005 20:57

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>

________________________________

BananaJoe
New Cone
New Cone
Posts: 7
Joined: 28 Nov 2004 18:06

Postby BananaJoe » 07 Jul 2005 09:53

ah ok, thanks. i knew this sample html file, but had hoped that there are more features available than shown in the file.

Guest

Postby Guest » 08 Jul 2005 07:15

too bad, that there is no description :cry:

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Postby Quovodis » 08 Jul 2005 13:02

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]

HellBla3e

Postby HellBla3e » 03 Jun 2006 06:40

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests