RBSDKPlayerOption
enum RBSDKPlayerOption {}
RBSDKPlayerOption
provide extra data for initializing players
-
Play as soon as the main video has loaded.
Declaration
Objective-C
RBSDKPlayerOptionAutoPlay = 1 << 0
-
The player will show the fullscreen button and will have the ability to go fullscreen, enable this if you want autofullscreen on landscape.
Declaration
Objective-C
RBSDKPlayerOptionAllowFullscreen = 1 << 1
-
Go fullscreen automatically when rotating the device to a landscape position.
Declaration
Objective-C
RBSDKPlayerOptionAutoFullscreenOnLandscape = 1 << 2
-
Change the player Video Gravity. By default, the Video Gravity is Aspect Fill. RBSDKPlayerOptionVideoGravityAspectFit preserves the aspect ratio and fit within layer bounds.
Declaration
Objective-C
RBSDKPlayerOptionVideoGravityAspectFit = 1 << 3
-
Hide the stream caption on the player controls By default the captions are shown.
Declaration
Objective-C
RBSDKPlayerOptionHideCaption = 1 << 4
-
Playback mode as preview. This means the player will show the clips defined and by some action will switch to full video playback.
Declaration
Objective-C
RBSDKPlayerOptionPlaybackPreview = 1 << 5
-
Enables realtime features, as likes and chat
Declaration
Objective-C
RBSDKPlayerOptionEnableRealtime = 1 << 6
-
Allows to stop the player controller manually, this means player controller tear down will not be managed automatically at dissapear.. The tearDown method must be called on the implementation.
Declaration
Objective-C
RBSDKPlayerOptionManualTearDown = 1 << 7
-
Allows to hide the vertical and horizontal Visual index that shows what Reel and Stream the Player is currently playbacking.
Declaration
Objective-C
RBSDKPlayerOptionHideVisualIndex = 1 << 8