add the function -- VideoPlayerActivity.java