Thanks @balachandran_c – I already have those.
Looking at the VideoPlayer.java
private void initialize(String filePath) {
initializeCommon();
try {
AssetManager am = CinderNativeActivity.getInstance().getAssets();
AssetFileDescriptor afd = am.openFd(filePath);
mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
mMediaPlayer.prepare();
}
catch(Exception e) {
Log.e(TAG, "VideoPlayer.initialize(String filePath) error: " + e.getMessage());
}
if( null != mMediaPlayer ) {
mMediaPlayer.setOnCompletionListener(this);
}
}
It looks like it assumes that the files are in the assets directory of the app. AssetManager is managing the app’s resources.
–8