Movie and music loop, in 1 file?

I have a multi-scene music loop, which i learned from here.
Which works fine if i put the movie in a web page. However, i want to use the movie in other ways, so i need the movie and the music all in 1 file.

Does anyone know how i can do this?