set_autoplay


Description:

public void set_autoplay (bool enabled)

Set the autoplay state of the player.

When autoplay is enabled, player will always try to start playback after current media item changes. When disabled current playback state is preserved when changing items.

Parameters:

this

a Player

enabled

true to enable autoplay, false otherwise.