2509051155
優惠活動,菜單路徑改回線上
This commit is contained in:
parent
5f401f2158
commit
3305f348fd
@ -23,8 +23,8 @@ namespace DualScreenDemo
|
||||
private List<Image> LoadImagesFromFolder(string folderName)
|
||||
{
|
||||
List<Image> 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");
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user