For the music to be extended, you'd need to use an MP3 editor to slice the music together, based on imovie length, then import the extended song file via itunes to the iphone.
I think Quicktime Pro can splice mp3 files, but I am not sure.
The key is, it has to be 1 file. A play list will NOT work.