www.mediacollege.com | Support Forum
MC Media Player

MC Altair : Examples

The examples below show different configurations of the MC Altair player. These examples are all 16x9 (widescreen) but you can do the same things with 4x3 aspect ratio.

Example 1
This is the default configuration. The control panel is at the bottom of the screen, overlaid on the video at 50% opacity. The panel can be hidden with the small button on the left. No preview image is defined.

Code for this config:

fpFileURL = "vision2004.flv";


Example 2
A preview image is added. The control panel is slightly more transparent, and fades out automatically when the mouse moves off the player (IE/Opera users need to click first).

Code for this config:

cpBackgroundOpacity = "30";
cpHidePanel = "mouseout";
fpFileURL = "../../files/vision2004.flv";
fpPreviewImageURL = "../../files/vision2004.jpg";

Example 3
The video screen is slightly smaller and fits above the control panel so there is no overlay required. The background color is set to black, the control panel is always visible, and the big play button is more transparent.

Code for this config:

cpBackgroundOpacity = "100";
cpHidePanel = "never";
fpButtonOpacity = "20";
fpFileURL = "../../files/vision2004.flv";
fpPreviewImageURL = "../../files/vision2004.jpg";
playerBackgroundColor = "0";
videoScreenPosition = "24x3";
videoScreenSize = "432x243";

Example 4
The control panel is smaller and repositioned. The panel fades out when the mouse leaves the player, but with a 1.5-second delay. The big play button does not appear at all.

Code for this config:

cpBackgroundOpacity = "40";
cpHidePanel = "mouseout";
cpHideDelay = "1.5";
cpPosition = "60x240";
cpSize = "360x18";
fpButtonOpacity = "0";
fpFileURL = "../../files/vision2004.flv";
fpPreviewImageURL = "../../files/vision2004.jpg";

Example 5
The player is approx 1/2 size.

Code for this config:

fpFileURL = "../../files/vision2004.flv";
fpPreviewImageURL = "../../files/vision2004.jpg";
playerSize = "320x180";

Example 6
Streaming video.

Code for this config:

streamingServerURL = "rtmp://example.com/streamingApplication";
fpFileURL = "vision2004.flv";