Unity IOS video Playback

Hello,

I am using,

Handheld.PlayFullScreenMovie (“TestMovie.mp4”, Color.black, FullScreenMovieControlMode.Hidden);

to play the video.

I think we do not have enough control over the video that is getting played(is-Playing, is-Paused, is-DonePlaying). Something like callbacks.

Is there any other alternative way where we can play the video in IOS devices with proper callbacks?

Please someone help me in this regard.

Thanks,
Hariprasad

use iPhoneUtils.playmovie() function. It may be help you.

Hello schetty,

Thanks for the reply. iPhoneUtils.playmovie() is deprecated as per unity documentation. But even then I need some callbacks from the movie that is
getting played. Can you tell me how this can be achieved?

Thanks,
Hariprasad

actually you are trying to do play pause and stop these functions right?

yes you are right but I need callbacks from the player itself.
Suppose if playback get cancelled when user taps on the view it should be possible to send the event to one of my function. Can this be achieved in any ways?