Esempio n. 1
0
        private void GotoPreviousBookMark()
        {
            var pos = videoPlayer.GetPosition();

            if (!Bookmarks.Any(t => t < pos))
            {
                return;
            }

            TimeSpan bookmark = Bookmarks.FindLast(t => t < pos);

            lstBookmarks.SelectedItem = bookmark;
            videoPlayer.SetPosition(bookmark);
        }