Command Reference - Media Player Object Actions
Plays a Media Player Object (i.e., tells it to start playing).
|
Action ID: |
47 |
The name of the Media Player Object that you want to play.
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 play.
This action will always fail on a 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 play. In other words, the object exists, but it doesn't have anything "inside it" yet.
If you want to
play the media as soon as a page opens, use this action on the Media Player
Object's "On Stream Open" event. (The "On Stream Open"
event is the earliest point at which the Media Player Object can be played.)
Or, just set the Automatically start playing media
option for the Media Player Object itself. (You can access this option
by pressing the Advanced Options button
on the Settings tab of the object's Properties
dialog.)
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|
|
1 |
MSG_ERR_PLAY_MEDIA_PLAYER_OBJECT |
MSG_ERR_PLAY_MEDIA_PLAYER_OBJECT |
|
2 |
MSG_ERR_PLAY_MEDIA_PLAYER_OBJECT |
MSG_ERR_PLAY_MEDIA_PLAYER_OBJECT |