HISPlayer MacOS for Unity can play local content from Unity Streaming Assets and the Persistent Data Path (application's path).
To use this format, it’s necessary to create a new folder into the Assets folder of Unity named StreamingAssets.
Add a video content inside the folder and pass the name (with the extension) to the Multi Stream Properties.
In case that subfolders are created inside StreamingAssets, the path of the file must include the subfolder’s name inside the field of Multi Stream Properties, e.g, with a subfolder named “MyVideos” the following path must be used:
MyVideos/localPlayback.mp4
The Persistent Data Path is the internal path of the application. Unity allows you to access that folder from the C-sharp code with Application.persistentDataPath.
The returned path on macOS will be: ~/Library/Application Support/company name/product name.
The HISPlayer SDK will take this path as the entry point to begin to search the desired local content.
Add the video file that is stored inside the Application.persistentDataPath and pass the file name (with the extension) to the Multi Stream Properties. In case that subfolders are created inside Application.persistentDataPath , the path of the file must include the subfolder’s name inside the field of Multi Stream Properties, e.g, with a subfolder named “MyVideos” the following path must be used:
MyVideos/localPlayback.mp4