Instance Method

setLoops(_:)

Sets a Boolean value indicating whether the movie plays in a continuous loop.

Declaration

func setLoops(_ loops: Bool)

Parameters

loops

A Boolean value indicating the looping behavior. Specify true to play the movie in a continuous loop or false to play the movie once and then stop playback.

See Also

Setting the Movie Attributes

func setMovieURL(URL)

Sets the URL of the movie to play.

func setVideoGravity(WKVideoGravity)

Sets the resizing behavior for the movie content.

func setPosterImage(WKImage?)

Sets the poster image to display for the movie.