Fullscreen Video

Maybe I’m delusional, but I have been searching over and over for clear, simple way in CS3 to play video full-screen in the browser window and have not found anything remotely helpful.

I understand there is the 100% HTML option in the publishing settings, but as far as I know, that won’t stretch a video to the browser’s width & height.

How do I display video playing in full-screen IN the browser window – and not the common esc/full-screen take over seen here http://www.bezzmedia.com/swfspot/tutorials/intermediate/True_Fullscreen_Flash_Mode

Thanks!

Try this, Where the “vid.x” etc will match the instance name of your video instance.

fullScreenBtn.addEventListener(MouseEvent.MOUSE_UP,goFullScreen);

private function goFullScreen(event:MouseEvent):void {
			var scalingRect:Rectangle = new Rectangle(vid.x, vid.y, vid.width, vid.height);
			stage["fullScreenSourceRect"] = scalingRect;
			if (stage.displayState == StageDisplayState.NORMAL) {
				stage.displayState = StageDisplayState.FULL_SCREEN;
			} else {
				stage.displayState = StageDisplayState.NORMAL;
			}
		}