UZPlayerResource
public struct UZPlayerResource
Undocumented
-
Undocumented
Declaration
Swift
public let name : String
-
Undocumented
Declaration
Swift
public let cover : URL?
-
Undocumented
Declaration
Swift
public let subtitles : [URL]?
-
Undocumented
Declaration
Swift
public let definitions: [UZVideoLinkPlay]
-
Player recource item with url, used to play single difinition video
Declaration
Swift
public init(name: String = "", url: URL, subtitles: [URL]? = nil, cover: URL? = nil)
Parameters
name
video name
url
video url
subtitles
video subtitles
cover
video cover, will show before playing, and hide when play
-
Play resouce with multi definitions
Declaration
Swift
public init(name: String = "", definitions: [UZVideoLinkPlay], subtitles: [URL]? = nil, cover: URL? = nil)
Parameters
name
video name
definitions
video definitions
subtitles
video subtitles
cover
video cover