View Full Version : Dynamic Playlist in Clipbucket using flowplayer

07-21-2012, 12:12 PM
Hi all,
I am using flow player in homepage of my website for a static playlist. Now i am working on dynamic playlist which will pick all the uploaded videos from database and play continously them. For this, i have written this code

playlist: [
//{url: 'http://blip.tv/file/get/KimAronson-TwentySeconds59483.flv', duration: 20}
// Set up server connection and open database, ready it for queries...
$username = "a3675993_12";
$password = "ak75979836";
$dbname = "a3675993_12";
$dbConn = mysql_connect( $hostname, $username, $password );
//$PlaylistName="Test Playlist1"; // Temporary test playlist for testing...
$query="SELECT * from cb_12video='". $PlaylistName ."'"; // Query the database and load the current playlist
$result = mysql_query ( $query, $dbConn);
$row = mysql_fetch_row($result);
$PlaylistData = $row[1]; // NOTE: this is MY database setup $row{0}= playlist name , $row[1]= playlist data (Full playlist)
mysql_close($dbConn); // close database connection...

When i activate this code, the flowplayer does not show on the homepage.. Can anybody help me for developing playlist code? For more information and stydy you can visit my website
Waiting for a good response from all members..