If all else fails. i just did this on my client's site
|
Code:
|
<?php
if (eregi("block-Movie.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<div align=\"center\"><object classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715,8,9,10\" type=\"application/x-oleobject\" width=\"320\" height=\"300\" standby=\"Loading Microsoft Windows Media Player components...\" id=\"MediaPlayer\">";
$content .= "<param name=\"FileName\" value=\"PATHTO/YOURVIDEO.wmv\">";
$content .= "<param name=\"SAMIFilename\" value=\"PATHTO/YOURVIDEO.wmv\">";
$content .= "<param name=\"AnimationatStart\" value=\"true\">";
$content .= "<param name=\"TransparentatStart\" value=\"true\">";
$content .= "<param name=\"AutoStart\" value=\"true\">";
$content .= "<param name=\"ShowControls\" value=\"1\">";
$content .= "<param name=\"showstatusbar\" value=\"true\">";
$content .= "<embed src=\"YourFile Here\" width=\"320\" height=\"300\" autostart=\"false\" type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba =Plugin&\" ShowControls=\"1\" filename=\"PATHTO/YOURVIDEO.wmv\" samifilename=\"PATHTO/YOURVIDEO.wmv\" animationatstart=\"true\" transparentatstart=\"true\" showstatusbar=\"true\">";
$content .= "</embed></object></div>";
?> |
Copy that code and save as
block-Movie.php
Change the code above to match YOUR path to your file and also change the heights and widths to your preference.
Upload to your /blocks directory
In your Admin, under Blocks, Activate block named Movie in your block drop down list and place it where you want, Center up/Down etc.