Tomhawk
Tomhawk

Reputation: 188

Is it possible to show the first frame of a video in VideoView without playing it first?

I am using VideoView in a ViewPager so show videos, and I want to show them with a preview of the first frame. But I cannot start playing them, because the user would then see the MediaController and hear the sound etc. So I can't really use seekTo(0).

Are there any other ways?

Upvotes: 1

Views: 953

Answers (1)

Tomhawk
Tomhawk

Reputation: 188

Ok I found out you just need to use seekTo(100) and it works then!

Upvotes: 1

Related Questions