Try this simple script
If you are trying to use this in php-nuke, use it to make a BLOCK and then activate the BLOCK in your Admin panel. Won't work in a Message box.
|
Code:
|
<div align="center"<embed AutoStart="true" width="280" height="280" src="http://www.yoursite.com/pathto/yourvideoname.wmv" align="center"
</embed></div> |
embed seems to work for me at my host.
Are you trying to put this in a PHP-Nuke site? If so, where..Like I said a second ago, if you take that code and make a block it should work. You can't just paste the html in the block Admin area, you have to use Nuke Tools
http://www.nukemods.com/modules.php?name=PHP-Nuke_Tools
So the above would look like this
|
Code:
|
<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content .= "<div align=\"center\"<embed AutoStart=\"true\" width=\"280\" height=\"280\" src=\"http://www.yoursite.com/pathto/yourvideoname.wmv\" align=\"center\">";
$content .= "</embed></div>";
?> |
then save as block-Movie.php and upload to your blocks folder, then Activate that block under your Admin panel/Blocks.