getYouTubeThumbnail method

String getYouTubeThumbnail()

Returns YouTube thumbnail for given video id

Implementation

String getYouTubeThumbnail() {
  return 'https://img.youtube.com/vi/${convertYouTubeUrlToId()}/maxresdefault.jpg';
}