jameson9 Posted March 24, 2007 Share Posted March 24, 2007 Hi Does anyone know of a CSS way of playing a .wav or other soundfile when a button is clicked or mouseovered? Quote Link to comment https://forums.phpfreaks.com/topic/44090-onclick-wav-sound-in-css/ Share on other sites More sharing options...
cmgmyr Posted March 24, 2007 Share Posted March 24, 2007 check this out: http://www.webdeveloper.com/forum/showthread.php?t=1101 Quote Link to comment https://forums.phpfreaks.com/topic/44090-onclick-wav-sound-in-css/#findComment-214079 Share on other sites More sharing options...
jameson9 Posted March 25, 2007 Author Share Posted March 25, 2007 So it's just not possible in CSS? Quote Link to comment https://forums.phpfreaks.com/topic/44090-onclick-wav-sound-in-css/#findComment-214539 Share on other sites More sharing options...
cmgmyr Posted March 25, 2007 Share Posted March 25, 2007 your best bet is to use javascript...or flash Quote Link to comment https://forums.phpfreaks.com/topic/44090-onclick-wav-sound-in-css/#findComment-214543 Share on other sites More sharing options...
lando Posted March 26, 2007 Share Posted March 26, 2007 You could also use header() in PHP or something similar in other scripting languages. Quote Link to comment https://forums.phpfreaks.com/topic/44090-onclick-wav-sound-in-css/#findComment-215106 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.