question

claudiucolteu avatar image
claudiucolteu asked

Invoke / call Kindle Fire's native AwesomePlayer from android activity

I am trying to play a YouTube video on a Kindle Fire HD. On common Android devices is simple since Intent.ACTION_VIEW invokes the pre-installed YouTube app. Based on the logs, on the Kindle, which lacks the YouTube app, the Intent.ACTION_VIEW invokes the native Silk browser which loads the YouTube page and from there when clicking the Play button (overlapping the video thumb) the Kindle will invoke the native AwesomePlayer. 11-20 11:23:45.392: I/AwesomePlayer(107): Awsomeplayer is created ... 11-20 11:23:46.431: D/AwesomePlayer(107): Mime = video/avc 11-20 11:23:46.431: D/AwesomePlayer(107): Mime = audio/mp4a-latm 11-20 11:23:46.431: D/AwesomePlayer(107): getTrackAudioVideoProfile audioOrVideo=2 11-20 11:23:46.431: D/AwesomePlayer(107): Play - AUDIO/VIDEO ... I would like to bypass the Silk browser and launch directly Kindle's native "AwesomePlayer" from my android activity. Is that possible ?
fire tablet
10 |5000

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

Dixith@Amazon avatar image
Dixith@Amazon answered
Thats a good question. We have forwarded your issue to concerned team and will get back to you once we have an update.
10 |5000

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

Dixith@Amazon avatar image
Dixith@Amazon answered
You cannot directly invoke the "Awesomeplayer" components to play Youtube videos on Kindle Fire HD, bypassing the Silk web browser. The issue is that you do not have access to the actual Youtube video file - you have a link to the page where the video file is played. Without the path to the video file itself, you cannot call the player on the video file directly. Therefore, in the absence of a Youtube application, you need to invoke the Silk web browser. Hope this information helps you.
10 |5000

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