PDA

View Full Version : Video Challenge if you are up for it



DanceParty
09-13-2002, 08:12 AM
I am creating a CD that shows videos of interviews. The project I make will be used over and over, new logos, text and videos will be added but the interface will be the same. I am trying to create this so when a new one comes it will be easy to change the cd to be used for the new files.

Here it is.

On Project Initialize I set a variable %Video1FileName% = Video1.mpg

On the home page there is a link to video 1. On the mouseUp of that link I set %VideoToPlay% = %Video1FileName%

Now on the play button logically I would do a (%VideoToPlay%).play

How do I put a media object on the page to reflect this. When I try to add one to hold the space for the %VideoToPlay% to play it askes for a file name.

Can I make a dummy one? If so how do I change the file name of the "fake" file?

Lorne
09-13-2002, 08:31 AM
Instead, use a normal Media Player Object, and load the mpeg into that object using the "Media Player Object - Load" action.

BTW, you could even make it automatically load whatever MPG is found in a certain folder (use a "File - Search"), or just always name your MPEG files with the same name and load that.

DanceParty
09-13-2002, 09:09 AM
What do you mean by a normal media player object?

Lorne
09-13-2002, 09:42 AM
I mean, a normal Media Player Object. /ubbthreads/images/icons/smile.gif

Just put a Media Player Object on the page, enable the "external reference" option, and leave the filename blank.

Then use a "Media Player Object - Load" action to load the video file into the object at run time.

eric_darling
09-13-2002, 10:43 AM
Lorne... You are so smart. /ubbthreads/images/icons/smile.gif I love this forum.

alibaba
09-13-2002, 06:38 PM
"show object" and "hide object" commands on play and stop button do the same trick.
I have 1 Video running like that.