TTVideoEnginePreloaderURLItem.urlItemWithVideoSource constructor

TTVideoEnginePreloaderURLItem.urlItemWithVideoSource(
  1. TTVideoEngineUrlSource? source,
  2. int preloadSize
)

Implementation

TTVideoEnginePreloaderURLItem.urlItemWithVideoSource(TTVideoEngineUrlSource? source, this.preloadSize) {
  key = source?.cacheKey;
  urls = source?.urls;
  videoId = source?.vid;
}