Beispiel #1
0
        public void PlayVideo(Model.Video media)
        {
            MediaElement.Display(media.Path);
            MediaElement.Show();
            Image.Hide();
            Play();

            IsPlayingMedia = true;
        }
Beispiel #2
0
        public void PlayMusic(Model.Music media)
        {
            MediaElement.Display(media.Path);
            MediaElement.Hide();
            Play();

            Image.Display(AppDomain.CurrentDomain.BaseDirectory + "../../images/WindowsMediaPlayerLogo.png");
            Image.Show();

            IsPlayingMedia = true;
        }