Updated player script to handle resizing of HTML5 component of the SmartPlayer