Dynamic Playlist in Clipbucket

General discussions related to php

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 3
Joined: Sat Jul 21, 2012 1:30 am

Dynamic Playlist in Clipbucket

Postby sherazkhan » Sat Jul 21, 2012 1:52 am

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: Select all

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..

Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 3 guests