--- a/client/src/Iri.Modernisation.Controls/View/VideoViewer/VideoViewer.xaml.cs Wed Jan 27 10:55:59 2010 +0100
+++ b/client/src/Iri.Modernisation.Controls/View/VideoViewer/VideoViewer.xaml.cs Thu Feb 04 16:38:04 2010 +0100
@@ -107,8 +107,11 @@
VideoScreen.Pause();
_isPlayed = false;
VideoPositionTimer.Stop();
- if(DataContext!=null)
- ((VideoViewerVM)DataContext).AutoPlay = false;
+ if (DataContext != null)
+ {
+ ((VideoViewerVM)DataContext).AutoPlay = false;
+ ((VideoViewerVM)DataContext).IsPLayed = false;
+ }
}
}
@@ -119,7 +122,10 @@
_isPlayed = true;
VideoScreen.Play();
VideoPositionTimer.Start();
- ((VideoViewerVM)DataContext).AutoPlay = true;
+ {
+ ((VideoViewerVM)DataContext).AutoPlay = true;
+ ((VideoViewerVM)DataContext).IsPLayed = true;
+ }
}
}