OOPlayerState

Objective-C

enum OOPlayerState : NSInteger {}

Swift

enum OOPlayerState : Int, @unchecked Sendable

List of supported video 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

    OOPlayerStateMINIMIZED

    Swift

    case MINIMIZED = 0
  • The player has been reduced from its original size. The video is still potentially visible.

    Declaration

    Objective-C

    OOPlayerStateCOLLAPSED

    Swift

    case COLLAPSED = 1
  • The player’s default playback size.

    Declaration

    Objective-C

    OOPlayerStateNORMAL

    Swift

    case NORMAL = 2
  • The player has expanded from its original size.

    Declaration

    Objective-C

    OOPlayerStateEXPANDED

    Swift

    case EXPANDED = 3
  • The player has entered fullscreen mode.

    Declaration

    Objective-C

    OOPlayerStateFULLSCREEN

    Swift

    case FULLSCREEN = 4