Windows Media Player SDK banner art
PreviousNext

Player.fullScreen

The fullScreen property specifies or retrieves a value indicating whether video content is played back in full-screen mode.

Syntax

player.fullScreen

Possible Values

This property is a read/write Boolean.

Value Description
true Video content is played back in full-screen mode.
false Default. Video content is not played back in full-screen mode.

Example Code

The following example creates an HTML input button that uses Player.fullScreen to switch an embedded player object to full screen mode. The player object was created with ID = "Player".

<INPUT type = button 
       value = "Full Screen" 
       name = FSBUTTON
       onclick = "
               /* Check to be sure the player is playing. */
               if (Player.playState == 3) 
                  Player.fullScreen = 'true';
               ">

Note: Always be sure to inform the user how to return from full screen mode.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.