reverting back to setting width and height instead of using 100%
if the player.element is a video object, handle things differently.