Wait for a media object to finish playback
| <viztask>.waitMediaEnd( | |
| media |
)
media
The media object to wait for
This command will create a Condition object that will wait for the specified media object to reach the end of playback. This command does not start playback on the media, the user must manually do that.
viztask.Condition object