Is It Possible To Add Hyperlink To Flash Mp3 Player
is it possible to add a hyperlink to flash mp3 player? I not referring to embe link inside flash mp3 player, click <a href= link
<script type="text/javascript">
var s2 = new SWFObject("mp3player.swf", "playlist", "240", "135", "7");
s2.addVariable("file","playlist.mp3");
s2.addVariable("backcolor","0x00000");
s2.addVariable("frontcolor","0xEECCDD");
s2.addVariable("lightcolor","0xCC0066");
s2.addVariable("displayheight","0");
s2.write("player2");
</script>
View Complete Forum Thread with Replies
Related Forum Messages:
Flash Player
Is there any way to check whether Flash Player is instaLLed in cLient's browser using the PHP code?? So that I can launch either flash banner of GIF banner. That wont hurt my visitors saying to install flash player.
View Replies !
PHP And Flash Player? Frames?
I have a website where there is one main index.php page, and the content of the page changes via a menubar basically by checking $_REQUEST to see what page we should display (ie, "index.php?page=main" or "index.php?page=contact"), then an if statement REQUIRES the appropriate content in the middle of the page where the content changes. The problem I'm having is that I have a simple MP3 flash player that I need to play throughout the whole site consistently. But when the user clicks a menubar button, because it reloads the index.php, it also reloads the flash player and so the song jumps back to the beginning. I'm trying to figure out a way to prevent this flash player from reloading each time the page is refreshed with new content. Is there any way to do this, other than putting the flashplayer in a separate frame? That's the only solution I've been able to think of and I want to avoid frames.
View Replies !
Flash Player Installed On Client
I have a html page which had a flash file. In the client machine, if Flash player is not installed or not enabled then i have to give an alternate gif image. How to detect, whether Flash player installed in client machine or not. Using PHP or Javascript.
View Replies !
Add A Hyperlink To Flash
I would like to know how to go about adding a link to a flash banner (swf file) that will users to another website. The flash banners are owned by me. I have would like to do it in php code not javascript or actionscript. Also is there a way to add a hyperlink by editing the swf file and resaving it?
View Replies !
How To Open Random Flash Page Using Hyperlink?
I'm new to using PHP so please bear with me. I'm trying to create a hyperlink that will open a random Flash page so that users will see a different flash module each time. Here is some of the code that I wrote but I'm not sure if it'll work since I'm not very good at coding. Oh yeah, I'm not using a database either. // random_menu.html <head> <?php $i = rand(0,3); ?> </head> <body> <a href = "www.x.com/random.php?i=$i">x</a> </body> --------------------------- // random.php <head> <?php $i = $_post["i"]; if ($i = = 0){ $value = "a"; } else if ($i = = 1){ $value = "b"; } ...etc. </head> <body> <object> <param name="movie" value="$value"> <embed src="$value"></embed> </object> </body> Please help if you know how to do this.
View Replies !
MP3 Player
I was just wondering if anyone could point me in the right direction. I have created a web application different to myspace but with some similar features. One of the things I would like to be able to do is for my users to be able to upload their own songs with an MP3 player and also to Upload Videos Does anyone know a script for this or where I can find a good reliable application? - Each user will login with password/username and should be able to upload music/video to their choice I would be very happy if someone could point me in the right direction
View Replies !
Fpassthru And Mp3 Player
I've got musicplayer pointing to a php file which dumps with fpassthru and appropiate headers an mp3 file. If i point the mp3 directly i have no problems, but with the php script songs stop playing when after a while (always at the same length)... I've tried removing headers but then the file does not play at all. With other players i've experience the same cut at the same length. If i don't use the player (ie, dumping the file directly to the browser), i can hear all the song without problems. It seems as if the player only gets ok the first X bytes that got transfered. I want to have the files out of the apache root path, that's why i use the php script to dump the files. This is the file "player.php" which shows the player and dumps the file: <?php session_start(); function filesend($filename,$contenttype,$path,$dispo="inline") { header("Pragma: "); header("Cache-Control: "); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Content-Disposition: $dispo; filename=$filename"); header("Content-Description: $filename"); header("Content-Type: $contenttype"); header("Content-Length: ".filesize($path)); header("Connection: close"); if ($fp=fopen($path,"rb")) { fpassthru($fp); fclose($fp); } } if (isset($_GET["path"])) { $_SESSION["path"]=$_GET["path"]; ?> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="15" id="xspf_player" align="middle"> <param name="allowScriptAccess" value="sameDomain"/> <param name="movie" value="/js/xspf/xspf_player_slim.swf"/> <param name="quality" value="high"/> <param name="bgcolor" value="#e6e6e6"/> <embed src="/js/xspf/xspf_player_slim.swf?song_url=player.php&song_title=<?=basename($_SESSION["path"])?>" quality="high" bgcolor="#e6e6e6" width="400" height="15" name="xspf_player" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <?php } else { filesend(basename($_SESSION["path"]),"audio/mpeg",$_SESSION["path"]); } ?>
View Replies !
Build A Mp3 Player
I'm trying to build a mp3 player, right now I got a mysql with artist and another one linking to their music, but I been using EMBED because I can put a play list of their song, the only problem with this I'm trying to make my website XHTML 1.1 web standard and that's the only thing giving me issues. in short how can I make a play list with the OBJECT and php any one know of a good tutorial.
View Replies !
Music Player
I'm looking to create one of those nifty music players where there are links on a page and you can click one and it will play that audio file on the page in the player...I dont know where to start with this.
View Replies !
PHP Media Player
I'm trying to have a dynamic page where a script calls a file and plays it using the correct plug in. i'll explain it better: In a mysql DB i have data concerning size, path, type (and what else..) of the playable files. Those files will have differents formats (avi, QTVR, flv, jpeg, swf,etc) and so, diffents plugin. Now i need to build a script that fetches that data from the DB and in a PHP page plays it with the correspondent plugin. Is this possible? And if so, can anyone point me out a way to start?
View Replies !
Multi Player Functionality
I am trying to make an RPG using PHP and MySQL. Since RPGs are multiplayer games I am trying to add the multiplayer functionality to the game but I don't know how to do that in PHP. Does anyone know how to add multiplayer functionality using PHP?
View Replies !
Avi, Mpeg Player On My Site
Could you give me the page with free movie player, which I could implement on my site? The player should be similar to the youtube.com players. I would like to upload photos and movies and if it would be a photo it should be resize to small (after clicking it should be enlarged) and shown on the page, and if it would be a movie it should be shown in this movie player. I would like this player to be free and out of charge Player should work with such movies extensions as: - avi - mpeg - wmv and maybe if it is possible:
View Replies !
Windows Media Player And COM - How?
I need to be able to play windows media files on a server to test validity of streaming URL's and whether the file actually plays. This needs to be done serverside (so a check can be run nightly / hourly) so I thought I might use phps COM object to load the windows media player and use the exposed methods to do this. Basically all I will need to do is: check the address doesnt return a 404 etc (easy) check the videos duration. Can someone point me in the right direction to actually using the Windows Media Player with the COM object? I dont know where to find a list of available applications that can be exposed through the COM object, Ive tried a host of options to load the player: $wmp = new COM("WMPlayer.OCX"); $wmp = new COM("WMPlayer.Application"); $wmp = new COM("mplayer2.application"); $wmp = new COM("x-mplayer2.Application"); etc with no luck OR suggest an alternative idea / method? If I cant do this easily I will write a c++ console app to do it but would like to keep it within php to allow easy maintenance / upgrades later on.
View Replies !
Media Player In Browser
need of codings in PHP for. viewing windows mediaplayer videos (wmv,mp3,etc) in browser. when buffering(loading) video file i need to play small sample clips in that place.
View Replies !
Embed Windows Media Player
I would like to embed a window media player in my site using php script. <PARAM NAME="filename" VALUE="video.php?option=1"> Would appreciate if someone could help me with the video.php script.
View Replies !
Windows Media Player File
http://melody.freeprohost.com/test.php In the <PARAM NAME="fileName" VALUE="v835396.wmv">for the embedded video, I tried to use the php $_GET array method but without success. I hope to hide the source code using php script.
View Replies !
Exec To Run Media Player On Server?
Is it possible to allow a web user (intranet) to launch Media Player on the web server? I would like to use a web server as a media server and be able to access and queue mp3 and wma files via a web page. Using IIS 6 and PHP5. I have tried using the exec() command but MP does not launch and there is no error reported in the browser.
View Replies !
Window Media Player Video In Browser
Using the window media player plugin to show a video into the web. But when the page loads some time the video started downloading rather than running in media player. is this the problem of browser? or some thing else? here is my code ....
View Replies !
Use Windows Media Player To Play Videos Of My Server
I dont know if there is a html code for this, but i want to use windows media player to play videos of my server! But i want it to play couple of videos one after another, like after one is done, it moves to the next video automatically! Anyone know how or could help me?
View Replies !
Foreach - Print Out Rushing Yards For Each Week A Player Played
I'm trying to print out rushing yards for each week a player played: This is what I have, but it only echoes "1" for $wk. $rushyard shows all unique values. $rushyard = $data; $newweek = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17); foreach ($newweek as $wk){ foreach ($rushyard as $f) { Â Â echo "<tr><td>$wk</td><td>$f</td></tr>"; } } It currently outputs this: PHP Code: 1Â Â Â Â 108 1Â Â Â Â 51 1Â Â Â Â 58 1Â Â Â Â 0 1Â Â Â Â 102 1Â Â Â Â 77 1Â Â Â Â 101 1Â Â Â Â 86 1Â Â Â Â 48 1Â Â Â Â 94 etc.
View Replies !
MySQL Query - Return Where A Particular Player Is In That List Ordered By High Score.
I have a table that holds players scores for a game im trying to make, what i want to do is return where a particular player is in that list ordered by high score. I know that i could work this out with PHP - but i think that i would need to return the whole player scores table which given there could be a couple of thousand players of this thing (ever the optimist) seems rather drastic given that i just want one tiny number. Code:
View Replies !
Hyperlink
Im making a select statement and the outputs are in a table but i want the entry of a column to be hyperlink to take to another page Code:
View Replies !
FTP Hyperlink
I want to post FTP hyperlinks to save files from a remote server to a local machine. I tried the following code among other solutions with no luck. Will someone please help or make recommendations? I would like an alert box to pop up providing the ability to save the file in a desired local directory. function downLoad () { $local_file = 'C: estFTP' $server_file = 'path/imagejpg; $conn_id = ftp_connect("ftp Server"); // login with username and password $login_result = ftp_login($conn_id, "ftp user", "ftp password"); $handle = fopen("file to open", 'w'); // check connection /*if ((!$conn_id) || (!$login_result)) { echo "FTP connection has failed!"; echo "Attempted to connect to $conn_id for user $ftp_user_name"; exit; } else { echo "Connected to $ftp_server, for user $ftp_user_name"; if (ftp_get($conn_id, $handle, "file to open (e.g. pdf file, image, etc.)", FTP_BINARY, 0)) { echo "successfully written to $local_file"; } // close the FTP stream ftp_close($conn_id); }
View Replies !
Using Hyperlink
Example code: <?php function myFunction() { echo 'The function ran successfully.' } echo '<a href="xxxxx">Link to myFunction</a>' ?> What do I put in place of x? I want the act of clicking the hyperlink to run myFunction().
View Replies !
Displaying A Hyperlink
I pull a string out of MySQL and display it in an html page using PHP. It automatically becomes a hyperlink but if it is a link to a document (www.web.com/test.doc) it won't translate it into a hyperlink. Does anybody know how I might do this?
View Replies !
Hyperlink Query
I have the following line that prints out a record with a link, when you click the link you get more column information in the record. I want to add another field (State) so that I can narrow down the results. How can I pass both the hcounty as I'm doing now, along with state? to the state7.php file? print " <td><bgcolor=#000000><font color=#000000 font color=#000000 face=Tahoma size=2 ><A href='state7.php?searchid=$line[hcounty]'><img src='buttondetail.gif' border=Ɔ'></img></td> ";
View Replies !
Replacing Www... With Hyperlink
i want to replace all entries of beginning with 'www.' and ending with ' ' with a hyperlink to that substring such as: www.google.com := <a href="www.google.com">www.google.com</> can anyone tell me the easiest way to do this?
View Replies !
HyperLink Validatation
I am wondering what approach I could used to validate links. I am building a simple portal type index and I would like to be able to check for broken links weekly. The Database already has a field for link status. I would like to create a script that checks for broken links and changes the status so a human can follow up on it. I am also wondering about how one would “limit” this program. I mean I don’t care if it takes 2 hours just as long as it does run rampant and cause issues with my host. Any thoughts…? I am not looking for a complete solution just a point in the right direction.
View Replies !
URL Text To Hyperlink
here is what i have $threadx = preg_replace("/((ht|f)tp://[^s&]+)/", "<a href="$1">$1[/url]", $threadx); $threadx = preg_replace("/(S+@S+.w+)/", "<a href="mailto:$1">$1[/url]", $threadx); can someone tell me how to make it better, this one completly screws up existing hyperlinks and <img src=""> tags... need to fix it somehow..
View Replies !
Hyperlink With Parameters
Is this how you print a hyperlink passing parameter action , id, qty to another php script? And printing HTML inside php? I giving three sample code in my program. I use quotation around HTML TAG and code so can read by php print command. 1. Hyperlink with parameter to pass print "<a href = "cart.php?action=Add&id=" . $column['SKU'] . "&qty=1">Add Item</a></font></td></tr>"; 2. Printing HTML tag with PHP print command print "<TR><TH>Title</TH><Price</TH><TH>Description</TH><TH>Add Item</TD></TR>"; 3. Here I try to print a drop down list with Javascript onChange event. Notice that I use concatenation between HTML TAG and PHP code. I use to respesent quoatation mark. // print the drop down that will update the qty instantly using Javascript onChange event // the following syntax will look like this in regular HTML code // <select name = "$column['SKU']" onChange = "upDateQty(this)"><option Selected>i</option></select> print "<tr width = 15% height = 25><td width = 15% height = 25><font face = verdana size = 1 color = black>"; print "<select name = "" . $column['SKU'] . ""onChange = "updateQty(this)""; for ($i = 0; $i <= 20; $i++) { print "<option"; if ($rows['QTY'] == $i) { print "SELECTED"; } print ">" . $i . "</option>"; } print "</select></font></td>";
View Replies !
Hyperlink In Email
I have a script where I can send an email. However, in the message of the email i want to send a link to a webpage but can't do it cuz i get errors. I have used <a href </a> but this doesn't work. it just appears as normal text. $message = "message for the email"; $message .= "antoher message"; $message .= "<a href='testing www.google.co.uk'></a>";
View Replies !
Putting A Hyperlink
I am running a bog standard formail style contact details form. I'm a newbie at php but the scripts I have downloaded seem to work very well. What I wanted to do was include a hyperlink into the php generated 'thanks for submitting your detail' page. This guide the user to a free audio download that he/she recieves as a thankyou for submitting the details. I have tried to include a hyper link into the code in the normal way but this messes up the php response. Can anybody offer any help or point me at a tutorial. here is the code I'm working on... echo "<body bgcolor="#AFCDD8" text="#ffffff ext ="arial" link="$link_color" vlink="$vlink_color" alink="$alink_color" $background>cloaked thank you for your submission <a href="jealouskiss.mp3">click here</a> for your free download "; echo "<br><br> "; exit; }
View Replies !
Echo Hyperlink
This has been bugging me for quite a while so wondering if anyone has come accross this type of thing before: My php: PHP Code: onclick="javascript: window.open('current_day.php?day='.$curday.'&month='.$this->activemonth.'&year='.$this->activeyear.'','width=800')">
View Replies !
Display An Hyperlink
In my project,i am getting values from database to my textfield, so after getting values, when i click on a particular value it should open an hyperlink to other frame , displaying an html form, is how can i put an hyperlink inside a textfield,languages iam using-- php, javascript& mysql.
View Replies !
Hyperlink For Download
I managed to display the name of files from a folder but am not able to make it display as a hyperlink such that when i click the link i may download it. <a href="../viraj/project/<?php $filename ?>">Download</a> It display the project directory but does not directly display the file.
View Replies !
Email Hyperlink
I wish to send an email using PHP codes, sendng email no problem. Please guide me on how can I insert into the email a hyperlink, when clicked on this hyperlink you get your connection on a new page.
View Replies !
Individual Hyperlink
God every step i take forward its different. Again am stuck in thhis news. For eg, I got 5 news in my first page so how do i give individual hyperlink to there respective data.
View Replies !
Disable A Hyperlink
How to disable a hyperlink or a textbox or a command button which is in page 2 from page 1? Suppose i have an admin page and a userpage. i have a details page which holds add,delete,view and search links or buttons or textboxes. i want to access all these from admin page.But i want userpage to access only the search feature of details page.
View Replies !
Making A Hyperlink
I want to make the first run through on the for loop a hyperlinked field. do { $myrow = pg_fetch_row($result_set,$rows); printf("<tr>"); for ($i=0; $i < $count_ch; $i++) { printf("<td>"); if($myrow[$i]=='') { $myrow[$i]='-' } printf($myrow[$i]); printf("</td>"); } printf("</tr>"); $rows++; } while($rows < $rowsnum); } printf("</table>"); ?>
View Replies !
Hyperlink Problem
I'm a newbie and have only been doing php and mySQL for almost a month so bear with me. I have been trying to make a hyperlink in my php code from a mySQL table. Let me show you: echo '<p align="center" style="margin-top: 0; margin-bottom: 0">'.'<br><b><font face="Verdana" size="1" color="#FFFFFF">'.$row['website'].'</font></b>' Where in the hell do I insert the code to make $row['website'] a hyperlink?
View Replies !
|