-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video thumbnail in Android (with autoplay set to false) #157
Comments
You can work around this by seeking to a frame (https://stackoverflow.com/questions/17079593/how-to-set-the-preview-image-in-videoview-before-playing). Unfortunately, the android mediaplayer does not show thumbs when the video is loaded. There are a few alternatives worth considering, like overlaying a thumbnail image on top of the player. |
Yes, I thought about that. And overlaying an image/thumbnail, play button and so on it's what I'm implementing at the moment. |
I'm having an issue that only occurs in Android.
When loading a video with the autoplay option turned off everything thing works perfectly in iOS, a thumbnail is displayed and on top of it the play button is displayed as well, but on Android I just get a white area with no thumbnail or anything else. I need to tap on that area and then on Android I can see the controls and start playing the video.
Is this the expected behaviour or I have something wrong?
One source example:
https://file-examples.com/wp-content/uploads/2017/04/file_example_MP4_1280_10MG.mp4
The text was updated successfully, but these errors were encountered: