dousha1873
dousha1873
2011-05-12 14:34

嵌入随机命名的MP3

  • random
  • mp3
  • php
  • html

Here's my code:

<embed src="/sound/lowyourchicken.mp3" 
width="140" height="40" autostart="true" loop="TRUE"> 
</embed> 

I would like the src for the .mp3 to take in to account that there are many randomly named .mp3 files in the /sound/ directory, and to choose one at random each time the page is opened. Any clues for me?

My server is PHP enabled but I'd like to keep this as simple as possible.

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答

为你推荐