<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=LoopyCoder</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=LoopyCoder"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/LoopyCoder/"/>
	<updated>2026-11-04T18:19:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=ActiveX&amp;diff=11188</id>
		<title>ActiveX</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=ActiveX&amp;diff=11188"/>
		<updated>2008-04-07T19:16:48Z</updated>

		<summary type="html">&lt;p&gt;LoopyCoder: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Windows]] build of VLC includes an (optionaly installed) &#039;&#039;&#039;ActiveX control&#039;&#039;&#039;.  The ActiveX control enables VLC to be embedded in web browsers and third-party applications.  &lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
NOTE TO EDITORS!&lt;br /&gt;
PLEASE LEAVE THE SYNTAX AS VB (6 or 98, not .net or 2005).  IF NEEDED, WE SHOULD CREATE A SEPERATE SECTION FOR EACH LANGUAGE/VARIANT AND LINK TO IT.  &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
The ActiveX control includes the following properties:&lt;br /&gt;
{|&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;type&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;get or set&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;description&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|Length&lt;br /&gt;
|Integer&lt;br /&gt;
|get&lt;br /&gt;
|Returns length of the current clip.&lt;br /&gt;
|-&lt;br /&gt;
|playlistCount&lt;br /&gt;
|&lt;br /&gt;
|get&lt;br /&gt;
|Returns the count of items in the playlist&lt;br /&gt;
|-&lt;br /&gt;
|playlistIndex&lt;br /&gt;
|&lt;br /&gt;
|get&lt;br /&gt;
|Returns the index of the current item in the playlist.  &lt;br /&gt;
|-&lt;br /&gt;
|AutoLoop&lt;br /&gt;
|Boolean&lt;br /&gt;
|get/set&lt;br /&gt;
|Determines if the player should automatically loop when it finishes the current playlist.  &lt;br /&gt;
|-&lt;br /&gt;
|AutoPlay&lt;br /&gt;
|Boolean&lt;br /&gt;
|get/set&lt;br /&gt;
|Determines if the player should start playing a new file/playlist immediately upon being loaded.  &lt;br /&gt;
|-&lt;br /&gt;
|Volume&lt;br /&gt;
|Integer&lt;br /&gt;
|get/set&lt;br /&gt;
|Current volume (scaled from 0 to 100)&lt;br /&gt;
|-&lt;br /&gt;
|MRL&lt;br /&gt;
|String&lt;br /&gt;
|get/set&lt;br /&gt;
|Presumably returns the MRL of the currently loaded file.&amp;lt;!-- readme says &amp;quot;initial MRL in playlist&amp;quot; --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Time&lt;br /&gt;
|Integer&lt;br /&gt;
|get/set&lt;br /&gt;
|Time elapsed in seconds playing current MRL, 0 for live feed&lt;br /&gt;
|-&lt;br /&gt;
|showdisplay&lt;br /&gt;
|Boolean&lt;br /&gt;
|get/set&lt;br /&gt;
|show/hide control viewport&amp;lt;!-- from readme --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Boolean&lt;br /&gt;
|get&lt;br /&gt;
|Returns whether some MRL is playing&amp;lt;!-- from readme --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Position&lt;br /&gt;
|&#039;real&#039;&lt;br /&gt;
|get/set&lt;br /&gt;
|Playback position within current MRL, scaled from 0.0 to 1.0.  Live feed returns 0.0&lt;br /&gt;
|-&lt;br /&gt;
|VersionInfo&lt;br /&gt;
|String&lt;br /&gt;
|get&lt;br /&gt;
|Returns version and build information.&lt;br /&gt;
|}&lt;br /&gt;
Note:  In Visual Basic, type &amp;quot;Long&amp;quot; should be used for properties listed with type &amp;quot;Integer&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
The ActiveX control includes the following methods (functions):&lt;br /&gt;
{|&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;type&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;description&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;syntax ([[wikipedia:Visual Basic|VB]])&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|setVariable&lt;br /&gt;
|method&lt;br /&gt;
|Assigns a value to a variable that is defined in libvlc.c&lt;br /&gt;
|controlname.setVariable name as String, value&lt;br /&gt;
|-&lt;br /&gt;
|getVariable&lt;br /&gt;
|method&lt;br /&gt;
|Returns the contents of a variable that is defined in libvlc.c&lt;br /&gt;
|x = controlname.getVariable(name as String)&lt;br /&gt;
|-&lt;br /&gt;
|pause&lt;br /&gt;
|method&lt;br /&gt;
|Pauses the currently playing clip&lt;br /&gt;
|controlname.pause&lt;br /&gt;
|-&lt;br /&gt;
|play&lt;br /&gt;
|method&lt;br /&gt;
|Plays as in the normal player, if a clip is not loaded, does nothing.&lt;br /&gt;
|controlname.play&lt;br /&gt;
|-&lt;br /&gt;
|playFaster&lt;br /&gt;
|method&lt;br /&gt;
|Makes the currently playing clip play faster.&lt;br /&gt;
|controlname.playFaster&lt;br /&gt;
|-&lt;br /&gt;
|playSlower&lt;br /&gt;
|method&lt;br /&gt;
|Makes the currently playing clip play slower.&lt;br /&gt;
|controlname.playSlower&lt;br /&gt;
|-&lt;br /&gt;
|stop&lt;br /&gt;
|method&lt;br /&gt;
|Makes the currently playing clip stop.&lt;br /&gt;
|controlname.stop&lt;br /&gt;
|-&lt;br /&gt;
|shuttle&lt;br /&gt;
|method&lt;br /&gt;
|Moves the playback position a specified number of seconds in either direction.&lt;br /&gt;
|controlname.shuttle(seconds as Long)&lt;br /&gt;
|-&lt;br /&gt;
|playlistClear&lt;br /&gt;
|method&lt;br /&gt;
|Clears the playlist&lt;br /&gt;
|controlname.playlistClear&lt;br /&gt;
|-&lt;br /&gt;
|playlistNext&lt;br /&gt;
|method&lt;br /&gt;
|Goes to next item in the playlist&lt;br /&gt;
|controlname.playlistNext&lt;br /&gt;
|-&lt;br /&gt;
|playlistPrev&lt;br /&gt;
|method&lt;br /&gt;
|Goes to previous item in the playlist&lt;br /&gt;
|controlname.playlistPrev&lt;br /&gt;
|-&lt;br /&gt;
|addTarget&lt;br /&gt;
|method&lt;br /&gt;
|Adds a uri to the current playlist or replaces the current playlist with the uri.  &lt;br /&gt;
|controlname.addTarget(uri as String, options, mode as [[VLCPlaylistMode]], Position as Long)&lt;br /&gt;
|-&lt;br /&gt;
|toggleMute&lt;br /&gt;
|method&lt;br /&gt;
|Toggles between the muted/unmuted state of the embedded player.&lt;br /&gt;
|controlname.toggleMute&lt;br /&gt;
|-&lt;br /&gt;
|fullscreen&lt;br /&gt;
|method&lt;br /&gt;
|Toggles between fullscreen and non-fullscreen modes.&lt;br /&gt;
|controlname.fullscreen&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
The &amp;lt;code&amp;gt;addTarget&amp;lt;/code&amp;gt; method accepts most of the command line options; including, but not limited to, the following :&lt;br /&gt;
*&amp;lt;code&amp;gt;:audio-track=&#039;&#039;index&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;:vout-filter=&#039;&#039;output-filter&#039;&#039;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;deinterlace&amp;lt;/code&amp;gt; for example)&lt;br /&gt;
*&amp;lt;code&amp;gt;:deinterlace-mode=&#039;&#039;mode&#039;&#039;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;linear&amp;lt;/code&amp;gt; for example)&lt;br /&gt;
&lt;br /&gt;
==Samples==&lt;br /&gt;
*[[ActiveX/Delphi|Delphi Implementation]]&lt;br /&gt;
&lt;br /&gt;
* [[ActiveX/HTML|HTML Implementation]]&lt;br /&gt;
&lt;br /&gt;
==Installing==&lt;br /&gt;
===Introduction===&lt;br /&gt;
&lt;br /&gt;
VideoLAN is not a good source for the installation of VLC through an ActiveX control. At some point, Microsoft Internet Explorer stopped allowing the installation of ActiveX controls unless:&lt;br /&gt;
* they were signed to associate the software vendor&#039;s name with the file containing the ActiveX control, or&lt;br /&gt;
* they resided in an &amp;quot;trusted site&amp;quot; (from the user&#039;s perspective, running Internet Explorer)&lt;br /&gt;
The second option is only feasible where both server and client infrastructure are managed under the same umbrella, i.e. where the server providing the ActiveX control can be declared &amp;quot;trusted&amp;quot;. This is not feasible in the open web. In a web configuration, a [http://en.wikipedia.org/wiki/Certificate_authority Certificate Authority] needs to digitally sign the ActiveX control. This comes at a cost which the VideoLAN project is not able to bear. The solution is to create one&#039;s own ActiveX control distribution, which in turn can be digitally signed by a Certificate Authority of your choice, if necessary.&lt;br /&gt;
&lt;br /&gt;
===Creating an VLC ActiveX Distribution===&lt;br /&gt;
The following requisites are required:&lt;br /&gt;
* CABSDK by Microsoft to create a [http://en.wikipedia.org/wiki/Cabinet_%28file_format%29 Cabinet File] (.cab-file) containing the relevant ActiveX control and VLC files. MSDN has [http://msdn2.microsoft.com/en-us/library/aa751974.aspx a good description how to package an ActiveX Control], including a link to the CABSDK download page.&lt;br /&gt;
* The .cab-file is a special form of a .zip file, consisting of:&lt;br /&gt;
** axvlc.inf - The INF file, which would be called manifest in the modern age&lt;br /&gt;
** axvlc.dll - ActiveX DLL which bootstraps the VLC setup file&lt;br /&gt;
** vlc-0.8.6c-win32.exe - VLC setup file (refer to your version)&lt;br /&gt;
&lt;br /&gt;
I am using the following code in the INF file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
; Version number and signature of INF file.&lt;br /&gt;
;&lt;br /&gt;
[version]&lt;br /&gt;
signature=&amp;quot;$CHICAGO$&amp;quot;&lt;br /&gt;
AdvancedINF=2.0&lt;br /&gt;
&lt;br /&gt;
[Add.Code]&lt;br /&gt;
vlc-0.8.6c-win32.exe&lt;br /&gt;
axvlc.dll=axvlc.dll&lt;br /&gt;
&lt;br /&gt;
[axvlc.dll]&lt;br /&gt;
FileVersion=0,8,6,0&lt;br /&gt;
clsid={9BE31822-FDAD-461B-AD51-BE1D1C159921}&lt;br /&gt;
RegisterServer=no&lt;br /&gt;
hook=nsiinstaller&lt;br /&gt;
&lt;br /&gt;
[vlc-0.8.6c-win32.exe]&lt;br /&gt;
FileVersion=0,8,6,0&lt;br /&gt;
file-win32-x86=thiscab&lt;br /&gt;
&lt;br /&gt;
[nsiinstaller]&lt;br /&gt;
run=%EXTRACT_DIR%\vlc-0.8.6c-win32.exe&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Again, refer to your version of VLC.&lt;br /&gt;
&lt;br /&gt;
You can extract axvlc.dll from the binary distribution of VLC. This is a zip file on VideoLAN&#039;s download page, version 0.8.6.c [http://downloads.videolan.org/pub/videolan/vlc/0.8.6c/win32/vlc-0.8.6c-win32.zip here].&lt;br /&gt;
&lt;br /&gt;
The VLC setup file is the &amp;quot;featured&amp;quot; download on VideoLAN&#039;s main page; a copy resides in the same directory as axvlc.dll, the VLC setup file of version 0.8.6.c [http://downloads.videolan.org/pub/videolan/vlc/0.8.6c/win32/vlc-0.8.6c-win32.exe here].&lt;br /&gt;
&lt;br /&gt;
With CABSDK installed and the three components in place, you can create the .cab-file using the CABARC tool from Microsoft&#039;s CABSDK, using the following command from a command prompt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;CABARC.EXE N axvlc.cab axvlc.inf axvlc.dll vlc-0.8.6c-win32.exe&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This assumes the [http://en.wikipedia.org/wiki/Path_%28computing%29 PATH] has been set to CABARC.EXE&#039;s directory. If you need to sign the .cab-file, you need to use the -s switch to allocate space for your digital certificate.&lt;br /&gt;
&lt;br /&gt;
===.cab-file Integration===&lt;br /&gt;
The .cab file is integrated as described in the [http://wiki.videolan.org/ActiveX#Samples samples above], using the &amp;lt;OBJECT&amp;gt; element in the case of HTML, for example. When the ActiveX Control is called for the first time, i.e. prior to VLC installation through any means, the setup program should start up. Unfortunately, users have to click through a few dialogs, &amp;quot;allow blocked contents&amp;quot; or deal with other inconveniences, depending on your configuration and the user&#039;s security settings of Internet Explorer. The user must have proper rights to install VLC on the user&#039;s computer; identical to a regular installation of VLC as required by the VLC setup program.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[http://git.videolan.org/?p=vlc.git;a=blob;f=projects/activex/README.TXT Official ReadMe]&lt;br /&gt;
&lt;br /&gt;
[[Category:Embedded]]&lt;/div&gt;</summary>
		<author><name>LoopyCoder</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=ActiveX&amp;diff=11187</id>
		<title>ActiveX</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=ActiveX&amp;diff=11187"/>
		<updated>2008-04-07T19:14:29Z</updated>

		<summary type="html">&lt;p&gt;LoopyCoder: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Windows]] build of VLC includes an (optionaly installed) &#039;&#039;&#039;ActiveX control&#039;&#039;&#039;.  The ActiveX control enables VLC to be embedded in web browsers and third-party applications.  &lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
NOTE TO EDITORS!&lt;br /&gt;
PLEASE LEAVE THE SYNTAX AS VB (6 or 98, not .net or 2005).  IF NEEDED, WE SHOULD CREATE A SEPERATE SECTION FOR EACH LANGUAGE/VARIANT AND LINK TO IT.  &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
The ActiveX control includes the following properties:&lt;br /&gt;
{|&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;type&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;get or set&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;description&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|Length&lt;br /&gt;
|Integer&lt;br /&gt;
|get&lt;br /&gt;
|Returns length of the current clip.&lt;br /&gt;
|-&lt;br /&gt;
|playlistCount&lt;br /&gt;
|&lt;br /&gt;
|get&lt;br /&gt;
|Returns the count of items in the playlist&lt;br /&gt;
|-&lt;br /&gt;
|playlistIndex&lt;br /&gt;
|&lt;br /&gt;
|get&lt;br /&gt;
|Returns the index of the current item in the playlist.  &lt;br /&gt;
|-&lt;br /&gt;
|AutoLoop&lt;br /&gt;
|Boolean&lt;br /&gt;
|get/set&lt;br /&gt;
|Determines if the player should automatically loop when it finishes the current playlist.  &lt;br /&gt;
|-&lt;br /&gt;
|AutoPlay&lt;br /&gt;
|Boolean&lt;br /&gt;
|get/set&lt;br /&gt;
|Determines if the player should start playing a new file/playlist immediately upon being loaded.  &lt;br /&gt;
|-&lt;br /&gt;
|Volume&lt;br /&gt;
|Integer&lt;br /&gt;
|get/set&lt;br /&gt;
|Current volume (scaled from 0 to 100)&lt;br /&gt;
|-&lt;br /&gt;
|MRL&lt;br /&gt;
|String&lt;br /&gt;
|get/set&lt;br /&gt;
|Presumably returns the MRL of the currently loaded file.&amp;lt;!-- readme says &amp;quot;initial MRL in playlist&amp;quot; --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Time&lt;br /&gt;
|Integer&lt;br /&gt;
|get/set&lt;br /&gt;
|Time elapsed in seconds playing current MRL, 0 for live feed&lt;br /&gt;
|-&lt;br /&gt;
|showdisplay&lt;br /&gt;
|Boolean&lt;br /&gt;
|get/set&lt;br /&gt;
|show/hide control viewport&amp;lt;!-- from readme --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Boolean&lt;br /&gt;
|get&lt;br /&gt;
|Returns whether some MRL is playing&amp;lt;!-- from readme --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Position&lt;br /&gt;
|&#039;real&#039;&lt;br /&gt;
|get/set&lt;br /&gt;
|Playback position within current MRL, scaled from 0.0 to 1.0.  Live feed returns 0.0&lt;br /&gt;
|-&lt;br /&gt;
|VersionInfo&lt;br /&gt;
|String&lt;br /&gt;
|get&lt;br /&gt;
|Returns version and build information.&lt;br /&gt;
|}&lt;br /&gt;
Note:  In Visual Basic, type &amp;quot;Long&amp;quot; should be used for properties listed with type &amp;quot;Integer&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
The ActiveX control includes the following methods (functions):&lt;br /&gt;
{|&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;type&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;description&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;&#039;&#039;syntax ([[wikipedia:Visual Basic|VB]])&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|setVariable&lt;br /&gt;
|method&lt;br /&gt;
|Assigns a value to a variable that is defined in libvlc.c&lt;br /&gt;
|controlname.setVariable name as String, value&lt;br /&gt;
|-&lt;br /&gt;
|getVariable&lt;br /&gt;
|method&lt;br /&gt;
|Returns the contents of a variable that is defined in libvlc.c&lt;br /&gt;
|x = controlname.getVariable(name as String)&lt;br /&gt;
|-&lt;br /&gt;
|pause&lt;br /&gt;
|method&lt;br /&gt;
|Pauses the currently playing clip&lt;br /&gt;
|controlname.pause&lt;br /&gt;
|-&lt;br /&gt;
|play&lt;br /&gt;
|method&lt;br /&gt;
|Plays as in the normal player, if a clip is not loaded, does nothing.&lt;br /&gt;
|controlname.play&lt;br /&gt;
|-&lt;br /&gt;
|playFaster&lt;br /&gt;
|method&lt;br /&gt;
|Makes the currently playing clip play faster.&lt;br /&gt;
|controlname.playFaster&lt;br /&gt;
|-&lt;br /&gt;
|playSlower&lt;br /&gt;
|method&lt;br /&gt;
|Makes the currently playing clip play slower.&lt;br /&gt;
|controlname.playSlower&lt;br /&gt;
|-&lt;br /&gt;
|stop&lt;br /&gt;
|method&lt;br /&gt;
|Makes the currently playing clip stop.&lt;br /&gt;
|controlname.stop&lt;br /&gt;
|-&lt;br /&gt;
|shuttle&lt;br /&gt;
|method&lt;br /&gt;
|Moves the playback position a specified number of seconds in either direction.&lt;br /&gt;
|controlname.shuttle(seconds as Long)&lt;br /&gt;
|-&lt;br /&gt;
|playlistClear&lt;br /&gt;
|method&lt;br /&gt;
|Clears the playlist&lt;br /&gt;
|controlname.playlistClear&lt;br /&gt;
|-&lt;br /&gt;
|playlistNext&lt;br /&gt;
|method&lt;br /&gt;
|Goes to next item in the playlist&lt;br /&gt;
|controlname.playlistNext&lt;br /&gt;
|-&lt;br /&gt;
|playlistPrev&lt;br /&gt;
|method&lt;br /&gt;
|Goes to previous item in the playlist&lt;br /&gt;
|controlname.playlistPrev&lt;br /&gt;
|-&lt;br /&gt;
|addTarget&lt;br /&gt;
|method&lt;br /&gt;
|Adds a uri to the current playlist or replaces the current playlist with the uri.  &lt;br /&gt;
|controlname.addTarget(uri as String, options, mode as [[VLCPlaylistMode]], Position as Long)&lt;br /&gt;
|-&lt;br /&gt;
|toggleMute&lt;br /&gt;
|method&lt;br /&gt;
|Toggles between the muted/unmuted state of the embedded player.&lt;br /&gt;
|controlname.toggleMute&lt;br /&gt;
|-&lt;br /&gt;
|fullscreen&lt;br /&gt;
|method&lt;br /&gt;
|Toggles between fullscreen and non-fullscreen modes.&lt;br /&gt;
|controlname.fullscreen&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
The &amp;lt;code&amp;gt;addTarget&amp;lt;/code&amp;gt; method accepts most of the command line options; including, but not limited to, the following :&lt;br /&gt;
*&amp;lt;code&amp;gt;:audio-track=&#039;&#039;index&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;:vout-filter=&#039;&#039;output-filter&#039;&#039;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;deinterlace&amp;lt;/code&amp;gt; for example)&lt;br /&gt;
*&amp;lt;code&amp;gt;:deinterlace-mode=&#039;&#039;mode&#039;&#039;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;linear&amp;lt;/code&amp;gt; for example)&lt;br /&gt;
&lt;br /&gt;
==Samples==&lt;br /&gt;
*[[ActiveX/Delphi|Delphi Implementation]]&lt;br /&gt;
&lt;br /&gt;
* [[ActiveX/HTML|HTML Implementation]]&lt;br /&gt;
&lt;br /&gt;
==Installing==&lt;br /&gt;
===Introduction===&lt;br /&gt;
&lt;br /&gt;
VideoLAN is not a good source for the installation of VLC through an ActiveX control. At some point, Microsoft Internet Explorer stopped allowing the installation of ActiveX controls unless:&lt;br /&gt;
* they were signed to associate the software vendor&#039;s name with the file containing the ActiveX control, or&lt;br /&gt;
* they resided in an &amp;quot;trusted site&amp;quot; (from the user&#039;s perspective, running Internet Explorer)&lt;br /&gt;
The second option is only feasible where both server and client infrastructure are managed under the same umbrella, i.e. where the server providing the ActiveX control can be declared &amp;quot;trusted&amp;quot;. This is not feasible in the open web. In a web configuration, a [http://en.wikipedia.org/wiki/Certificate_authority Certificate Authority] needs to digitally sign the ActiveX control. This comes at a cost which the VideoLAN project is not able to bear. The solution is to create one&#039;s own ActiveX control distribution, which in turn can be digitally signed by a Certificate Authority of your choice, if necessary.&lt;br /&gt;
&lt;br /&gt;
===Creating an VLC ActiveX Distribution===&lt;br /&gt;
The following requisites are required:&lt;br /&gt;
* CABSDK by Microsoft to create a [http://en.wikipedia.org/wiki/Cabinet_%28file_format%29 Cabinet File] (.cab-file) containing the relevant ActiveX control and VLC files. MSDN has [http://msdn2.microsoft.com/en-us/library/aa751974.aspx a good description how to package an ActiveX Control], including a link to the CABSDK download page.&lt;br /&gt;
* The .cab-file is a special form of a .zip file, consisting of:&lt;br /&gt;
** axvlc.inf - The INF file, which would be called manifest in the modern age&lt;br /&gt;
** axvlc.dll - ActiveX DLL which bootstraps the VLC setup file&lt;br /&gt;
** vlc-0.8.6c-win32.exe - VLC setup file (refer to your version)&lt;br /&gt;
&lt;br /&gt;
I am using the following code in the INF file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
; Version number and signature of INF file.&lt;br /&gt;
;&lt;br /&gt;
[version]&lt;br /&gt;
signature=&amp;quot;$CHICAGO$&amp;quot;&lt;br /&gt;
AdvancedINF=2.0&lt;br /&gt;
&lt;br /&gt;
[Add.Code]&lt;br /&gt;
vlc-0.8.6c-win32.exe&lt;br /&gt;
axvlc.dll=axvlc.dll&lt;br /&gt;
&lt;br /&gt;
[axvlc.dll]&lt;br /&gt;
FileVersion=0,8,6,0&lt;br /&gt;
clsid={9BE31822-FDAD-461B-AD51-BE1D1C159921}&lt;br /&gt;
RegisterServer=no&lt;br /&gt;
hook=nsiinstaller&lt;br /&gt;
&lt;br /&gt;
[vlc-0.8.6c-win32.exe]&lt;br /&gt;
FileVersion=0,8,6,0&lt;br /&gt;
file-win32-x86=thiscab&lt;br /&gt;
&lt;br /&gt;
[nsiinstaller]&lt;br /&gt;
run=%EXTRACT_DIR%\vlc-0.8.6c-win32.exe&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Again, refer to your version of VLC.&lt;br /&gt;
&lt;br /&gt;
You can extract axvlc.dll from the binary distribution of VLC. This is a zip file on VideoLAN&#039;s download page, version 0.8.6.c [http://downloads.videolan.org/pub/videolan/vlc/0.8.6c/win32/vlc-0.8.6c-win32.zip here].&lt;br /&gt;
&lt;br /&gt;
The VLC setup file is the &amp;quot;featured&amp;quot; download on VideoLAN&#039;s main page; a copy resides in the same directory as axvlc.dll, the VLC setup file of version 0.8.6.c [http://downloads.videolan.org/pub/videolan/vlc/0.8.6c/win32/vlc-0.8.6c-win32.exe here].&lt;br /&gt;
&lt;br /&gt;
With CABSDK installed and the three components in place, you can create the .cab-file using the CABARC tool from Microsoft&#039;s CABSDK, using the following command from a command prompt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;CABARC.EXE N axvlc.cab axvlc.inf axvlc.dll vlc-0.8.6c-win32.exe&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This assumes the [http://en.wikipedia.org/wiki/Path_%28computing%29 PATH] has been set to CABARC.EXE&#039;s directory. If you need to sign the .cab-file, you need to use the -s switch to allocate space for your digital certificate.&lt;br /&gt;
&lt;br /&gt;
===.cab-file Integration===&lt;br /&gt;
The .cab file is integrated as described in the [http://wiki.videolan.org/ActiveX#Samples samples above], using the &amp;lt;OBJECT&amp;gt; element in the case of HTML, for example. When the ActiveX Control is called for the first time, i.e. prior to VLC installation through any means, the setup program should start up. Unfortunately, users have to click through a few dialogs, &amp;quot;allow blocked contents&amp;quot; or deal with other inconveniences, depending on your configuration and the user&#039;s security settings of Internet Explorer. The user must have proper rights to install VLC on the user&#039;s computer; identical to a regular installation of VLC as required by the VLC setup program.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[ http://git.videolan.org/?p=vlc.git;a=blob;f=projects/activex/README.TXT Official ReadMe]&lt;br /&gt;
&lt;br /&gt;
[[Category:Embedded]]&lt;/div&gt;</summary>
		<author><name>LoopyCoder</name></author>
	</entry>
</feed>