interface OGPlayerViewProps { adsEnabled?: boolean; autoFullscreenOnRotate?: boolean; autoplay?: boolean; castEnabled?: boolean; doubleTapToSeek?: boolean; licenseKey?: string; looping?: boolean; muted?: boolean; onAdEvent?: (event: AdEvent) => void; onAnalyticsEvent?: (event: AnalyticsEvent) => void; onCustomAction?: (index: number) => void; onError?: (error: OGPlayerError) => void; onFullscreenChanged?: (isFullscreen: boolean) => void; onLiveEdgeChanged?: (atLiveEdge: boolean) => void; onPause?: () => void; onPlay?: () => void; onPlaybackCompleted?: () => void; onPlaylistItemChanged?: (index: number, title: string) => void; onPlaylistItemSkipped?: (fromIndex: number, toIndex: number) => void; onProgress?: (progress: ProgressEvent) => void; onResume?: () => void; onSeekCompleted?: (positionMs: number) => void; onStateChanged?: (state: PlaybackState) => void; onTracksChanged?: ( tracks: { audioTracks: AudioTrack[]; textTracks: TextTrack[]; videoQualities: VideoQuality[]; }, ) => void; overlays?: OverlayConfig[]; playlist?: OGMediaItem[]; rate?: number; source?: OGMediaItem; startInFullscreen?: boolean; startPositionMs?: number; style?: StyleProp< Readonly< Omit< Readonly< Omit< Readonly< { alignContent?: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
; alignItems?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
; alignSelf?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
; aspectRatio?: (...)
| (...)
| (...)
; borderBottomWidth?: (...)
| (...)
; borderEndWidth?: (...)
| (...)
; borderLeftWidth?: (...)
| (...)
; borderRightWidth?: (...)
| (...)
; borderStartWidth?: (...)
| (...)
; borderTopWidth?: (...)
| (...)
; borderWidth?: (...)
| (...)
; bottom?: DimensionValue | undefined
; boxSizing?: (...)
| (...)
| (...)
; columnGap?: (...)
| (...)
| (...)
; direction?: (...)
| (...)
| (...)
| (...)
; display?: (...)
| (...)
| (...)
| (...)
; end?: DimensionValue | undefined
; flex?: (...)
| (...)
; flexBasis?: (...)
| (...)
| (...)
; flexDirection?: (...)
| (...)
| (...)
| (...)
| (...)
; flexGrow?: (...)
| (...)
; flexShrink?: (...)
| (...)
; flexWrap?: (...)
| (...)
| (...)
| (...)
; gap?: (...)
| (...)
| (...)
; height?: DimensionValue | undefined
; inset?: DimensionValue | undefined
; insetBlock?: DimensionValue | undefined
; insetBlockEnd?: DimensionValue | undefined
; insetBlockStart?: DimensionValue | undefined
; insetInline?: DimensionValue | undefined
; insetInlineEnd?: DimensionValue | undefined
; insetInlineStart?: DimensionValue | undefined
; justifyContent?: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
; left?: DimensionValue | undefined
; margin?: DimensionValue | undefined
; marginBlock?: DimensionValue | undefined
; marginBlockEnd?: DimensionValue | undefined
; marginBlockStart?: DimensionValue | undefined
; marginBottom?: DimensionValue | undefined
; marginEnd?: DimensionValue | undefined
; marginHorizontal?: DimensionValue | undefined
; marginInline?: DimensionValue | undefined
; marginInlineEnd?: DimensionValue | undefined
; marginInlineStart?: DimensionValue | undefined
; marginLeft?: DimensionValue | undefined
; marginRight?: DimensionValue | undefined
; marginStart?: DimensionValue | undefined
; marginTop?: DimensionValue | undefined
; marginVertical?: DimensionValue | undefined
; maxHeight?: DimensionValue | undefined
; maxWidth?: DimensionValue | undefined
; minHeight?: DimensionValue | undefined
; minWidth?: DimensionValue | undefined
; overflow?: (...)
| (...)
| (...)
| (...)
; padding?: DimensionValue | undefined
; paddingBlock?: DimensionValue | undefined
; paddingBlockEnd?: DimensionValue | undefined
; paddingBlockStart?: DimensionValue | undefined
; paddingBottom?: DimensionValue | undefined
; paddingEnd?: DimensionValue | undefined
; paddingHorizontal?: DimensionValue | undefined
; paddingInline?: DimensionValue | undefined
; paddingInlineEnd?: DimensionValue | undefined
; paddingInlineStart?: DimensionValue | undefined
; paddingLeft?: DimensionValue | undefined
; paddingRight?: DimensionValue | undefined
; paddingStart?: DimensionValue | undefined
; paddingTop?: DimensionValue | undefined
; paddingVertical?: DimensionValue | undefined
; position?: (...)
| (...)
| (...)
| (...)
; right?: DimensionValue | undefined
; rowGap?: (...)
| (...)
| (...)
; start?: DimensionValue | undefined
; top?: DimensionValue | undefined
; width?: DimensionValue | undefined
; zIndex?: (...)
| (...)
; }, >, | "pointerEvents" | "filter" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformOrigin" | "backfaceVisibility" | "backgroundColor" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "opacity" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "elevation" | "cursor" | "boxShadow" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "isolation", > & Omit< Readonly<Omit<(...)
, (...)
> & Omit<(...)
, (...)
>>, | "pointerEvents" | "filter" | "transform" | "transformOrigin" | "backfaceVisibility" | "backgroundColor" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "opacity" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "elevation" | "cursor" | "boxShadow" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "isolation", > & Omit< Readonly< { transform?: (...)
| (...)
| (...)
; transformOrigin?: (...)
| (...)
| (...)
; }, >, | "pointerEvents" | "filter" | "backfaceVisibility" | "backgroundColor" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "opacity" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "elevation" | "cursor" | "boxShadow" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "isolation", > & Omit< Readonly< { backfaceVisibility?: (...)
| (...)
| (...)
; backgroundColor?: ____ColorValue_Internal | undefined
; borderBlockColor?: ____ColorValue_Internal | undefined
; borderBlockEndColor?: ____ColorValue_Internal | undefined
; borderBlockStartColor?: ____ColorValue_Internal | undefined
; borderBottomColor?: ____ColorValue_Internal | undefined
; borderBottomEndRadius?: (...)
| (...)
| (...)
; borderBottomLeftRadius?: (...)
| (...)
| (...)
; borderBottomRightRadius?: (...)
| (...)
| (...)
; borderBottomStartRadius?: (...)
| (...)
| (...)
; borderBottomWidth?: (...)
| (...)
; borderColor?: ____ColorValue_Internal | undefined
; borderCurve?: (...)
| (...)
| (...)
; borderEndColor?: ____ColorValue_Internal | undefined
; borderEndEndRadius?: (...)
| (...)
| (...)
; borderEndStartRadius?: (...)
| (...)
| (...)
; borderEndWidth?: (...)
| (...)
; borderLeftColor?: ____ColorValue_Internal | undefined
; borderLeftWidth?: (...)
| (...)
; borderRadius?: (...)
| (...)
| (...)
; borderRightColor?: ____ColorValue_Internal | undefined
; borderRightWidth?: (...)
| (...)
; borderStartColor?: ____ColorValue_Internal | undefined
; borderStartEndRadius?: (...)
| (...)
| (...)
; borderStartStartRadius?: (...)
| (...)
| (...)
; borderStartWidth?: (...)
| (...)
; borderStyle?: (...)
| (...)
| (...)
| (...)
; borderTopColor?: ____ColorValue_Internal | undefined
; borderTopEndRadius?: (...)
| (...)
| (...)
; borderTopLeftRadius?: (...)
| (...)
| (...)
; borderTopRightRadius?: (...)
| (...)
| (...)
; borderTopStartRadius?: (...)
| (...)
| (...)
; borderTopWidth?: (...)
| (...)
; borderWidth?: (...)
| (...)
; boxShadow?: (...)
| (...)
| (...)
; cursor?: CursorValue | undefined
; elevation?: (...)
| (...)
; experimental_backgroundImage?: (...)
| (...)
| (...)
; experimental_backgroundPosition?: (...)
| (...)
| (...)
; experimental_backgroundRepeat?: (...)
| (...)
| (...)
; experimental_backgroundSize?: (...)
| (...)
| (...)
; filter?: (...)
| (...)
| (...)
; isolation?: (...)
| (...)
| (...)
; mixBlendMode?: ____BlendMode_Internal | undefined
; opacity?: (...)
| (...)
; outlineColor?: ____ColorValue_Internal | undefined
; outlineOffset?: (...)
| (...)
; outlineStyle?: (...)
| (...)
| (...)
| (...)
; outlineWidth?: (...)
| (...)
; pointerEvents?: (...)
| (...)
| (...)
| (...)
| (...)
; }, >, never, >, >, never, > & Omit<Readonly<{}>, never>, >, >; subtitleStyle?: SubtitleStyle; subtitleTextScale?: number; uiConfig?: OGUIConfig; volume?: number; volumeControlMode?: "DEVICE" | "PLAYER";}
Enables the Google IMA pipeline for items carrying
ads.adTagUrl.