Right now the code only handles videos by importing them to the project as resources. This means that paths for the resources must be hardcoded into the application instead of just being defined inside the database/JSON file (for example, the jumping jacks video is retrieved with the call return "android.resource://" + getPackageName() + "/" + R.raw.jumpingjacks;).
In the future, videos will need to also be taken from storage for student/classroom customization.
Right now the code only handles videos by importing them to the project as resources. This means that paths for the resources must be hardcoded into the application instead of just being defined inside the database/JSON file (for example, the jumping jacks video is retrieved with the call
return "android.resource://" + getPackageName() + "/" + R.raw.jumpingjacks;
).In the future, videos will need to also be taken from storage for student/classroom customization.