locked
MediaElement with multiple sources stop working RRS feed

  • Question

  • hello ..

    i want to make mediaelement with multiple source.

    the code :

    if (Playlist.SelectedIndex == 0)
                    {
                        med1.Source = new Uri("Assets/01. nuansa bening.mp3", UriKind.RelativeOrAbsolute );
                        med1.Play();
                    }

                    if (Playlist.SelectedIndex == 1)
                    {
                        med1.Source = new Uri("Assets/01-Shonichi (Hari Pertama).mp3", UriKind.RelativeOrAbsolute );
                        med1.Play();
                    }

    it doesn't work. what should i do ?

    Wednesday, November 27, 2013 1:11 PM

Answers

All replies