public void StopBackgroundVideo()
        {
            if (IsHostBackground)
            {
                hostWindow.StopBackgroundVideo();
            }
            else
            {
                mediaelement.Stop();
                mediaelement.Visibility = Visibility.Hidden;
            }

            IsDynamicBackground = false;
        }
Exemple #2
0
 public void StopBackgroundVideo()
 {
     hostWindow.StopBackgroundVideo();
     mediaelement.Stop();
     mediaelement.Visibility = Visibility.Hidden;
 }