Log in or register to post comments

How to add multiple videos in the videoplayback sample from an external data source

December 3, 2014 - 4:01am #1

I am replacing the code
AssetFileDescriptor afd = mParentActivity.getAssets()
.openFd(filename);
mMediaPlayer.setDataSource(afd.getFileDescriptor(),
afd.getStartOffset(), afd.getLength());
afd.close();
In both the methods where this code is defined with
mMediaPlayer.setDataSource("http://183.83.192.100/GUI_SERVER/aagadu.mp4");

But this is playing out only a single video what if i wanna play multiple videos from external source .

Log in or register to post comments