void _playbackManager_PlaybackStarted(object sender, PlaybackStartEventArgs e) { if (e.Player is IInternalMediaPlayer) { Dispatcher.InvokeAsync(() => OnPropertyChanged("IsMouseIdle"), DispatcherPriority.Background); } UpdateBackdropContainerVisibility(); }
void PlaybackManager_PlaybackStarted(object sender, PlaybackStartEventArgs e) { IsPlayingInternalVideo = e.Player is IInternalMediaPlayer && e.Player is IVideoPlayer && e.Player.CurrentMedia != null && e.Player.CurrentMedia.IsVideo; }
void _playback_PlaybackStarted(object sender, PlaybackStartEventArgs e) { PreventSystemIdle(); }