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