Contents

setAutoplays(_:)

Sets a Boolean value indicating whether the movie automatically begins playing as soon as the scene is presented.

Declaration

func setAutoplays(_ autoplays: Bool)

Parameters

  • autoplays:

    A Boolean value indicating the movie’s autoplay behavior. Specify True to have the movie automatically play as soon as the scene is presented. If set to False, the inline movie object displays the poster image instead. The movie does not begin playing until the user taps the poster, or until you programmatically call either the Play() or Playfrombeginning() method. Defaults to True.

See Also

Setting Movie Properties