opt onOrientationChanged

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-23 11:21:04 +08:00
parent d6bce6aa63
commit 24ab7505e6

View File

@@ -525,8 +525,9 @@ class PlPlayerController with BlockConfigMixin {
}
void _onOrientationChanged(OrientationParams param) {
_orientation = param.orientation;
if (!visible) return;
final orientation = _orientation = param.orientation;
final orientation = param.orientation;
final isFullScreen = this.isFullScreen.value;
if (checkIsAutoRotate &&
param.isAutoRotate != true &&