 				if(fullscreen == true) {
 					stageRatio = flash.system.Capabilities.screenResolutionX/flash.system.Capabilities.screenResolutionY;
 					nativeRatio = _nativeVideoWidth/_nativeVideoHeight;
-			
+
 					// adjust size and position
 					if (nativeRatio > stageRatio) {
 						_mediaElement.setSize(flash.system.Capabilities.screenResolutionX, _nativeVideoHeight * flash.system.Capabilities.screenResolutionX / _nativeVideoWidth);

			try {
				_controlBar.visible = true;
				setFullscreen(true);
				repositionVideo(true);
				positionControls();
			} catch (error:Error) {
			}

		// END: external interface
		

		function repositionVideo():void {
		
			if (stage.displayState == "fullScreen") {
				fullscreen = true;
			} else {
				fullscreen = false;
			}
			
			_output.appendText("positioning video "+stage.displayState+"\n");

			if (_mediaElement is VideoElement) {

