Fullscreen orientation (iOS)
You can define how the Player should behave in fullscreen by setting orientation preferences.
- Using
defaultFullscreenOrientationparameter fromDMPlayerParametersobject passed to create Player in order to set the default orientation when user requests fullscreen. - Using the function
setFullscreen(fullscreen: Bool, orientation: DMPlayerFullscreenOrientation? = nil)to overwrite the default orientation when programmatically want to switch to fullscreen.
Updated 17 days ago
