private void GetVideo(VideoInfo video) { stackPn.Children.Clear(); //watchVideo.SetVideo(video); //watchVideo.Height = 480; //watchVideo.Visibility = Visibility.Visible; //stackPn.Children.Add(watchVideo); watchVideo.ClearVideo(); infoVideo.SetVideo(video); stackPn.Children.Add(infoVideo); stackPn.Children.Add(lstvideo[0]); stackPn.Children.Add(lstvideo[1]); //load stackPn lai voi nhung video lien quan }
private void GetVideo(Model.Object video) { stackPn.Children.Clear(); //watchVideo.SetVideo(video); //watchVideo.Height = 480; //watchVideo.Visibility = Visibility.Visible; //stackPn.Children.Add(watchVideo); watchVideo.ClearVideo(); infoVideo.SetVideo(video); stackPn.Children.Add(infoVideo); foreach (var i in data.VideoList) { stackPn.Children.Add(i); } //load stackPn lai voi nhung video lien quan }