VKVideoLooperProtocol
public protocol VKVideoLooperProtocol
-
Loops the videos specified forever.
Declaration
Swift
init(assets: [AVAsset])
Parameters
urls
The url where the video is located at.
-
Starts looping the videos in a specified layer.
Declaration
Swift
func start(in layer: CALayer)
Parameters
layer
The layer where the video should be displayed.
-
Stops the video playback.
Declaration
Swift
func stop()