Closed DreamYao closed 3 days ago
here is code: mediaPlayer.Loop = false; mediaPlayer.OpenMedia(new MediaPath("speak_03.mp4", MediaPathType.RelativeToStreamingAssetsFolder), autoPlay: true); When the issue is reproduced, the video is playing with loop
There is no FinishedPlaying event when the video is looped. See documentation.
mediaPlayer.Loop = false; My mediaPlayer loop is false
You've just said "When the issue is reproduced, the video is playing with loop", so are you saying that it is set to not loop, but does loop sometimes?
You've just said "When the issue is reproduced, the video is playing with loop", so are you saying that it is set to not loop, but does loop sometimes?
yes
mediaPlayer.Loop = true; mediaPlayer.OpenMedia("01.mp4", autoPlay: false); mediaPlayer.Pause();
// then wait a few minutes mediaPlayer.Loop = false; mediaPlayer.OpenMedia("02.mp4", autoPlay: false);
02.mp4 play loop
Android:
iOS:
AVPro Video version 3.0.4 has been released. Please let us know if it has not fixed your issue.
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Describe the issue A clear and concise description of what the issue is. not reproduce every time, but the frequency is very high https://github.com/RenderHeads/UnityPlugin-AVProVideo/assets/11754273/dac922e8-7fb2-4ac3-8ce3-f9e0821e700b
Your Setup (please complete the following information):
To Reproduce
Logs If applicable, add error logs to help explain your problem.
Screenshots If applicable, add screenshots to help explain your problem.
Videos If applicable, add a copy of your video or the URL
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us unitysupport@renderheads.com