Abuelhija

Results 2 comments of Abuelhija

this worked for me: public async void StopPlayer() { try { //await Endpoints.FileService.ClearCacheAsync(); if played from stream then clear cache IsBusy = false; if (IsPlaying) { CrossMediaManager.Current.Notification.ShowPlayPauseControls = true; await...

1. on your VideoPage: protected override void OnDisappearing() { base.OnDisappearing(); _viewmodel.StopPlayer(); _viewmodel = null; } 2. on your ViewModel (you can also do it on VideoPage) public async void StopPlayer()...