Skip to content

Richi 1.0.3

Compare
Choose a tag to compare
@aplr aplr released this 11 Apr 19:46
· 12 commits to main since this release

Add public videoSize property to VideoPlayer view, which returns the size of the currently loaded player item. If no asset was loaded or the player item's metadata is not loaded yet, CGSize.zero will be returned.
Also, KVO was added to AVPlayerItem.presentationSize, which notifies the delegate using player(_:didChangeVideoSize:) about the video size change as early as possible.