Problem with videoView on Android -


I had a problem using 2 video views on Android

I know that I I can not use 2 video views at the same time.

This is my workflow.

  1. Create 2 video views.
  2. Hide 1 of them
  3. Prefetch the first video view.
  4. Play the first video view.
    • I prefetch a second video in a different thread
    • At some point I see the video.
    • The second video is working okay.
    • When the second video completes, I switch to the first video.
    • The video starts playing from the beginning rather than the last position of the first video. I tried to get the current time and tried to save it before the switch, and then when the video scene came back for the first time, I use seekTo (final content time), but Buffer (before last present time) went.

      Did you know that the buffer is static or if video weights only use one buffer?

      Why does not video video save Videu's last position? (Current time or buffer state?

      Is there any way to do this without doing any unwanted work?

      My theory is that because the first video footage is being hidden, it means the suspended () and resume () view is being called on. If you 'suspend' and 'again Start ', you suggest

      my suggestion is that you create a customized video Vive

      I will show how to customize VideoView.

      To use it as a starting point, you start the resume () function with call you can type in Open Video ().

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -