I can play the videos fine back to back by implementing the
OnCompletionListener to set the data source to a different file.
There's no problems there. I call reset() and prepare() just fine.

What I haven't been able to figure out, is how to get rid of the 1-2
second gap screen flicker between the data source change and the new
video starting. The gap shows a black screen, and I haven't found any
way to get around it.

I've tried setting the background of the parent view to an image, but
it manages to bypass that. Even if the surfaceView is transparent
(which it is by default.)

I've also tried to have the multiple video files played at the same
time, and switching mediaplayer's display when one ends and the other
is supposed to start.

The last thing I tried, was to have a second view in the background
that I show temporarily while the video is "preparing" and removing it
when the video is ready to start. That also wasn't very seamless.

Is there any way to get rid of that gap. Running a video in a loop
works wonderfully and does exactly what I want with the exception that
it's looking through the same video instead of playing a different one
that I pick.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to