PDA

View Full Version : play multiple video clips with one click


willikr
02-06-2003, 02:30 PM
Here's what I'm doing and what I'm tryong to do.

I have been producing Mpeg1 video clips up to an hour long using a VCD recorder, I then copy that clip to my computer's storage drive [Second HDD] and rename it with an MPG extension. First, I tried using the PLAY multimedia command but not everyone's computer is set up with proper associations. So then I got an Idea. I put a copy of mplayer2.exe and the assiciated files in the CDrom folder and used the EXECUTE program so that it looks like this

%SrcDrv%\mplayer\mplayer2.exe
%SrcDrv%\MPEGAV\smavideo.mpg

That works, but I want to be able to launch multiple mpg clips seamlessly. but when I put multpile commands on the action.onclick pane, it opens the first clip, then interupts it immediately and open clip2... thus defeating the purpose.

HELP!!!

Corey
02-06-2003, 02:39 PM
No sweat, just attach a MEDIA PLAYER OBJECT > PLAY action to the OnStreamEnd event of each clip to start the next clip...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

willikr
02-07-2003, 03:27 PM
I actually have ver 3.0 and I am not sure what you are talking about... I am a bit of a novice. For instance... Where do I find the "OnStreamEnd event dialog? Also.. Are you aware that I am executing windows media player and not an embedded video clip.

eric_darling
02-07-2003, 04:13 PM
You have to upgrade to v. 4. There is no Media Player object in version 3.

Lorne
02-07-2003, 05:09 PM
IIRC, isn't there a "wait for program to finish" option that you can set in the Execute command?

If so...try setting that to make the second Execute wait for the first Execute to finish.

Corey
02-07-2003, 08:26 PM
Oops, my bad...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

willikr
02-09-2003, 08:08 PM
there is a "wait for return" but it want's you to re-click the action button. I want it to be seemless.

Lorne
02-10-2003, 10:21 AM
Why would you have to re-click anything? Put the two commands one-after-the-other, tell the first one to "wait for return" so the second one won't happen until the first one is finished.

I'm afraid I don't remember many details about 3.0 so forgive me if I'm missing something obvious.