Video File not getting bundled in Android APK

I have noticed that when I build an Android APK (tested using the 4/11 builds for both Mac & Windows) that a video file that exists in my resource directory (and should be played within my app using the media.playVideo API) is not getting bundled in the APK file that Corona outputs. This is easy to see because the APK file is only 6MB (as opposed to the 18MB it would be were the file bundled).

Even stranger, building the APK using the last stable release (268) results in the expected 18MB APK…except it does no good because that Corona release didn’t support playback of local video files! I am working on porting a finished iOS app (currently in Apple’s review queue) to Android, but I need to be able to include that local video file for a successful port. I was thrilled to see that daily builds were starting to support local video playback on Android, but it doesn’t seem like it’s really working yet.

I’m hoping that there’s some sort of quick fix I’m missing, and that this isn’t a larger bug. Any ideas?

Thanks,
Jason [import]uid: 27636 topic_id: 8801 reply_id: 308801[/import]

Upon closer examination, changing the file type (and extension) from .m4v to .mp4 has fixed this issue for me, and I’m happy to report that the file is now being bundled when I build. Hopefully this will help somebody someday. [import]uid: 27636 topic_id: 8801 reply_id: 32373[/import]