Exemple #1
0
    //for windows....
    private string GetPreviewTextureFullpathOfVideo(string videoFullpath)
    {
        //int filesuffixPos = videoFullpath.IndexOf (".");
        //int filenamePos = videoFullpath.LastIndexOf ("/");

        return(FileListModel.GetDataPath() + "/" + FileListModel.GetFileShortName(videoFullpath) + ".png");
    }
Exemple #2
0
 //for windows....
 private string GetPreviewTextureFullpathOfWeb(string webUrl)
 {
     return(FileListModel.GetDataPath() + "/" + FileListModel.GetUrlShortName(webUrl) + ".png");;
 }