+klaus23 Posted December 19, 2004 Share Posted December 19, 2004 I'm hoping to place a cache with an association to a well known TV series during the week and would love to have the theme tune playing on the cache page. How on earth do I get that to work? Link to comment
Dave from Glanton Posted December 19, 2004 Share Posted December 19, 2004 Try this.... <html> <head> <bgsound src="MySound.wav" loop="1"> </head> <body> <p>Stuff to go here</p> </body> </html> Link to comment
+rutson Posted December 19, 2004 Share Posted December 19, 2004 (edited) Don't forgot to use a URL for the sound tho: <bgsound src="http://www.mywebspace.com/somefolder/MySound.wav" loop="1"> Edited December 19, 2004 by rutson Link to comment
+klaus23 Posted December 19, 2004 Author Share Posted December 19, 2004 (edited) So, if, for example, I wanted the "Only Fools And Horses" theme, would the code be? <html> <head> <bgsound src="http://www.peckhampouncers.co.uk/THEME.AIF" loop="1"> </head> <body> <p>Cache Description</p> </body> </html> The URL where I found the music is at http://www.peckhampouncers.co.uk/themesongs.html Edited December 19, 2004 by klaus23 Link to comment
+rutson Posted December 19, 2004 Share Posted December 19, 2004 (edited) <bgsound src="http://www.peckhampouncers.co.uk/THEME.AIF" loop="1"> Though I'm not sure is .AIF will work in all computers/operating systems/browsers. And whatever you do, don't include all the HTML/HEAD/BODY stuff in a cache description! Edited December 19, 2004 by rutson Link to comment
+klaus23 Posted December 19, 2004 Author Share Posted December 19, 2004 I can't find another file type - do you mean that it would only work in a Win/IE environment using Media Player? Link to comment
JackiePenn Posted December 19, 2004 Share Posted December 19, 2004 I can't find another file type - do you mean that it would only work in a Win/IE environment using Media Player? No, it should be still be still a cross platform file format. Though the 3 letter version (.aif) is more associated with Apple OS and that crappy player 'quicktime' where as the four letter .aiff was historically the standard format accepted by both Netscape and iexplorer. Webserver and browsers of today should recognise both .aif and .aiff as audio MIMI types. But the browser may pop open a window and use an external player software (such as mediaplayer) to play the sound. But hey... no one uses aif/aiff much any more because of the historical browser issues, it was always a safer bet to use the .wav format. You will likely find that a correctly formatted wav file will be played within most browsers without opening external player windows. If you having problems or wish to avoid compatibility issues, why not covert your file over to a .wav ? Link to comment
+Donnacha Posted December 19, 2004 Share Posted December 19, 2004 (edited) have a look here, but be warned some don't like background audio unless there's an on/off switch for it. Also have a read of this too Edited December 19, 2004 by Donnacha Link to comment
+Team Ullium Posted December 19, 2004 Share Posted December 19, 2004 Thanks for that bit of info stonefisk I have been playing (no pun intended ) around creating cache pages and I have been reading this thread ... and it did occur to me that I might instigate a popup player window on the readers browser and I didn't want to do that if I could avoid it Bill. Link to comment
+Donnacha Posted December 19, 2004 Share Posted December 19, 2004 (edited) Klaus if the .aiff doesn't work, i'll host the wav for you. Both the .aiff and .wav are 1.5MB, so don't forget it won't start to play until it has fully downloaded into the users browser. I know it's not as nice as the .wav but I think you'd be better using a midi...it's only 18KB, and loads instantly. I have both files up on my server so see what suits you best. All you need to do is copy the html below and paste it into the short or log description box. The loop=1 means it will only play once, it can be stoped anyway by hitting the esc key. Hope this helps. <bgsound src="http://www.mccartan.org/klaus/fools.wav" loop="1"> <bgsound src="http://www.mccartan.org/klaus/fools.mid" loop="1"> Edited December 19, 2004 by Donnacha Link to comment
JackiePenn Posted December 19, 2004 Share Posted December 19, 2004 creating cache pages Hey! heads-up ppl! did you see that?.... Ullium is making cache pages! Does that mean he has got a cache in the pipeline? or is this some freaky pass time that some geocachers do? I have a feeling that one day we will wake to find Ullium has unleashed one big cache bomb and he'll have 100 cache placements to his name. Link to comment
+Team Ullium Posted December 19, 2004 Share Posted December 19, 2004 creating cache pages Hey! heads-up ppl! did you see that?.... Ullium is making cache pages! Does that mean he has got a cache in the pipeline? or is this some freaky pass time that some geocachers do? I have a feeling that one day we will wake to find Ullium has unleashed one big cache bomb and he'll have 100 cache placements to his name. Yes very funny ... I would have thought you could have come up with something a bit more original considering that jibe has been done to death ?? Bill. Link to comment
+Daisy&me Posted December 19, 2004 Share Posted December 19, 2004 I'm hoping to place a cache with an association to a well known TV series during the week and would love to have the theme tune playing on the cache page. How on earth do I get that to work? Please don't. It's a pain. Link to comment
JackiePenn Posted December 19, 2004 Share Posted December 19, 2004 (edited) Yes very funny ... I would have thought you could have come up with something a bit more original considering that jibe has been done to death ?? Bill. what ?? you really mean you are creating fictional dry run cache pages to the extend of even adding sound but still have no cache in the works? my that is... well I really don't know what that is. Admit it, you are building a cache clone army that is going to dominate Scotland. Edited December 19, 2004 by stonefisk Link to comment
JackiePenn Posted December 19, 2004 Share Posted December 19, 2004 Both the .aiff and .wav are 1.5MB, <snip> you'd be better using a midi...it's only 18KB, 1.5Mb is waaaay out of order for a forced background sound, 56K modem users will hate you for it. I would go for the suggested midi too. Link to comment
+Team Ullium Posted December 19, 2004 Share Posted December 19, 2004 what ?? you really mean you are creating fictional dry run cache pages to the extend of even adding sound but still have no cache in the works? my that is... well I really don't know what that is. What is your problem Stonefisk??? Link to comment
JackiePenn Posted December 19, 2004 Share Posted December 19, 2004 What is your problem Stonefisk??? guess I'll refrain, serious lack of humor. Link to comment
+Cryptik Souls Crew Posted December 19, 2004 Share Posted December 19, 2004 Please don't. It's a pain. If you are unlucky enough to still be using Internet Explorer then simply clicking the stop button once the page has loaded will kill the music. If you have a decent web browser then you don't get troubled by background music Link to comment
+Team Maddie UK Posted December 21, 2004 Share Posted December 21, 2004 Having tried to encorporate sound into one of our cache pages without success, I also asked the same question. I can't remember now which forum I asked on but the replies were numerous and very, very negative. Clearly, sounds on web pages are not popular. I therefore gave up on my attempt and bowed to the masses. Regards, Martin Link to comment
+Simply Paul Posted December 21, 2004 Share Posted December 21, 2004 Personally I like sound effects and music on cache pages. I think they can help set the scene or add a small twist. If I find them annoying I simply turn the volume of my speakers down, or off altogether. Easy. I would be nice if the next version of IE lets you used HTML code to force repeated playings to fade out though... SP Link to comment
+Pooter Posted December 21, 2004 Share Posted December 21, 2004 If you are unlucky enough to still be using Internet Explorer then simply clicking the stop button once the page has loaded will kill the music. Ah, but by then it's too late. If you're at work, everyone's looking round wondering what "One man went to mow" at full volume has got to do with shoes. If you're at home, all the young telly watchers will finally think that you've lost it at last and start looking up the number of the local care home. There should be a warning in the cache name, as it's getting to epidemic proportions up here. Naming no names!! Link to comment
Deego Posted December 21, 2004 Share Posted December 21, 2004 (edited) If the music/sound will add to the cache you could always put a CLICK HERE FOR THE MUSIC link on the cache page that way people can listen to it if they want or need to. Edited December 21, 2004 by Deego Link to comment
+dunos Posted December 21, 2004 Share Posted December 21, 2004 If you must use sound on a webpage then I suggest that you provide a link to the file so that people can download it if they choose. This is the most accessible and user friendly way of doing it. Forced background sounds can be embarrassing if the user is in a quiet office or a cyber cafe. Secondly forced background sounds can take a long time to download if the user is using a slow connection. Imagine if someone is browsing the page using a PDA over a GPRS connection. A 1.5 Mb background sound could very easily cost them over £4 to receive. The bgsound tag is also not part of the HTML standard. It is a proprietary control. This may cause the page to not work in some browsers. Your page will also not validate as HTML and therefore will not technically be a web page. Being invalid in your HTML is a bit like speaking English with made up words and incomprehensible grammar. In a world where every day more and more legislation is brought in to make information sources more accessible to disabled users, for example the Disability Discrimination Act, using valid HTML becomes increasingly important. Other ways to use media on a website could include embedding the sound in the page using media controls (You can do this using the <object> tag) or by embedding a flash animation to control the sound. I was once working on a website where the previous designer had used a 10Mb mp3 file as a background sound. The file took so long to download that the user had navigated away from the page before it had a chance to start playing. Regards, Dan Durrans Web Systems Developer Link to comment
+Daisy&me Posted December 21, 2004 Share Posted December 21, 2004 Personally I like sound effects and music on cache pages. I think they can help set the scene or add a small twist. If I find them annoying I simply turn the volume of my speakers down, or off altogether. Easy. I would be nice if the next version of IE lets you used HTML code to force repeated playings to fade out though... SP ....but if you're using the PC to listen to something else, CD, digital radio etc. you don't want to have to turn the volume off. Link to comment
+klaus23 Posted December 21, 2004 Author Share Posted December 21, 2004 Right, thanks for the advice. I'll just link it instead. Link to comment
Recommended Posts