![]() |
Previous | Next |
The autoStart property specifies or retrieves a value indicating whether the current media item begins playing automatically.
Syntax
player.settings.autoStart
Possible Values
This property is a read/write Boolean.
Value | Description |
true | Default. The media item begins playing automatically. |
false | The media item does not begin playing automatically. |
Remarks
If autoStart is set to true, the media clip will begin playing as soon as Player.URL or Player.currentMedia is set. Otherwise, it will not start playing until the player.controls.play method is called.
Because the autoStart property can be set globally by external events (such as loading a CD), you should set autoStart to false immediately before you set Player.URL or Player.currentMedia if you wish to ensure that the media item does not start playing immediately.
See Also
Previous | Next |