private void GetIV(Model.Object video) { stackPn.Children.Clear(); watchVideo.SetVideo(video); stackPn.Children.Add(watchVideo); foreach (var i in data.VideoList) { stackPn.Children.Add(i); } }
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 }
public Focus(Model.Object video, TimeSpan time) { InitializeComponent(); Watch.SetMedia(video, time); Watch.BtnX(); }