PDA

View Full Version : Paje jump and open file browser


synistics
06-24-2004, 12:48 PM
after donwloading the video file I want to be able to jump to the player plugin page (yes I have them on two seperate pages for demo purposes).

Dialogue has down load complete

Page jump

but then on the automatic jump in I want to open the file browser to load the video?

Any quick thoughts?

TIA

I started dreaming here, but I am sure there is information carried from the page left

if last.page == "demo" then
--Allow the user to select a media file to play
strFilters = "All Video Files (*.avi;*.asf;*.mpg;*.mpeg;*.wmv)|*.avi;*.asf;*.mpg ;*.mpeg;*.wmv|All Files (*.*)|*.*|"

file = Dialog.FileBrowse(true, "Media File", _DesktopFolder, strFilters, "", "mpg", false, true)

--if the user did not press cancel, load the file selected.
if file[1] ~= "CANCEL" then
MediaPlayer.Load("plgMSMediaPlayer", file[1]);
MovieLoaded = true;
end
end