Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Only loading video into VideoView without instantly playing

I got a question is it possible in Android to load the video data into a VideoView without it instantly starting to play? If so, how could I do that?

like image 219
kivy Avatar asked Jul 23 '10 08:07

kivy


1 Answers

I was also thinking about showing a thunbnail as sghael stated. But I think this might result in reduced performance.

So what I'm doing now is just call

videoView.seekTo(1);

to forward the video to the first millisecond. This works fine for me and is fast to implement.

like image 78
Kai Avatar answered Oct 13 '22 18:10

Kai