Skip to main content
Jhon Carlo
Inspiring
Nov 12, 2016 5:15 PM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
Colin Holgate
Colin HolgateCorrect answer
Inspiring
Nov 12, 2016 5:25 PM UTC

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

2 replies

Colin Holgate
Colin HolgateCorrect answer
Inspiring
Nov 12, 2016 5:25 PM UTC

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

Translate
Jhon Carlo
Inspiring
Nov 13, 2016 12:17 PM UTC

Thank you Collin

Translate