Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void onPrepared(MediaPlayer mp) {
- try{
- mediaPlayer.setDisplay(surfaceHolder);
- mediaPlayer.start();
- videoControllerView.start();
- layoutProgressBar.setVisibility(View.INVISIBLE);
- RequestsRB.putStartWatchingVideo(this, mCourseId, mToken, mLessons.get(currentVideoNum).getId());
- }catch (Exception e){
- Log.e("WatchVideoActivity=onPrepared", "ERRROR" + "");
- if (mediaPlayer==null) Log.e("WatchVideoActivity=onPrepared", "DA1" + "");
- if (mp==null) Log.e("WatchVideoActivity=onPrepared", "DA2" + "");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement