Log in or register to post comments

URGENT: on iOS video starts automatically on resume with only audio

June 7, 2017 - 6:51am #1


I am developping an app with vumarks and different videos based on vumark ID using Unity.

On Android it works very well, but on iOS when I quit the application, or I click a button that open the browser (ie safari) and I come back to the App, the audio of the last video start automatically and can't stop it.

To avoid this problem I found a workaround: unity -> Player Settings -> Behaviour in background -> exit (instead of suspend)


I tries different solutions to stop or unload the video by using video.videoPlayer.Stop() and video.videoPlayer.Unload() and implemeting it in functions like:

- OnApplicationPause

- OnApplicationFocus

- ...etc

but without any success.

Can you help me please on this. Is very urgent and sincerly I don't want to use the workaround of background behaviour.


thank you very much

Log in or register to post comments