Is it possible to have the player automatically resize itself according to the type of file that is being played?
For example, if in my playlist I have and mp3 file I would like to have the player only be 20 pixels high and about 300 wide. But if the next item in the playlist is an flv video, then I'd like the player to automatically adjust to a bigger size to see the video. If this can be done, how would I do this?

What is going to happen to the other page elements when the player expands?
Are you going to push them over & down or are you going to expand the player over them?
You can see that effect on this Test Page: http://willswonders.myip.org:8074/Simple_Re-Size_OverLayer.html
To do the automatic re-sizing, set up an ITEM listener.
When the index changes, check the type, if it's video, re-size to 300x240, if it's sound, re-size to 200x20.
Of course, the sizes can be anything that you want, I just used those sizes for illustrative purposes.