XQMuse/Root/CLPlayer/CLPlayerView.swift
@@ -8,6 +8,7 @@ import AVFoundation import SnapKit import UIKit import JQTools extension CLPlayerView { enum CLWaitReadyToPlayState { @@ -235,6 +236,7 @@ if config.rotateStyle == .small, isFullScreen { return } if config.rotateStyle == .fullScreen, !isFullScreen { return } if let vc = JQ_currentViewController() as? CourseVC,vc.pageViewController.currentPage == 1{ switch UIDevice.current.orientation { case .portrait: dismiss() @@ -246,6 +248,7 @@ break } } } func appDidEnterBackground() { isEnterBackground = true