I did not find any comment on this topic yet, so here again.
I am using cordova 5 with API22, having a working Video (played it successfully on my Galaxy S4 mini).
What I am doing now is creating an app that either streams the videos (that part works fine)
or downloads them to the local filesystem i.e. file://data/data/com.kosmoskosmos.myproject/9999.mp4,
once you klick a specific button. Download etc. works finde. iOS doesn't have any problem with it (also playing from this source).
I understood that the plugin is requiring to have the files kept in $PROJECT_ROOT/platforms/android/res/raw
You can also load videos from your data directory, however you need to make them WORLD_READABLE. Check the copyResourceFileToDataDir() function in the Java file to see how to do that.
Hi,
I did not find any comment on this topic yet, so here again. I am using cordova 5 with API22, having a working Video (played it successfully on my Galaxy S4 mini).
What I am doing now is creating an app that either streams the videos (that part works fine) or downloads them to the local filesystem i.e. file://data/data/com.kosmoskosmos.myproject/9999.mp4, once you klick a specific button. Download etc. works finde. iOS doesn't have any problem with it (also playing from this source).
I understood that the plugin is requiring to have the files kept in $PROJECT_ROOT/platforms/android/res/raw
Does anyone have a hint how to solve this issue?