Hi, I currently use the embed script to play music for my music box

i wonder if there's a way to allow a continuous play of all the songs (.mid files) in the directory. so after it played one .mid, it goes to another. i currently use php to read the contents of the directory. i can get an array of all the .mid names.