OMIDPlayerState
Objective-C
enum OMIDPlayerState : NSUInteger {}
Swift
enum OMIDPlayerState : UInt, @unchecked Sendable
List of supported media event player states.
-
The player is collapsed in such a way that the video is hidden. The video may or may not still be progressing in this state, and sound may be audible. This refers specifically to the video player state on the page, and not the state of the browser window.
Declaration
Objective-C
OMIDPlayerStateMinimizedSwift
case minimized = 0 -
The player has been reduced from its original size. The video is still potentially visible.
Declaration
Objective-C
OMIDPlayerStateCollapsedSwift
case collapsed = 1 -
The player’s default playback size.
Declaration
Objective-C
OMIDPlayerStateNormalSwift
case normal = 2 -
The player has expanded from its original size.
Declaration
Objective-C
OMIDPlayerStateExpandedSwift
case expanded = 3 -
The player has entered fullscreen mode.
Declaration
Objective-C
OMIDPlayerStateFullscreenSwift
case fullscreen = 4
OMIDPlayerState Enumeration Reference