MC Media Player

Create a Welcome Message for the MC Media Player

Media Player with Welcome ScreenThis page shows how to create a simple welcome message for your MC Media Player. The message will appear when the player loads and disappear when the first clip is selected.

The message itself is a simple image file — you will need to create this with your favourite graphics application. You can also use other types of file (swf, flv, mp3) but for this example we will keep it simple and use a GIF file.

The example below is a GIF file made with Photoshop. It is 480x288 pixels which is the optimum size for the 720x360 MC Media Player. If you like, right-click and save this image to practice with. Once you get it working, create your own file the same size and use that instead.

Welcome Screen (GIF file)

To make the file appear in the player you need to define the dfile variable. This variable determines a default file to load at startup.

If you are using the JavaScript implementation:

In the JavaScript file (mcmp720x360.js), look for the dfile variable and define it as follows, changing the file name and path as necessary:

dfile = "welcome_480x288.gif";

If you are using the HTML-only implementation:

Enter the dfile variable like so:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,19,0" width="720" height="360">
<param name="movie" value="../../flashfiles/player/mcmp720x360_player.swf">
<param name="quality" value="high">
<param name="FlashVars" value="dfile=welcome_480x288.gif">
<embed src="../../flashfiles/player/mcmp720x360_player.swf" width="720" height="360" quality="high" pluginspage="" type="application/x-shockwave-flash" FlashVars="dfile=welcome_480x288.gif"></embed>
<div align="center" style="font-size: 11px;"><a href="" target=_blank">MC Media Player ©</a></div>