Location: PHPKode > projects > PHP Media Manager with IMDB > gen.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>Flash player</title>
<script type="text/javascript" src="swfobject.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p>
<?php
include 'config.php';

// The following section uses JW FLV player, which can be downloaded from http://www.jeroenwijering.com/?item=JW_FLV_Player
// In this case I am not using it for commercial purposes, but it is your responsibility to ensure that you are in full compliance of the player's terms of use.

echo "
<embed
src=\"".$httppath."/mediaplayer.swf\"
width=\"".$player_width."\"
height=\"".$player_height."\"
allowscriptaccess=\"always\"
allowfullscreen=\"true\"
flashvars=\"height=".$player_height."&width=".$player_width."&file=".$httppath."/".$flvdir."/".$_GET['id'].".flv\"
/>
";
?>
</p>
</body>
</html>
Return current item: PHP Media Manager with IMDB