Showing the controls with ActiveX

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
highlysceptical
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Nov 2005 22:15

Showing the controls with ActiveX

Postby highlysceptical » 15 Dec 2005 19:48

This might be a naive question, but I am playing with the ActiveX component in Delphi. When I play my video clip, it all works fine, except that I get a frameless display and no controls.

Is it possible to display the controls - the time slider, play, stop, play faster, play slower etc.

Also, is it possible to direct the output to a form or a panel, rather than it just appearing where I place the control on my form?

Kyin

How did you play it?

Postby Kyin » 16 Jan 2006 15:51

I am also trying but cannot even play the video. May I know how diod you play it? Thorugh MRL or playlist?
DO you mind posting the source code for loading and playing a media here?
Thanks

highlysceptical
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Nov 2005 22:15

Re: How did you play it?

Postby highlysceptical » 16 Jan 2006 20:29

I am also trying but cannot even play the video. May I know how diod you play it? Thorugh MRL or playlist?
DO you mind posting the source code for loading and playing a media here?
Thanks
The following code works fine for me (buTest is a button on my form):-

procedure TfmMain.buTestClick(Sender: TObject);
var
MRL : string;

begin
MRL := 'd:\test.mpg'; // fully qualified path and filename of movie
VLCPlugIn1.addTarget(MRL, null, VLCPlayListReplaceAndGo, 0);
end;

Hope this helps.

Guest

Re: How did you play it?

Postby Guest » 17 Jan 2006 08:22

THank you for your source code. It works here . Now I am trying my luck to figure out how to get the controls. WIll post here if made any progress. ..
I am also trying but cannot even play the video. May I know how diod you play it? Thorugh MRL or playlist?
DO you mind posting the source code for loading and playing a media here?
Thanks
The following code works fine for me (buTest is a button on my form):-

procedure TfmMain.buTestClick(Sender: TObject);
var
MRL : string;

begin
MRL := 'd:\test.mpg'; // fully qualified path and filename of movie
VLCPlugIn1.addTarget(MRL, null, VLCPlayListReplaceAndGo, 0);
end;

Hope this helps.

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 17 Jan 2006 09:50

The current documentation (I just started, so it is being updated often) for the ActiveX control is this: http://wiki.videolan.org/index.php/ActiveX

I don't see any apparant way of showing the interface, but that doesn't mean it can't be done. Personally, I made my own buttons. You can also use the position and length properties to make your own slider.

Guest

Postby Guest » 17 Jan 2006 14:02

I accidently managed to show the control panel when using activeX. What I did was change the defaultskin to skin2 and save. And then, launch your own program. THe control panel will display automatically. Tried in C++ Builder.
The current documentation (I just started, so it is being updated often) for the ActiveX control is this: http://wiki.videolan.org/index.php/ActiveX

I don't see any apparant way of showing the interface, but that doesn't mean it can't be done. Personally, I made my own buttons. You can also use the position and length properties to make your own slider.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 8 guests