I'm using YTPlayerView
to play videos from Youtube in an iOS app. (See Youtube Helper Library)
And I'm facing a little issue that I would like to solve: video previews have low quality when using the following method:
- (void) cueVideoById:(NSString *)videoId startSeconds:(float)startSeconds suggestedQuality:(YTPlaybackQuality)suggestedQuality
, which is recommended to use when loading another video into web view.
If I use - (BOOL) loadWithVideoId:(NSString *)videoId playerVars:(NSDictionary *)playerVars
, then preview quality is fine, but this will reload the web view, not recommended. See sample screenshots:
As suggested quality I use kYTPlaybackQualityAuto
, also I tried the best ones without success.
How could I solve this and get a better preview quality without reloading videos every time?