Page 1 of 2

In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 7:51 pm
by William Fulton

In-app video not playing once apk is built. I have been trying to get an in-app video to play on my android devices but am having no luck. The browser test works, I have exported to eclipse and the test works there as well, but once the apk file is built and loaded, the video no longer works.


In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 8:20 pm
by Maryna Brodina

Hello!
Could you clarify what is the video? What is the format of this video?


In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 8:23 pm
by William Fulton

This is an .mp4 video file using the "Video" control. I have uploaded the video in a folder I created in the project and referenced the video in the player configuration.


In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 9:32 pm
by William Fulton

Hello, this question is not answered yet. Please change the status.


In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 9:41 pm
by Maryna Brodina

Could you clarify what URL did you specify for video?


In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 10:07 pm
by William Fulton

I specified the location of the mp4 file in the app's file path. In this case it is src="file/video/sequence1.mp4"

I can't paste the full block of code, unfortunately.


In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 10:11 pm
by Maryna Brodina

Please use < code tag to paste the sode


In-app video not playing once apk file is built.

Posted: Tue Feb 18, 2014 10:41 pm
by William Fulton

code
<video id="startScreen_video_2" dsid="video_2" name="video_2" class="startScreen_video_2"
autoplay="true" preload="none">
<source src="files/video/sequence1&#46;mp4" type="video/mp4" />
<source src="" type="" />
<source src="" type="" />
</video>
/code


In-app video not playing once apk file is built.

Posted: Wed Feb 19, 2014 8:24 am
by Kateryna Grynko

Hi William,

This seems to be a PhoneGap bug, please try this approach: https://getsatisfaction.com/apperyio/...


In-app video not playing once apk file is built.

Posted: Wed Feb 19, 2014 3:52 pm
by Kateryna Grynko

https://github.com/phonegap/build/iss... - this seems to be the issue.