- Players
- MC 180x180
- Instructions
180x180 Player HTML Code & Configuration
NOTE: This player has been superceded by MC Altair. The instructons below are for legacy reference only.
To embed the 180x180 MC Media Player on your web page, use the HTML code below. You need to edit both instances of the video file name (highlighted in red).
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="180" height="180" align="left">
<param name="movie" value="mcmp180x180_player.swf">
<param name="quality" value="high">
<param name="Flashvars" value="vidfile=myvideoclip.flv>
<embed src="mcmp180x180_player.swf" width="180" height="180" align="left" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" Flashvars="vidfile=myvideoclip.flv"></embed>
</object>
The code above is all you need, but there are more variables available if required. Here is the complete list:
Variables |
|
| vidfile | URL of the video clip. |
| clipname | Title of the video clip. |
| tn | Thumbnail image displayed at startup (should be 180x135 pixels). |
| startup | What happens when the player first loads. There are three options: none (default): Displays thumbnail image (if defined) and Play Video button. The video does not begin buffering until this button is pressed. load: Displays video screen and controls. The video begins buffering but does not begin playback until the Play button is pressed. play: Displays video screen and controls. The video automatically loads and begins playback. |
| buf | Video buffer time (in seconds, default is 4). |
| The following variables should only be used for video clips which do not include valid metadata. Use them if you experience problems with video size or if the seekbar fails. | |
| dur | Duration in seconds. |
| res | Pixel resolution in the format "widthxheight", e.g: res=320x240 |
The following example uses all seven variables. Remember to separate each variable with an ampersand.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="180" height="180" align="left">
<param name="movie" value="mcmp180x180_player.swf">
<param name="quality" value="high">
<param name="Flashvars" value="vidfile=barsandtone.flv&clipname=Bars and Tone&tn=myimage.jpg&startup=load&buf=5&dur=120&res=320x240">
<embed src="mcmp180x180_player.swf" width="180" height="180" align="left" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" Flashvars="vidfile=barsandtone.flv&clipname=Bars and Tone&tn=myimage.jpg&startup=load&buf=5&dur=120&res=320x240"></embed>
</object>
Notes:
- The code above assumes the player file (mcmp180x180_player.swf) is located in the same directory as the web page. You can place the file elsewhere if you like — edit both instances of the swf file name accordingly (e.g ../../mcmp180x180_player.swf). This is a good idea if you want to use the player on multiple pages.
- The vidfile and tn URLs are relative to the player file, which is important if the player is in a different directory.