Command Reference - Media Player Object Actions
Toggles a Media Player Object in or out of "full screen" mode.
Use this action to make a Media Player Object occupy the full width and height of the user's screen, hiding your AutoPlay application (and anything else on the user's desktop).
|
NOTE |
|
|
|
|
|
This action will only work if the Allow change display size option is enabled for the Media Player Object. |
|
Action ID: |
138 |
The name of the Media Player Object that you want to toggle in or out of "full screen" mode.
A true or false value (or a variable that contains a true or false value) that determines whether the Media Player Object will be toggled in or out of "full screen" mode.
If the value is true, the Media Player Object will enter "full screen" mode.
If the value is false, the Media Player Object will exit "full screen" mode.
This action will always fail on a project's "On Initialize" event. When the "On Initialize" event occurs, no objects have been created yet, so there so there is no Media Player Object to toggle.
This action will have no effect if it is called from a Media Player Object's "On Opening Stream" or "On Stream Open" event. If you want the Media Player Object to go full screen as soon as the video begins playing, call this action from the object's "On Play" event.
You can only toggle the "full screen" mode if the Allow change display size option is enabled for the Media Player Object.
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|
|
1 |
MSG_ERR_MEDIA_PLAYER_OBJECT_SET_FULL_SCREEN |
MSG_ERR_MEDIA_PLAYER_OBJECT_SET_FULL_SCREEN |
|
2 |
MSG_ERR_MEDIA_PLAYER_OBJECT_SET_FULL_SCREEN |
MSG_ERR_MEDIA_PLAYER_OBJECT_SET_FULL_SCREEN |
None