@@ -1135,12 +1135,15 @@ public void openVideoPlayer(final boolean directlyFullscreenIfApplicable) {
11351135 }
11361136
11371137 /**
1138- * If the option to start directly fullscreen is enabled, calls
1139- * {@link #openVideoPlayer(boolean)} with {@code directlyFullscreenIfApplicable = true}, so that
1140- * if the user is not already in landscape and he has screen orientation locked the activity
1141- * rotates and fullscreen starts. Otherwise, if the option to start directly fullscreen is
1142- * disabled, calls {@link #openVideoPlayer(boolean)} with {@code directlyFullscreenIfApplicable
1143- * = false}, hence preventing it from going directly fullscreen.
1138+ * If the option to start directly fullscreen is enabled, or if {@code forceFullscreen} is
1139+ * {@code true} (e.g. when switching from popup player to main player with a different video),
1140+ * calls {@link #openVideoPlayer(boolean)} with {@code directlyFullscreenIfApplicable = true},
1141+ * so that if the user is not already in landscape and he has screen orientation locked the
1142+ * activity rotates and fullscreen starts. Otherwise, if the option to start directly fullscreen
1143+ * is disabled and {@code forceFullscreen} is {@code false}, calls
1144+ * {@link #openVideoPlayer(boolean)} with {@code directlyFullscreenIfApplicable = false},
1145+ * hence preventing it from going directly fullscreen.
1146+ * {@code forceFullscreen} is reset to {@code false} after this call.
11441147 */
11451148 public void openVideoPlayerAutoFullscreen () {
11461149 openVideoPlayer (forceFullscreen
0 commit comments