setAutoplay

Sets whether the player should autoplay when the media is ready.

If autoplay is set to true, the media will automatically start playing when it is loaded and ready. If set to false, the media will require manual initiation to start playback.

Return

the Builder instance for method chaining.

Parameters

autoplay

true to enable autoplay, false to disable it.