Questions about some activex properties and attributes

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Questions about some activex properties and attributes

Postby da2424 » 02 Jun 2015 19:38

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?

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 21 Jun 2015 16:56

No ideas?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Questions about some activex properties and attributes

Postby Jean-Baptiste Kempf » 16 Jul 2015 11:09

I think they are only from activex v1. But you can add them to v2, if it makes sense.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 16 Jul 2015 21:45

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 ;)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Questions about some activex properties and attributes

Postby Jean-Baptiste Kempf » 16 Jul 2015 22:43

Document :)
And make the same as NPAPI.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 18 Jul 2015 14:50

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Questions about some activex properties and attributes

Postby Jean-Baptiste Kempf » 18 Jul 2015 20:04

Dunno, tbh.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 19 Jul 2015 14:44

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.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 21 Jul 2015 10:31

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 ;)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Questions about some activex properties and attributes

Postby Jean-Baptiste Kempf » 21 Jul 2015 17:14

Ah, possible :)
Ever tried a VB sample with our ActiveX code?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 21 Jul 2015 18:19

Yes, today I have tried to add the ActiveX plugin to a VB project, and it works. (tested with latest nightly)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Questions about some activex properties and attributes

Postby Jean-Baptiste Kempf » 21 Jul 2015 19:32

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?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 21 Jul 2015 23:09

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Questions about some activex properties and attributes

Postby Jean-Baptiste Kempf » 22 Jul 2015 13:58

In the git?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 22 Jul 2015 18:50

Ok.
In which subdirectory?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Questions about some activex properties and attributes

Postby Jean-Baptiste Kempf » 25 Jul 2015 17:03

share/? next to the HTML ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Questions about some activex properties and attributes

Postby da2424 » 25 Jul 2015 19:45

Ok.
I have sent it to the mailing list.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 11 guests