Android VideoView, need to switch between videos quickly -
hello android developers!
i'm developing new app , using videoview display mpeg clips.
i need switch between videos quickly, however, loading new clip videoview seems take half second of black screen.
the transition must seamless, how go solving kind of problem?
thanks in advance,
rotem
i had similar issue , resolved still-image (imageview) transition:
- build framelayout imageview on videoview
- the imageview shows first frame of video
- initially imageview visible
- start video, wait arbitrary time (e.g. 2-300ms)
- hide imageview
to switch 2 videos: - show image - switch video - hide image
a bit hackish worked me
Comments
Post a Comment