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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -