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
OMIDPlayerStateMinimized
Swift
case minimized = 0
-
The player has been reduced from its original size. The video is still potentially visible.
Declaration
Objective-C
OMIDPlayerStateCollapsed
Swift
case collapsed = 1
-
The player’s default playback size.
Declaration
Objective-C
OMIDPlayerStateNormal
Swift
case normal = 2
-
The player has expanded from its original size.
Declaration
Objective-C
OMIDPlayerStateExpanded
Swift
case expanded = 3
-
The player has entered fullscreen mode.
Declaration
Objective-C
OMIDPlayerStateFullscreen
Swift
case fullscreen = 4