home *** CD-ROM | disk | FTP | other *** search
- !ScalaScript
- //$Id: player.sca,v 0.2 1997/10/16 14:54:20 marius Exp $
- EVENT
- // If you want to force playback to use a single screen resolution,
- // you can set these to the desired dimensions, e.g. 640/480,
- // 800/600, and so on.
- Screen.ViewWidth = 0;
- Screen.ViewHeight = 0;
-
- // If you want to force playback to use a single screen color mode,
- // you can set this to "PaletteMapped" (256 colors), "HiColor" (65K
- // colors), or "TrueColor" (16M colors).
- Screen.ViewColorModel = "Adapt";
-
- // Audio defaults to playback in 22kHz 16bit. You can reduce
- // this to 22kHz 8bit by setting this to "Low", or increase it to
- // 44kHz 16 bit by setting this to "High". Note that higher audio
- // quality uses more computing resources to play audio, hence there
- // will be less resources available for graphics performance.
- Sample.Quality = "Medium";
-
- // Hardware MPEG Settings:
-
- // Forced MPEG PlayBack Mode ("None" / "256 Colors" / "High Color" /
- // "True Color")
- MPEG.ForceMode = "None";
-
- // Forced MPEG PlayBack Width and height.
- MPEG.ForceWidth = 0;
- MPEG.ForceHeight = 0;
-
- // Forced MPEG PlayBack Frequency (0 for current)
- MPEG.ForceFrequency = 0;
-
- // Set to TRUE if we should use 16-bit MCI commands (in case it's a
- // Windows 3.1 driver)
- MPEG.Use16BitMCI = FALSE;
-
- // Set to TRUE if DirectDraw should be disabled during playback
- // (driver may use DirectDraw)
- MPEG.DisableDirectDraw = FALSE;
-
- // Set to TRUE if DirectSound should be disabled during playback
- // (driver may use MCI)
- MPEG.DisableDirectSound = FALSE;
-
- // Set to TRUE if DoubleBuffering should be disabled during playback
- // (if no hardware overlay)
- MPEG.DisableDoubleBuffering = TRUE;
-
- // Set to TRUE if window should be maximized before playback
- // (if fullscreen is not default)
- MPEG.MaximizeOnPlayback = FALSE;
-
- // Set to TRUE if we should close MCI after playback (in case
- // driver is leaking memory++)
- MPEG.CloseMCIAfterPlayback = FALSE;
-
- // Prevents driver from halting us, set to number of minutes
- // (e.g. 15) or 0 for auto-detect
- MPEG.InactivityTimeout = 15;
-
- // Set to MPEG Device Type (mpegvideo/avivideo/activemovie/
- // mciqtz32.dll/MpegVideo,MKEDVD)
- MPEG.DeviceType = "mpegvideo";
- END
-