>>6640151thanks anon, it worked perfectly
one more question, just want to know how to make a play button that transforms into a pause button? I know how to set the functions for the player, but I'd like to not have a play button AND a pause button always on the screen.