private void OnPlaybinStateChanged (StateEventArgs args) { if (args.State == MediaStatus.Unloaded) position.Stop(); else position.Start(); if (StateChanged != null) StateChanged(args); }
private void OnPlayerStateChanged (StateEventArgs args) { if (args.State == MediaStatus.Loaded) { handlePlayerLoading(); } }