Add element type switching based on media file type

Basically, if it's an mp3 and the player tag is video, use audio
otherwise, use video
.changeElementType() came from a gist I found: https://gist.github.com/etienned/2934516

Thanks eternalsword!