ASVideoNode Class Reference
Inherits from | ASNetworkImageNode : ASImageNode : ASControlNode : ASDisplayNode : ASDealloc2MainObject |
---|---|
Declared in | ASVideoNode.h |
assetURL
- @abstract The URL with which the asset was initialized.
- @discussion Setting the URL will overwrite the current asset with a newly created AVURLAsset created from the given URL, and AVAsset *asset will point to that newly created AVURLAsset. Please don’t set both assetURL and asset.
- @return Current URL the asset was initialized or nil if no URL was given.
@property (nullable, nonatomic, strong, readwrite) NSURL *assetURL
Declared In
ASVideoNode.h
shouldAutoplay
When shouldAutoplay is set to true, a video node will play when it has both loaded and entered the “visible” interfaceState. If it leaves the visible interfaceState it will pause but will resume once it has returned.
@property (nonatomic, assign, readwrite) BOOL shouldAutoplay
Declared In
ASVideoNode.h
delegate
The delegate, which must conform to the ASNetworkImageNodeDelegate protocol.
@property (nullable, nonatomic, weak, readwrite) id<ASVideoNodeDelegate,ASNetworkImageNodeDelegate> delegate
Declared In
ASNetworkImageNode.h