
dave cantera - 2007-12-09 16:33:28
hi,
I was expecting to untar the release into a webserver accessable directory and launch my browser pointing to the example.php script and get a videoplayer. that did not happen, I got a blank page.
can't show that of course...
when I added some html to the page.
<HTML>
<HEAD>
<TITLE>Player</TITLE>
</HEAD>
<BODY>
<H2>videoplayer example</H2>
<?php
/// Include the class
require_once('VideoPlayer.class.php');
/// Player contructor
$player = new VideoPlayer('http://ianitsky.com/files/teste.flv', '400', '350', 'true');
/// Echo the player method for print the player plugin
echo $player->player();
?>
</BODY>
</HTML>
here is what I got.
<HTML>
<HEAD>
<TITLE>Player</TITLE>
</HEAD>
<BODY>
<H2>videoplayer example</H2>