ronz Posted September 23, 2007 Share Posted September 23, 2007 Can someone recommend the easiest way to play a simple audio clip from a PHP program. Presume it would use a .wav file. Quote Link to comment https://forums.phpfreaks.com/topic/70324-play-simple-audio/ Share on other sites More sharing options...
thewooleymammoth Posted September 23, 2007 Share Posted September 23, 2007 ... sure <?php echo "<embed src="yourmusic.wav" width="140" height="40" autostart="false" loop="FALSE"> </embed>"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/70324-play-simple-audio/#findComment-353272 Share on other sites More sharing options...
ronz Posted September 23, 2007 Author Share Posted September 23, 2007 This appears to want to play via quicktime or equiv. Isn't there a way to do it without having to download a player? The system makes all kinds of sounds without using a player. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/70324-play-simple-audio/#findComment-353282 Share on other sites More sharing options...
thewooleymammoth Posted December 24, 2007 Share Posted December 24, 2007 uuhm idk any ohter way of doing it, perhaps through a flash player, but other than that i dont htink you can just use peoples system resources Quote Link to comment https://forums.phpfreaks.com/topic/70324-play-simple-audio/#findComment-422238 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.