diff --git a/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs b/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs index b341187..475f1c5 100644 --- a/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs +++ b/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs @@ -23,8 +23,8 @@ namespace DualScreenDemo private List LoadImagesFromFolder(string folderName) { List images = new(); - // string folderPath = Utils.Env.GetPath(folderName, ""); - string folderPath = serverPath+"//"+folderName; + string folderPath = Utils.Env.GetPath(folderName, ""); + // string folderPath = serverPath+"//"+folderName; if (folderPath.Equals("")) return images; string[] imageFiles = Directory.GetFiles(folderPath, "*.jpg"); diff --git a/VideoPlayerForm.cs b/VideoPlayerForm.cs index 8894764..86a8ccf 100644 --- a/VideoPlayerForm.cs +++ b/VideoPlayerForm.cs @@ -349,13 +349,13 @@ namespace DualScreenDemo try { string pathToPlay = song.getFile(); - Uri url = song.getFileUrl(); + // Uri url = song.getFileUrl(); //影片畫面播放器載入media設置聲道 - if(url !=null) - { - _mediaService0.LoadMedia(url, 0); - _mediaService1.LoadMedia(url, song.isPublicSong ? 0 : 1); - } + // if(url !=null) + // { + // _mediaService0.LoadMedia(url, 0); + // _mediaService1.LoadMedia(url, song.isPublicSong ? 0 : 1); + // } if(pathToPlay != null) { _mediaService0.LoadMedia(pathToPlay, 0);