Skip to main content
Jhon Carlo
Inspiring
November 12, 2016
Answered

Is it possible to use mp4 video in a .apk (android) application?

  • November 12, 2016
  • 1 reply
  • 410 views

I'm trying to using air, and I need to use an mp4 video with the FLVPlayback component. But it seems not work.

I do not know if I'm using the wrong method to use video in android.

Some help?

Thanks.

This topic has been closed for replies.
Correct answer Colin Holgate

You should use StageVideo, it works well in iOS and Android. It's a little bit harder than FLVPlayback to use, but it's by far the best way to play video, and it does play H.264 MP4 files, which FLVPlayback on mobile cannot.

This is an old article, but the code should still work, and could get you going:

Getting started with stage video | Adobe Developer Connection

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
November 12, 2016

You should use StageVideo, it works well in iOS and Android. It's a little bit harder than FLVPlayback to use, but it's by far the best way to play video, and it does play H.264 MP4 files, which FLVPlayback on mobile cannot.

This is an old article, but the code should still work, and could get you going:

Getting started with stage video | Adobe Developer Connection

Jhon Carlo
Inspiring
November 13, 2016

Thank you Collin