public void Hide()
        {
            _videoPreview.IsOpen = false;
            VideoPreviewWebView.NavigateToString("<html></html>");

            _isSmallView = false;

            VideoPreviewSmallViewTriangleButton.Visibility = Visibility.Visible;
            VideoPreviewLargeViewTriangleButton.Visibility = Visibility.Collapsed;

            VideoPreviewPopup_LayoutRefresh();
        }
        public void VideoChanged()
        {
            VideoPreviewWebView.NavigateToString("<html></html>");

            _isSmallView = false;

            VideoPreviewPopup_LayoutRefresh();

            if (VideoType == "Vine")
            {
                VideoPreviewSmallViewTriangleButton.Visibility = Visibility.Collapsed;

                VideoPreviewWebView.Navigate(new Uri("https://vine.co/v/" + Id + "/embed/simple?audio=1"));
            }
            else if (VideoType == "Twitter")
            {
                var html =
                    "<html><head><link href=\"http://vjs.zencdn.net/5.8.8/video-js.css\" rel=\"stylesheet\"><style type=\"text/css\"> \n body {{ margin: 0; }} \n #twitter {{ position: absolute; top: 0; left: 0; width:100%; height:100%; overflow: hidden; }} \n</style></head>";
                html += "<body><script src=\"http://vjs.zencdn.net/5.8.8/video.js\"></script>";
                html +=
                    "<video id=\"twitter\" class=\"video-js vjs-default-skin vjs-big-play-centered\" controls autoplay loop preload=\"auto\" width=\"auto\" height=\"auto\" poster=\"{0}\" data-setup=\"{{}}\"><source src=\"{1}\" type=\"{2}\"></video>";
                html += "</body></html>";
                VideoPreviewWebView.NavigateToString(string.Format(html, VideoThumbnailUrl, Id, VideoContentType));
            }
            else if (VideoType == "Youtube")
            {
                var html =
                    "<html><head><style type=\"text/css\"> \n body {{ margin: 0; }} .video-container {{ position: relative; padding-bottom: 56.25%; padding-top: 0; height: 0; overflow: hidden; }} .video-container iframe {{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; }} \n </style></head>";
                html +=
                    "<body><div class=\"video-container\"><iframe width=\"960\" height=\"540\" src=\"https://www.youtube.com/embed/{0}?html5=1\" frameborder=\"0\"></iframe></div></body></html>";
                VideoPreviewWebView.NavigateToString(string.Format(html, Id));
            }
            else
            {
                VideoPreviewWebView.Navigate(new Uri("http://embed.nicovideo.jp/watch/" + Id));
            }
        }