Old 16th January 2007, 05:50   #1
n_baua
Member
 
Join Date: Aug 2006
Posts: 86
Display a Video File in Custom Page

Hi,

I want to display a video file within NSIS custom page, I poped up the video using nsExec::Exec command but the damn client wants it in the setup page it self, any ideas..?

PS.

Hello Red wine,
I have seen your "AMAZING NSIS" post but is there any way to include it in the custom page as a control?

See the screen shot for what I want...
Attached Images
File Type: gif vid_snap.gif (15.9 KB, 238 views)
n_baua is offline   Reply With Quote
Old 16th January 2007, 06:17   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Thanks
I'm afraid yet there isn't such a plugin that would be able to open a video frame within nsis page.
Alternatively you may look at AnimGif plugin,
http://nsis.sourceforge.net/AnimGif_plug-in
or you may try open a registered video file with ExecShell open, or create a video player window with a 3rd party application (e.g. multimedia builder) and pop up this app thru nsis.

EDIT:
Perhaps InstallOptionsEx would be able to display a video frame.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

Last edited by Red Wine; 16th January 2007 at 08:56.
Red Wine is offline   Reply With Quote
Old 16th January 2007, 10:12   #3
n_baua
Member
 
Join Date: Aug 2006
Posts: 86
hi Red Wine,

Thanks for prompt reply.

I poped up the Media Player, but client is not happy with it, saying this is opening another window and looks odd for the users as they might think it is out of the setup and close it. Anim Gif is another good idea but the quality of images may be the problem, but still would try it.

Steps I want to perform:

1. Show the user a custom page with option to select Tour
2. If selected show another custom page with Video/Flash
3. Wait till the tour is over.
4. Perform install.

I am also OK with the Flash file even, coz this is going to be a guided tour kind a thing. This will tell the user how the setup is going to change the settings and when asked what all services user will have to modify manually.

Somebody did it with the Flash[Yes I digged that in NSIS forum only], but he[I do not recollect his name] claims that he is busy and can not share the code.

Any ideas further...?
n_baua is offline   Reply With Quote
Old 16th January 2007, 10:23   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Quote:
1. Show the user a custom page with option to select Tour
2. If selected show another custom page with Video/Flash
I believe after all the things that you have discovered, and according to your plan, the best way should be the creation of a stand alone application that you would launch when users have decided that they want to see the tour. (e.g. hide installer window, execute the external app, then show installer and continue). MM builder (http://www.mediachange.com) is a very good application that is able to create both video and flash stand alone players among a bounce of other great things.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 16th January 2007, 11:59   #5
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
Red Wine already pointed to http://nsis.sourceforge.net/InstallOption****plug-in - avi animation supported.
Takhir is offline   Reply With Quote
Old 16th January 2007, 16:19   #6
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
you could also use the internetexplorer plugin that displays an IE frame in the installer.

and then you write your own small html file that includes a mediaplayer object with <embed> tags

not the finest solution but should work.
Comm@nder21 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump