I am using the Exoplayer Demo app and want to preload a MP4 video from SD card. I have tried out the implementation from this post, but it does not work. There is no such class
For those looking to load from the assets folder:
assets/xyz.mp4
it works by loading the file with:
"file:/android_asset/xyz.mp4"
and using the DefaultDataSourceFactory. Checked on exoplayer 2.4.4.