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. 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>"; ?> 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. 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 Link to comment https://forums.phpfreaks.com/topic/70324-play-simple-audio/#findComment-422238 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.