Skip to main content
Version: iOS SDK v1.0.12

Cache

Change player cache to 256 MB

VKPlayerCache.shared.cacheSize = 256 * 1024 * 1024

Change preloading threshold

Our preloading threshold defines the number of seconds to preload during video preparation.

VKPlayerCache.shared.videoPreloadingThreshold = 2