JcPlayer
JcPlayer copied to clipboard
Problem with screen rotation within fragment
I don't know if I may say its an issue or my bad of not knowing yet the way to deal with this library. Honestly I am coming from FFMPEG because it was having problems with text relocation, while browsing I saw this amazing library and decided to test it. It really works fine and on my point of view the intergration with it was first enough compared to FFMPEG that I was using. My consern then is, I don't know how to deal with this library when the screen did rotate. When I rotate screen the playing audio stops and when I play it again it starts from zero. From now and on, when the screen rotates in the notification bar it continue well but in the fragment view the Play/Pause button remain on play icon, if again clicked the whole audio start from zero. You can see this in the sample application you provided for good understanding.
My wish is, how can I set the position where the audio should start from in case of screen rotation, and the easy way to deal with the Play/Pause in this case
Thanks a lot
When you click the pause button from notification bar, then The whole thing goes in sync again
Hello @iaubain, This fix will be released in the next version (I hope).