Video file not running on Android 5.1.1 builds. Working fine in preview on device

Current code:

<Video File="intro.mp4" IsLooping="true" StretchMode="UniformToFill" AutoPlay="true" Layer="Background" />

Error:

E/MediaPlayer-JNI(22716): QCMediaPlayer mediaplayer NOT present
W/System.err(22716): java.io.FileNotFoundException: intro.mp4
W/System.err(22716):     at android.content.res.AssetManager.openAssetFd(Native Method)
W/System.err(22716):     at android.content.res.AssetManager.openFd(AssetManager.java:370)

The video file appears in the build folder, so it is copied over. Again, the video displays just fine in preview, locally and on an Android device.

Also tried using a resource instead of file - no luck.

Issue reported for 0.10.6032. Just tested 0.9.11 and it works fine.

Thanks for the report!

We will investigate asap

Hi!

What device are you trying to run this on? I just tested this on a Nexus 5 and LG G2, and there were no problems there playing video from file

Hey. A Sony Z3 Compact, running 5.1.1. Fuse build 6032. The error reported is file not found. Works fine built with 0.9.11.

Identified by @erik. Should be in a future build.

Thanks a lot for the bug-report. The issue has been found and fixed. We’ll make sure the fix is available shortly.

It was actually @vegard who found and fixed the issue, I was just a middle-man :wink: