Binding for Position not working CoreSmoothStreamingMediaElement

May 21, 2010 at 5:09 AM

Hi All,

I have a Property named Position in the ViewModel and it is bound to Position property of CoreSmoothStreamingMediaElement in the following way

  <player:CoreSmoothStreamingMediaElement
                x:Name="SmoothPlayer"
                AutoPlay="False"
                Position="{Binding Position}"/>

But the Video does not moove to the Position when i change the Position value in the ViewModel following is the Position property in the VM

  public TimeSpan Position
        {
            get
            {
                return _position;
            }
            set
            {
                _position = value;
                RaisePropertyChanged("Position");
            }
        }

Please let me know if anyone has faced the same issue and found any solution for that.

Regards,

Vidds