Пример #1
0
        private async Task Play(string url)
        {
            DisplayRequestUtil.RequestActive();

            try
            {
                _videoPlayer = _playerFactory.GetPlayer(url);
                await _videoPlayer.StartPlayVideo(MainPlayer);
            }
            catch (Exception exception)
            {
                ShowExceptionMessage(exception.Message);
            }
        }