question

mymozzo avatar image
mymozzo asked

Playing a video in VideoView inKindle

Hello all, I can't figure out why am I not able to play the video in my VideoView. All I'm getting a message is: "Cannot Play Video : Sorry, this video cannot be played". ((Activity) context).getWindow().setFormat(PixelFormat.TRANSLUCENT); video.setVideoURI(Uri.fromFile(tmpFile)); MediaController ctlr = new MediaController(context); ctlr.setMediaPlayer(video); video.setMediaController(ctlr); video.setZOrderOnTop(false); video.setKeepScreenOn(true); video.start(); video.requestFocus();
fire tablet
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Venkat@Amazon avatar image
Venkat@Amazon answered
Hi, Thank you for the post. Kindle Fire Devices supports the following video formats MP4, VPS, HLS and Kindle Fire (1st Generation) does not support HLS. Please make sure your video format is supported.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Offbeatmammal avatar image
Offbeatmammal answered
as well as Venkat's reply you should check both the encoding profile and the size of the video. Even if the container/codec are supported it may have too large a framesize or too high a framerate
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.