I’m trying out Ionic 2 for the first time.
I’m having one issue, though. I can’t figure out where to put a video file I need to link to.
I’m using a plugin (cordova-vr-player) to use VR view.
At some point, on home.ts, I put GoogleVRPlayer.playVideo(‘shark.mp4’);
This opens the player, but then I get the error (on android):
Error loading video: com.google.android.exoplayer.upstream.FileDataSource$FileDataSourceException: java.io.FileNotFoundException: shark.mp4: open failed: ENOENT (No such file or directory).
I’ve put shark.mp4 in the same folder as home.ts
Anyone who can help me with this?