let android mediaPlayer loops differently -


i have video want loop in android, have set the

mediaplayer.setlooping(true); 

but every time when loops, want perform something, making toast showing how many times it's looped or detecting current rotation , change looping video if rotation has changed.

how can it?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -