<div dir="ltr"><div><div><div>Yosh,<br><br></div>Yes, but It doesn't work : the video is not yet playing when I try to pause it.<br><br></div>That's why I put it in the MediaPlayerPlaying event. I thought that it was the right place. Am I wrong ?<br>
<br></div>Regards<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-22 18:04 GMT+02:00 Edward Wang <span dir="ltr"><<a href="mailto:edward.c.wang@compdigitec.com" target="_blank">edward.c.wang@compdigitec.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alex,<br>
<div class=""><br>
On Fri, Aug 22, 2014 at 11:49 AM, Alexandre Perraud<br>
<<a href="mailto:4leyx4ndre@gmail.com">4leyx4ndre@gmail.com</a>> wrote:<br>
> activity.setESTracks();<br>
> activity.changeAudioFocus(true);<br>
> activity.updateNavStatus();<br>
> + if (activity.mHasStopped) {<br>
> + activity.mHasStopped = false;<br>
> + activity.pause();<br>
> + }<br>
<br>
</div>Have you considered checking this in startPlayback()?<br>
<br>
Regards,<br>
Edward<br>
_______________________________________________<br>
Android mailing list<br>
<a href="mailto:Android@videolan.org">Android@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/android" target="_blank">https://mailman.videolan.org/listinfo/android</a><br>
</blockquote></div><br></div>