Hello all,
does someone know how to close video player (Something like VideoPlayer.Close() or VideoPlayer.Dispose() that do not exist) to free up memory and be ready for a new video?
Thanks!
Daniele
Stop ‘unprepairs’ the video and frees everything up (Unlike Pause, which keeps everything around for quick resume)
Thank-you Prodigga for your reply,
but as I can read on the manual “VideoPlayer.Stop - Pauses the playback and sets the current time to 0”.
It does not talk about unpreparing and other stuffs…
It seem just the .Pause but with rewind of the movie.
Maybe I’ve missed some forum thread? ![]()
Yes, I read it on the forum sorry for the confusion.
The docs are not very technical. They don’t explain what and how it really works… as with most Unity features you just have to do lots of experimenting and lots of reading to learn how something really works…!
I can’t find the thread where the developer explains the difference between stop and pause, sorry. I was looking in to why videos were stuttering on Android when I ran across the developer post.