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
Video playback from sd card worked with following code. My test file is in Videos directory in sdcard.
public static final Sample[] LOCAL_VIDEOS = new Sample[] {
new Sample("test",
Environment.getExternalStorageDirectory()+"/Videos/test.mp4", Util.TYPE_OTHER),
};