FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Flash Media Player Running On PHP.





moejoe
Hi.

is there a TUTORIAL on making a Flash Media Player that you can personialise and run it off a MYSQL db.
So the DB is used to collect the Path of the Media (Video).

Something like Youtube.com video player or metacafe.com

Thanks for All your Help!
Philip
are you meant to save a flash file to mysql ? Smile
snowboardalliance
Philip wrote:
are you meant to save a flash file to mysql ? Smile
\

No, he said the path to the video. Sorry I can't help, but just answering the question.
Philip
snowboardalliance wrote:
Philip wrote:
are you meant to save a flash file to mysql ? Smile
\

No, he said the path to the video. Sorry I can't help, but just answering the question.


i see, then u just need to learn php and mysql Smile
i only can said that. good luck Razz

anyway. it's very easy i think, if u could not search it on google.
let me give u some tip.

Code:
<?
//initial
$dbuser="mysqluser";
$dbpass="mysqlpass";
$dbname="mysqldatabases";
$dbz = mysql_connect("localhost", $dbuser, $dbpass) or die ("Unable to connect to database.");
mysql_select_db($dbname, $dbz) or die("Unable to connect to database!");

//collect link from databases where the id link get from address bar.
//ex : www.google.com/index.php?id=5
$query=mysql_query("select id,link from table_link where id=".$_GET["id"],$dbz);
while($row=mysql_fetch_row($query))
{
 echo "The link for download is ".$row[1]."<br>";
}
?>



of course u need to prepare the data table to mysql databases first before user can accessing and get the download link. Wink
the best way is learn all about php and mysql Smile
moejoe
I am Aware with the mySQL basics.

I'd really like to use this in conjuctions with Flash.

So first of all, I need a tutorial that links flash and PHP-SQL together.

and then i need to learn how to create a basic Media player on flash, like the one used on youtube.com
eG: http://youtube.com/watch?v=3gg5LOd_Zus

Thanksss!!
Philip
you cannot be hoped someone to teach all for you. Smile
maybe site like www.hotscripts.com can help you.
u just need to find a script that others someone already typed.
moejoe
hey,

Thanks; found a great link on PHP~Flash conjuction.

I just need to find a Flash Media Player tutorial or pre-made .zip.

Thanks again,
Philip
you are welcomed Smile
it's nice too help people around here #since i was helped here too also Smile#
Related topics
How to make a flash media player???
Media Player 11 beta
World's Best Media Player
No Media Player Windows
media player on the site
Windows Media Player a altyaz eklenebilir mi?
What media player do you like?
Windows Media Player 10
What Media Player Do You Use?
Songbird 0.1 Preview beta(Open-Source Media Player..) I
music with media player
winamp and windows media
Flash Media Server?
Windows media player Radyo Yayn
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.