private void Player_StateChanged(object sender, xZune.Vlc.ObjectEventArgs<MediaState> e) { if (e.Value == MediaState.Playing && !_playing) { _playing = true; Application.Current.Dispatcher.InvokeAsync(ShowVideo); } }