protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            VideoPageSwitchArgs args = (VideoPageSwitchArgs)e.Parameter;

            currentVideo   = args.vid;
            lastSearchTerm = args.searchTerm;

            player.Source         = new Uri(currentVideo.Link);
            descriptionBlock.Text = currentVideo.Description;
        }
Esempio n. 2
0
 public VideoPageSwitchArgs(Model.Video inVideo, string inSearchTerm)
 {
     vid        = inVideo;
     searchTerm = inSearchTerm;
 }