Beispiel #1
0
        private void DoFlashPlayer()
        {
            if (TreeViewLocators.SelectedNode != null)
            {
                // Root node's Parent property is null, so do check
                if (TreeViewLocators.SelectedNode.Parent != null)
                {
                    switch (TreeViewLocators.SelectedNode.Parent.Text)
                    {
                    case "Smooth Streaming URI":
                        AssetInfo.DoPlayBack(PlayerType.FlashAzurePage, new Uri(TreeViewLocators.SelectedNode.Text));
                        break;

                    case "MPEG-DASH URI":
                        AssetInfo.DoPlayBack(PlayerType.DASHAzurePage, new Uri(TreeViewLocators.SelectedNode.Text));
                        break;


                    default:
                        break;
                    }
                }
                else
                {
                }
            }
        }
Beispiel #2
0
 private void DoHTMLPlayer()
 {
     if (TreeViewLocators.SelectedNode != null)
     {
         // Root node's Parent property is null, so do check
         if (TreeViewLocators.SelectedNode.Parent != null)
         {
             AssetInfo.DoPlayBack(PlayerType.MP4AzurePage, new Uri(TreeViewLocators.SelectedNode.Text));
         }
     }
 }
Beispiel #3
0
        private void DoSLPlayer()
        {
            if (TreeViewLocators.SelectedNode != null)
            {
                // Root node's Parent property is null, so do check
                if (TreeViewLocators.SelectedNode.Parent != null)
                {
                    switch (TreeViewLocators.SelectedNode.Parent.Text)
                    {
                    case "Smooth Streaming URI":
                        AssetInfo.DoPlayBack(PlayerType.SilverlightMonitoring, new Uri(TreeViewLocators.SelectedNode.Text));
                        break;

                    default:
                        break;
                    }
                }
                else
                {
                }
            }
        }
Beispiel #4
0
        private void DoDashAzurePlayer()
        {
            if (TreeViewLocators.SelectedNode != null)
            {
                // Root node's Parent property is null, so do check
                if (TreeViewLocators.SelectedNode.Parent != null)
                {
                    switch (TreeViewLocators.SelectedNode.Parent.Text)
                    {
                    case AssetInfo._dash:
                        AssetInfo.DoPlayBack(PlayerType.DASHAzurePage, new Uri(TreeViewLocators.SelectedNode.Text));
                        break;


                    default:
                        break;
                    }
                }
                else
                {
                }
            }
        }
Beispiel #5
0
        private void DoDASHIFPlayer()
        {
            if (TreeViewLocators.SelectedNode != null)
            {
                // Root node's Parent property is null, so do check
                if (TreeViewLocators.SelectedNode.Parent != null)
                {
                    switch (TreeViewLocators.SelectedNode.Parent.Text)
                    {
                    case "MPEG-DASH URI":
                        AssetInfo.DoPlayBack(PlayerType.DASHIFRefPlayer, new Uri(TreeViewLocators.SelectedNode.Text));
                        break;


                    default:
                        break;
                    }
                }
                else
                {
                }
            }
        }