internal override void PointerUp(Microsoft.Xna.Framework.Vector2 position, PointerType pointerType) { if (player != null && player.IsPlaying) { player.Stop(); } }
void storyboard_OnChangeMovieStatus(bool shouldPlay) { if (shouldPlay) { if (player.IsPlaying && player.IsPaused) { player.Play(); } } else { if (player.IsPlaying) { player.Stop(); } } }