Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void videoStop() {
- url.clear();
- resumePosition = 0;
- if (player != null && simpleExoPlayerView != null && simpleExoPlayerView.getPlayer() != null) {
- simpleExoPlayerView.setPlayer(null);
- player.stop(true);
- player.release();
- player = null;
- }
- }
Add Comment
Please, Sign In to add comment