UnityStreamingMovieTexture
UnityStreamingMovieTexture copied to clipboard
Trouble with the plugin reporting video's duration
Hi Jonas,
We're using this plugin to play some video out of our commercial WebGL unity project. We're trying to fire an event when the video is finished, but have run into an issue where the plugin is reporting the video's duration as 0 -- so we can't tell when the video is done.
It would be great if either:
- You could let us know if we should expect that querying the video's duration is reliable or
- If you would be able to implement a "hasEnded" variable or event that gets set when the HTML has set the video's status to "ended".
Any chance of these happening?
Thanks so much.
David