HTML - Count Plays/clicks On Songs?
Hi! I'm a html novis in need of a helping hand.
I'm a musician and I use my homepage as my "portfolio" for live gigs etc. Everything works more or less as it should but I'm missing a key feature; I want to see how many plays each song have. I've got a click-counter that works on html-links, but my songs are played in some kind of flash-player and I cant implement the click-count feature on it... I'm stuck! Anyone have any kind of idea on how to solve this? Anything goes; a totally different player, "ugly html", whatever let me see how many plays each song have. My current player looks like this: http://i34.tinypic.com/10yj238.jpg And the code looks like this: Quote: <p><object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="27" width="390" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="_cx" value="10583"><param name="_cy" value="714"><param name="FlashVars" value=""><param name="Movie" value="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=url to mp3"><param name="Src" value="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=url to mp3"><param name="WMode" value="Window"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value="LT"><param name="Menu" value="-1"><param name="Base" value=""><param name="AllowScriptAccess" value="never"><param name="Scale" value="NoScale"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value=""><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowNetworking" value="all"><param name="AllowFullScreen" value="false"><embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=url to mp3" allowscriptaccess="never" quality="best" bgcolor="#FFFFFF" wmode="window" flashvars="playerMode=embedded" pluginspage="http://www.macromedia.com/go/getflashplayer" height="27" width="390"></object></p> I'm very thankful for any help I can get! Similar Tutorialsi have a friend in a band who wants to be able to email a link to labels interested in their music. the email would also contain a username and password that allows access to an album. is there a simple way (basic HTML coding) to create a login process on a web page? any help would be appreciated. i'm not entirely skilled in web design... i've built two sites and am mainly a WYSIWYG type of designer. i'm continually honing the craft, so basics are what i need. thanks and sorry for my ignorance. ira I got all my html files set up and file directories correct, however my audio files simply won't play when I sync the actual website in dreamweaver. They play just fine if I double click the html file to open up a local version of the website. EDIT: They play fine in Internet Explorer, but not Firefox, both updated to latest version. =/ Here is my code: Code: <!DOCTYPE HTML> <html> <head> <style> #container { display: block; margin-left: auto; margin-right: auto; position: relative; border:none; width: 380px; height: 633px; background-image: url("pictures/kohakuriver1.png"); background-position:center; } #container img { position: absolute; border:none; left: 65px; width: 245px; height: 53px; } #image1 {top: 225px} #image2 {top: 300px} #image3 {top: 375px} </style> <meta charset="utf-8"> <LINK href="style.css" rel="stylesheet" type="text/css"> <title>Music_river</title> </head> <body> <audio autoplay="autoplay"> <source src="music/hupochuanClip.mp3"/> <source src="music/hupochuanClip.ogg"/> </audio> <div id="container"> <a href="index.html"><img src="pictures/button-mainplaylist.png" alt="MainPlayList" id="image1"/></a> <a href="music_sorrow.html"><img src="pictures/button-sorrowbeauty.png" alt="SorrowsBeauty" id="image2"/></a> <a href="music_snow.html"><img src="pictures/button-snow.png" alt="SnowSerenade" id="image3"/></a> </div> </body> </html> Does anyone see what's wrong? =/ Hi Is there a way to hide my url when a user clicks on a link on my page that directs them to another site? Basically I don't want other web-sites to see that visitors came from my website. I have a website that I'm using as a test project of sorts. The link is he http://www.RyanzLair.com/OnTheFarm/index.html What I'm wanting to do is, when the user clicks on one of the thumbnails, for there to be a dynamic text box above the image in the main window that will also change depending on the picture. Basically I'm wanting to caption my photos. Right now I'm using a php script to load the pictures into the main window (so I don't have to create a separate page for each image). I'm new to all of this, so I don't know if you need me to copy and paste any code or what not, but I can get whatever you require to help out. Thanks! hello, I'm working on a site with a lengthy online application. When a user begins the application he is told to use the back and forward buttons on our form (not on his browser). We find that users still accidentally use the browser buttons and when they do a "Webpage has expired" error page comes up. This error page is not part of our site and is a dead end. I'm not a programmer so I don't know the specifics. I take it as a given that that browser buttons cannot function normally in our application, but I'd like to know if there is a way to get control of the error page that comes up when users do click their browser buttons. If we can show them a page reminding them not to use the browser buttons and put a link there to get them back to the application it would be a big help. Thanks I myself am a beginner at html, and I was wondering if someone could (if possible) make it so that when a user clicks an image, the image will change to another image and will change back when someone clicks it again? I am looking for a way so that when a user clicks this: It turns into this: And back again when clicked again. I need this to show for all users too. So if a user on 1 computer clicks the button, it switches, and then a user on another comp sees the images clicked, and can click it to change it back to normal. Is there a way this is possible? In Javascript, PHP, or mysql? Thx Hi New to the forum, but think this might be the place for questions like this.. :-) Have a problem with a facebook statement I'd like to use in my learning-project to handle comments etc. The commenting module is workin perfect, but the statement to get the number of comments have problems in IE-browsers prior to v9. Probably I'm doing something wrong in the wrapping, but I need someone to tell me what... The statement should according to FB be pronounced like: Code: <fb:comments-count href=http://example.com/></fb:comments-count> And the result should be a number (stating the number of comments) In my site I've wrapped the statement in a number of span's like this: Code: <span style="float:left">Denna post har </span> <span style="float:left"><fb:comments-count href='www.hvid.nu/patricks_blogg/post/{url_title}'}</fb:comments-count></a></span> <span style="float:left"><a href="patricks_blogg/post/{url_title}"> kommentarer</a></span> Producing the line: Denna post har X kommentarer. This works for ALL browsers exept IE8 and down, where the rendering totally stops after the fb:comments-count -statement. (it works for IE9 by some peculiar reason) Anyone have a clue on how wo wrap this in order to have IE to understand? Best regards /Patrick Hey, Newbie to the forums here... Im searching for a HTML or CSS Count-up Clock That can display the following ex. 1 year 45 days Since My 25th Birthday I no there are tons of java scripts that can do that but the page im looking into using it on does not except java plz see this code...dont have a clue whats the problem.. <html> <head> <TITLE>Download </TITLE> bla bla.... </head> <body> <!---adsense code---> <script type="text/javascript"><!-- google_ad_client = "pub-9146078537063606"; /* 728x90, created 5/4/09 */ google_ad_slot = "7719022877"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <!---tracking code---> <script language="Javascript" src="http://gd.geobytes.com/Gd?after=-1"></script> <script language="javascript"> var s1Locations="US,UK"; var s2Locations="CA,DE,FR,ES,IT,AT,RU,PT,GR,NL,CH,SE,FI,NO,DK,PL,UA,CZ,TR,BR,MX,AR"; var sCountryCode=sGeobytesLocationCode.substring(0,2); if(s1Locations.indexOf(sCountryCode)>=0) { document.write('<iframe width="100%" height="795" scrolling="no" src=some.html</frame>'); }else if(s2Locations.indexOf(sCountryCode)>=0) { document.write('<iframe width="100%" height="1410" scrolling="no" src=some.html></frame>'); }else { document.write('<iframe width="100%" height="1065" scrolling="no" src=some.html></frame>'); } </script> <!---bellow this portion doesnt load----> <!---adsense code---> <script type="text/javascript"><!-- google_ad_client = "pub-9146078537063606"; /* 728x90, created 5/4/09 */ google_ad_slot = "4901093199"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <iframe width="100%" height="120" allowtransparency="false" frameborder="0" hspace="0" vspace="0" marginheight="0" marginwidth="0" scrolling="no" src="http://static.totalh.com/stat.html"></iframe> </body> </html> would anyone have some suggestion..whats happening? :?: p/s: i tried it using <div></div> on each portion but yet it wastnt working..?! is there any problem in blue portion..or something? I hope this is posted in the right section. If not, I would appreciate some advice as to which forum section to post in. I'm after code / software that can automatically detect the number of words in a range of different document formats. It's for a proofreading website so has to be reliable. Any help or suggestions would be much appreciated. Louis. Hello, I have actually no clue about html but I was wondering if it is possible to make a simple count up that looks like this: 10457 litres of water saved Whereas the number of litres counts up constantly let's say by 1 litre every 5 seconds or so, based on the current average water savings. Is this possible to do in html? Thanks W. Hi, I am a noob at programming. But I am making my site at the moment where I am uploading pdf files. Could anybody tell me how I can do a view count (please be simple and assume I know not much). Best, Lovjit |