View Full Version : newbie question about including media player on cd/dvd


simam3k95
21st February 2004, 05:11
hello all!
i'm really new into this stuff as i'm struggling to find a way to include a player (preferebly media player classic) on the burnt cd to ensure playback compatibility on different computers (assuming the appropriate codecs are installed on those computers). Is there a way to play the movie using the included player i.e. without inatalling it on the target computer? if there is, what would be the media player file structure on the cd? would it be just the .exe file or in some other structure?

please help and thanks in advance.

communist
21st February 2004, 08:19
You just need to put the appropriate (Win9X / XP) exe on to the cd. You can also use the switches (MPC -> Help -> Command line switches) in MPC to autorun the avi in fullscreen using a autorun.inf file :)

simam3k95
21st February 2004, 10:52
Thanks for your reply.
I'm still a little confused so please bear with me. say, I've included the .exe for wmp 8.0 in the cd but the target computer has only wmp 9.0 installed, in this case if I autorun the movie with the inf file, will it play in wmp 8.0? In similar scenario, if I just include the MPC's .exe on the cd, will it play in MPC regardless of the wmp's version on the target computer?

Thanks again.

avih
21st February 2004, 11:21
communist was talking specifically about MPC. puting the executable of WMP8/9 is impossible imho. mplayer2.exe (WMP 6.4) might work though.

simam3k95
21st February 2004, 13:10
Thanks again for the clarification. I'll try this as soon as I can.
One more thing, does anyone in this forum has javascript proficiency? I'm looking for code that can invoke helper application (in this case MPC) from the browser window (IE 6).
Thanks again.

avih
21st February 2004, 13:36
i don't think that invoking a specific application has anything to do with javascript.

generally speaking, a web page should not be able to invoke a specific application on the user's computer (imagine a web page that invokes 'format.com' ;) )

a web page can, however, have a link to the target object (the movie in our case). and IF the browser has this extension/mime-type associated properly, it will invoke the associated application.

one possible (although not standard-complient) solution is to include a batch file somewhere on your cd, that starts the player with the movie (according to it's command line parameters). your user can then either click the batch file on the cd, or click a link that points to this batch file from the web-page u want to include. when the user clicks the link, the browser (ONLY IE) will ask if u want to run this application. answering 'yes' will execute the batch file.

simam3k95
21st February 2004, 13:59
Thanks for your reply.
What I meant by 'invoking a helper application from the web page' was for the code written for that link (instead of just pointing to a file i.e. batch file as suggested) which will then call the application (MPC in this case) and passing the appropriate parameters to the player (inf, batch etc.. can be used for this) through the javascript code. In this way 'file download dialog screen' in IE can be avoided.
Thanks again.

port66
28th February 2004, 11:50
just put the movie file name in the autorun.ini. usually works,