setAutoPlay method
Set whether the player should play the media automatically.
Implementation
bool setAutoPlay(bool autoPlay) {
if (!disposed && autoPlay != this.autoPlay.value) {
this.autoPlay.value = autoPlay;
return true;
}
return false;
}