Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
- @Override
- public void onConfigurationChanged(Configuration newConfig) {
- mJWPlayerView.setFullscreen(newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE, true);
- super.onConfigurationChanged(newConfig);
- }
- PlaylistItem pi = new PlaylistItem.Builder()
- .file("https:" + videoModel.getVideoUrl().getHlsUrl())
- .build();
- mJWPlayerView.load(pi);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement