views:

24

answers:

0

i wanna open a SmoothStreamingMediaElement in fullscreen and can't use the video brush as it takes mediaelement UI type so i tried to remove the element from it's grid to new grid but in that case it reload and replay the movie is there anyway to move the control without removing and adding or there are other options to open it in fullscreen that's the code i am using

videoWindow.Children.Remove(mediaElement);
FullScreenGrid.Visibility = Visibility.Visible;
FullScreenGrid.Children.Add(mediaElement);