Example #1
0
 private void Play(MediaPlaybackList playlist)
 {
     foreach (var item in playlist.Items)
     {
         var asset = AVAsset.FromUrl(DecodeUri(item.Source.Uri));
         _player.InsertItem(new AVPlayerItem(asset), null);
     }
 }
Example #2
0
 private void SetPlaylistItems(MediaPlaybackList playlist)
 {
     _playlistItems = playlist.Items
                      .Select(i => i.Source.Uri)
                      .ToList();
 }