public void PlayVlc(List <string> url, List <string> name, string subtitleLoc) { //MainUWP.OpenPathAsVideo(url,name); try { MainUWP.OpenPathsAsVideo(url, name, subtitleLoc); } catch (Exception) { // CloudStreamForms.App.OpenBrowser(url.FirstOrDefault()); } }
public MainPage() { this.InitializeComponent(); Windows.UI.Core.SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = Windows.UI.Core.AppViewBackButtonVisibility.Visible; LoadApplication(new CloudStreamForms.App()); mainPage = this; mainUWP = new MainUWP(); mainUWP.Awake(); }
public void PlayVlc(string url, string name, string subtitleLoc) { //MainUWP.OpenPathAsVideo(url,name); try { MainUWP.OpenPathAsVideo(url, name, subtitleLoc); } catch (Exception) { // CloudStreamForms.App.OpenBrowser(url); } }