2509051155
優惠活動,菜單路徑改回線上
This commit is contained in:
parent
5f401f2158
commit
3305f348fd
@ -23,8 +23,8 @@ namespace DualScreenDemo
|
|||||||
private List<Image> LoadImagesFromFolder(string folderName)
|
private List<Image> LoadImagesFromFolder(string folderName)
|
||||||
{
|
{
|
||||||
List<Image> images = new();
|
List<Image> images = new();
|
||||||
// string folderPath = Utils.Env.GetPath(folderName, "");
|
string folderPath = Utils.Env.GetPath(folderName, "");
|
||||||
string folderPath = serverPath+"//"+folderName;
|
// string folderPath = serverPath+"//"+folderName;
|
||||||
if (folderPath.Equals("")) return images;
|
if (folderPath.Equals("")) return images;
|
||||||
|
|
||||||
string[] imageFiles = Directory.GetFiles(folderPath, "*.jpg");
|
string[] imageFiles = Directory.GetFiles(folderPath, "*.jpg");
|
||||||
|
@ -349,13 +349,13 @@ namespace DualScreenDemo
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
string pathToPlay = song.getFile();
|
string pathToPlay = song.getFile();
|
||||||
Uri url = song.getFileUrl();
|
// Uri url = song.getFileUrl();
|
||||||
//影片畫面播放器載入media設置聲道
|
//影片畫面播放器載入media設置聲道
|
||||||
if(url !=null)
|
// if(url !=null)
|
||||||
{
|
// {
|
||||||
_mediaService0.LoadMedia(url, 0);
|
// _mediaService0.LoadMedia(url, 0);
|
||||||
_mediaService1.LoadMedia(url, song.isPublicSong ? 0 : 1);
|
// _mediaService1.LoadMedia(url, song.isPublicSong ? 0 : 1);
|
||||||
}
|
// }
|
||||||
if(pathToPlay != null)
|
if(pathToPlay != null)
|
||||||
{
|
{
|
||||||
_mediaService0.LoadMedia(pathToPlay, 0);
|
_mediaService0.LoadMedia(pathToPlay, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user