public void OnPrepareFromMediaId(string mediaId, Bundle p1)
        {
            _mediaSource.Clear();
            int windowIndex = 0;

            foreach (var mediaItem in mediaManager.MediaQueue)
            {
                if (mediaItem.MediaId == mediaId)
                {
                    windowIndex = mediaManager.MediaQueue.IndexOf(mediaItem);
                }

                _mediaSource.AddMediaSource(mediaItem.ToMediaSource());
            }
            _player.Prepare(_mediaSource);
            _player.SeekTo(windowIndex, 0);
        }
 public void SeekTo(long positionMs)
 {
     _player.SeekTo(positionMs);
 }