add some code of VideoPlayerActivity.java