Command Reference - Media Player Object Actions
Pauses a Media Player Object.
|
Action ID: |
48 |
The name of the Media Player Object that you want to pause.
This action will always fail on a page's (or project's) "On Initialize" event. When the "On Initialize" event occurs, the Media Player Object hasn't been created yet, so there is no media to pause.
This action will always fail on the page's "On Show" event. When the "On Show" event occurs, the Media Player Object has been created, but it hasn't opened any media yet, so there is no media to pause. In other words, the Media Player object exists, but it doesn't have anything "inside it" yet.
If you want to pause the media as soon as a page opens, use this action on the "On Stream Open" event for the Media Player Object itself. (The "On Stream Open" event is the earliest point at which the Media Player Object can be paused.)
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|
|
1 |
MSG_ERR_PAUSE_MEDIA_PLAYER_OBJECT |
MSG_ERR_PAUSE_MEDIA_PLAYER_OBJECT |
|
2 |
MSG_ERR_PAUSE_MEDIA_PLAYER_OBJECT |
MSG_ERR_PAUSE_MEDIA_PLAYER_OBJECT |
None