Ejemplo n.º 1
0
        public void SetData(string videoId, int indexInPlaylist, YoutubeTumbnails thumbnails)
        {
            _data = new Data()
            {
                videoId = videoId,
                videoIndexInPlaylist = indexInPlaylist,
                thumnails            = thumbnails
            };

            Load(thumbnails.defaultThumbnail.url);
        }
 void OnThumbnailClick(RealmYouTubeVideoThumbnail.Data data)
 {
     _playlist.PlayVideo(data.videoIndexInPlaylist);
 }