Forum Moderators: phranque
<div class="player">
<script>
var VideoID = '1';
var Width = 664;
var Height = 462;
var Background = "#ffffff";
</script>
<script src="http://www.mydomain.com/interface.php" language="javascript"></script></div>
where einterface.php processes the flv files.
This is important because it can protect your flv files from unauthorized download.
<?php
include( 'security.php' );
if ( user_is_authorized() )
{
echo file_get_contents( "my_flv_file.flv" );
die();
}
else
{
die();
}
?>
Obviously, your security functions will be named and processed differently, so you'll have to replace the include at the top and the user_is_authorized() function with your own security implementations.