Issue in keeping forward and rewind button in Videoplayer RRS feed

  • Question

  • Im working on visualstudio 2012 to develop an advanced videoplayer for windows store but unfortunately my rewind and forward buttons are not functioning , I used DefaultPlayBackRate() function for this purpose. anyone please help me to solve this issue.If possible help me by providing the sample code of rewind and forward button

    Thanks &Regards 

    Rajadurai Sinduja

    Sunday, February 8, 2015 2:31 PM


  • Hi Rajadurai,

    According to your description, you want to make forward and rewind when playing video in store app. I think you are using the incorrect property. Try the Position property, you need to change the timespan for the speed. Code looks like the following.

    private void Rewind_Click(object sender, RoutedEventArgs e)
                var pos = VideoSource.Position;
                VideoSource.Position = pos.Add(new TimeSpan(0, 0, -10));
            private void Forward_Click_1(object sender, RoutedEventArgs e)
                var pos = VideoSource.Position;
                VideoSource.Position= pos.Add(new TimeSpan(0, 0, 10));

    Please feel free to let me know if I have any misunderstand.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Monday, February 9, 2015 9:13 AM