예제 #1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            arguments = e.Parameter as PlayerArguments;

            if (arguments != null)
            {
                InitializePlugins();
                InitializeMediaExtensionManager();
                InitializeMediaProtectionManager();

                Player.Source = new Uri(arguments.StreamUrl);
            }
        }
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            arguments = e.Parameter as PlayerArguments;

            if (arguments != null)
            {
                InitializePlugins();
                InitializeMediaExtensionManager();
                InitializeMediaProtectionManager();

                Player.Source = new Uri(arguments.StreamUrl);
            }
        }