Welcome Guest, Not a member yet? Register   Sign In
Dynamic Playlist in Clipbucket website using flowplayer
#1

[eluser]Unknown[/eluser]
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

Code:
playlist: [
    //{url: 'http://blip.tv/file/get/KimAronson-TwentySeconds59483.flv', duration: 20}
<?php
  // Set up server connection and open database, ready it for queries...
  $hostname='mysql16.000webhost.com';
  $username = "a3675993_12";
  $password = "ak75979836";
  $dbname = "a3675993_12";
  $dbConn = mysql_connect( $hostname, $username, $password );
  @mysql_select_db($dbname);
  //$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
http://www.scenicchannel.com
Waiting for a good response from all members..




Theme © iAndrew 2016 - Forum software by © MyBB