Page 1 of 1

Questions about some activex properties and attributes

Posted: 02 Jun 2015 19:38
by da2424
I have seen the following undocumented properties in the activex plugin:
  • vlc.AutoLoop => Works
  • vlc.AutoPlay => Doesn't work
  • vlc.BaseURL => Works
  • vlc.StartTime => Doesn't work (Has the same problem as the attribute 'src')
  • vlc.MRL => Doesn't work
  • vlc.Visible => Doesn't work
  • vlc.Volume => Works
  • vlc.BackColor => Doesn't work (Has the same problem as the attribute 'bgcolor')
  • vlc.Toolbar => Works
  • vlc.FullscreenEnabled => Works
They are undocumented and only available in the ActiveX plugin. For all of these properties already exists an attribute, see https://wiki.videolan.org/Documentation ... l_elements

Are these properties still needed? Or are these deprecated and/or fragments of the old activex plugin v1?


I also have seen two undocumented attributes in the ActiveX plugin:
  • extentwidth
  • extentheight
For what purpose they are designed?

Re: Questions about some activex properties and attributes

Posted: 21 Jun 2015 16:56
by da2424
No ideas?

Re: Questions about some activex properties and attributes

Posted: 16 Jul 2015 11:09
by Jean-Baptiste Kempf
I think they are only from activex v1. But you can add them to v2, if it makes sense.

Re: Questions about some activex properties and attributes

Posted: 16 Jul 2015 21:45
by da2424
I think so, too.
But currently they are available on activex v2, too.

I don't know if it makes sense. But if, then in the correct sub objects ;)

Re: Questions about some activex properties and attributes

Posted: 16 Jul 2015 22:43
by Jean-Baptiste Kempf
Document :)
And make the same as NPAPI.

Re: Questions about some activex properties and attributes

Posted: 18 Jul 2015 14:50
by da2424
NPAPI doesn't have these properties at this time.

Here is a suggestion what could happen with the old properties:
  • vlc.AutoLoop => Remove, add the replacement vlc.playlist.mode ("default", "loop", "repeat")
  • vlc.AutoPlay => Remove without replacement
  • vlc.BaseURL => No clue if this must be changeable
  • vlc.StartTime => Remove, use vlc.playlist.add() with options argument instead
  • vlc.MRL => Remove without replacement
  • vlc.Visible => Remove without replacement
  • vlc.Volume => Remove, use vlc.audio.volume instead
  • vlc.BackColor => Move to a sub object or rename it?
  • vlc.Toolbar => Move to a sub object or rename it?
  • vlc.FullscreenEnabled => Move to a sub object or rename it?

Re: Questions about some activex properties and attributes

Posted: 18 Jul 2015 20:04
by Jean-Baptiste Kempf
Dunno, tbh.

Re: Questions about some activex properties and attributes

Posted: 19 Jul 2015 14:44
by da2424
I also have seen two undocumented attributes in the ActiveX plugin:
  • extentwidth
  • extentheight
For what purpose they are designed?
It seems that these attributes are not needed, the width and height attributes should be the same.
But I may be wrong.

Re: Questions about some activex properties and attributes

Posted: 21 Jul 2015 10:31
by da2424
It seems that these properties are needed for Visual Studio (For example Visual Basic). This would explain why these properties are only available in ActiveX ;)

Re: Questions about some activex properties and attributes

Posted: 21 Jul 2015 17:14
by Jean-Baptiste Kempf
Ah, possible :)
Ever tried a VB sample with our ActiveX code?

Re: Questions about some activex properties and attributes

Posted: 21 Jul 2015 18:19
by da2424
Yes, today I have tried to add the ActiveX plugin to a VB project, and it works. (tested with latest nightly)

Re: Questions about some activex properties and attributes

Posted: 21 Jul 2015 19:32
by Jean-Baptiste Kempf
Yes, today I have tried to add the ActiveX plugin to a VB project, and it works. (tested with latest nightly)
Can you share a default VB project?

Re: Questions about some activex properties and attributes

Posted: 21 Jul 2015 23:09
by da2424
Yes, today I have tried to add the ActiveX plugin to a VB project, and it works. (tested with latest nightly)
Can you share a default VB project?
Do you mean a completely empty project, in which only the VLC plugin has been added?
Yes, tomorrow I could create this.
Where I should upload this?

Re: Questions about some activex properties and attributes

Posted: 22 Jul 2015 13:58
by Jean-Baptiste Kempf
In the git?

Re: Questions about some activex properties and attributes

Posted: 22 Jul 2015 18:50
by da2424
Ok.
In which subdirectory?

Re: Questions about some activex properties and attributes

Posted: 25 Jul 2015 17:03
by Jean-Baptiste Kempf
share/? next to the HTML ?

Re: Questions about some activex properties and attributes

Posted: 25 Jul 2015 19:45
by da2424
Ok.
I have sent it to the mailing list.