Hello all, is there a way to load all videos from local folder to Unity? I know that using WWW we can load images since it has textures. But what about video player? Currently playing specific file using the below script Code (CSharp): videoPlayer.url = "C:/Users/Desktop/images/Video.mp4";
You can store array/list of urls, of videos as data, after grabbing directory files. To get list files, you can fetch them, using Code (CSharp): string [] files = System.IO.Directory.GetFiles ( pathAsString ) ;