I am writing an Android project, at beginning I am playing a video in portrait mode, a few seconds later when i change it from portrait to landscape, the video starts from the beginning(0's)? why?
I have set android:configChanges="orientation"
in AndroidManifest.xml and added onConfigurationChanged()
.
How to let it play from the last position of portrait mode while the mode changes?