Tuesday, October 13, 2009

I have web audio file play when my home page is visited. How can I only make it place once-during th

IE: while naviagting through the site if you come back to the home page the web audio plays again. Is there a way to make it play one time during a visit?



I have web audio file play when my home page is visited. How can I only make it place once-during the visit?





The only way that you can accomplish this objective is to use a server-side language to put an expiring cookie on user%26#039;s computer to determine that the user is still in the current visit.



As another poster answered, putting audio on your web site that automatically plays is a bad thing. If you really want to put audio on your site, you should only do so through Adobe Flash where the audio file is compressed for better loading/buffering and with the default of %26quot;off%26quot; and give the user the control to play the audio if he/she would like.



I have web audio file play when my home page is visited. How can I only make it place once-during the visit?



ask someone else



Other Replys:a) i beleive it is something like %26lt;loop=%26quot;false%26quot;%26gt;but that may not be the right tag exactly, keep asking.



Other Replys:Please avoid putting music on your web site - allow the user to click to turn it on or off. To stop repeats, you need to use a cookie.

No comments:

Post a Comment

Blog Archive