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 { } } }
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)); } } }
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 { } } }
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 { } } }
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 { } } }