Interface VideoPlayer

Hierarchy

Index

Properties

Methods

Properties

public accessibilityHidden: boolean

public accessibilityHint: string

public accessibilityLabel: string

public accessibilityValue: string

public allowsAirPlay: boolean

public anchorPoint: Point

public animatedCenter: Point

public autoplay: boolean

public backgroundColor: string

public backgroundDisabledColor: string

public backgroundDisabledImage: string

public backgroundFocusedColor: string

public backgroundFocusedImage: string

public backgroundGradient: Gradient

public backgroundImage: string

public backgroundLeftCap: number

public backgroundRepeat: boolean

public backgroundSelectedColor: string

public backgroundSelectedImage: string

public backgroundTopCap: number

public borderColor: string

public borderRadius: number

public borderWidth: number

public bottom: any

public bubbleParent: boolean

public center: Point

public children: View[]

public contentURL: string

public currentPlaybackTime: number

public duration: number

public enabled: boolean

public endPlaybackTime: number

public focusable: boolean

public fullscreen: boolean

public height: any

public horizontalWrap: boolean

public initialPlaybackTime: number

public keepScreenOn: boolean

public layout: string

public left: any

public loadState: number

public media: any

public mediaControlStyle: number

public mediaTypes: number

public movieControlMode: number

public naturalSize: MovieSize

public opacity: number

public playableDuration: number

public playbackState: number

public playing: boolean

public rect: Dimension

public repeatMode: number

public right: any

public scalingMode: number

public size: Dimension

public softKeyboardOnFocus: number

public sourceType: number

public tintColor: any

public top: any

public touchEnabled: boolean

public transform: any

public url: any

public useApplicationAudioSession: boolean

public visible: boolean

public volume: number

public width: any

public zIndex: number

Methods

public add(view: View)

Parameters

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public animate(animation: Animation, callback: (...args: any[]) => any)

Parameters

  • animation: Animation
  • callback: (...args: any[]) => any

public animate(animation: Dictionary, callback: (...args: any[]) => any)

Parameters

  • animation: Dictionary
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public cancelAllThumbnailImageRequests()

public convertPointToView(point: Point, destinationView: View): Point

Parameters

Returns

Point

public finishLayout()

public fireEvent(name: string, event: Dictionary)

Parameters

public getAccessibilityHidden(): boolean

Returns

boolean

public getAccessibilityHint(): string

Returns

string

public getAccessibilityLabel(): string

Returns

string

public getAccessibilityValue(): string

Returns

string

public getAllowsAirPlay(): boolean

Returns

boolean

public getAnchorPoint(): Point

Returns

Point

public getAnimatedCenter(): Point

Returns

Point

public getAutoplay(): boolean

Returns

boolean

public getBackgroundColor(): string

Returns

string

public getBackgroundDisabledColor(): string

Returns

string

public getBackgroundDisabledImage(): string

Returns

string

public getBackgroundFocusedColor(): string

Returns

string

public getBackgroundFocusedImage(): string

Returns

string

public getBackgroundGradient(): Gradient

Returns

Gradient

public getBackgroundImage(): string

Returns

string

public getBackgroundLeftCap(): number

Returns

number

public getBackgroundRepeat(): boolean

Returns

boolean

public getBackgroundSelectedColor(): string

Returns

string

public getBackgroundSelectedImage(): string

Returns

string

public getBackgroundTopCap(): number

Returns

number

public getBorderColor(): string

Returns

string

public getBorderRadius(): number

Returns

number

public getBorderWidth(): number

Returns

number

public getBottom(): any

Returns

any

public getBubbleParent(): boolean

Returns

boolean

public getCenter(): Point

Returns

Point

public getChildren(): View[]

Returns

View[]

public getContentURL(): string

Returns

string

public getCurrentPlaybackTime(): number

Returns

number

public getDuration(): number

Returns

number

public getEnabled(): boolean

Returns

boolean

public getEndPlaybackTime(): number

Returns

number

public getFocusable(): boolean

Returns

boolean

public getFullscreen(): boolean

Returns

boolean

public getHeight(): any

Returns

any

public getHorizontalWrap(): boolean

Returns

boolean

public getInitialPlaybackTime(): number

Returns

number

public getKeepScreenOn(): boolean

Returns

boolean

public getLayout(): string

Returns

string

public getLeft(): any

Returns

any

public getLoadState(): number

Returns

number

public getMediaControlStyle(): number

Returns

number

public getMediaTypes(): number

Returns

number

public getMovieControlMode(): number

Returns

number

public getNaturalSize(): MovieSize

Returns

MovieSize

public getOpacity(): number

Returns

number

public getPlayableDuration(): number

Returns

number

public getPlaybackState(): number

Returns

number

public getPlaying(): boolean

Returns

boolean

public getRect(): Dimension

Returns

Dimension

public getRepeatMode(): number

Returns

number

public getRight(): any

Returns

any

public getScalingMode(): number

Returns

number

public getSize(): Dimension

Returns

Dimension

public getSoftKeyboardOnFocus(): number

Returns

number

public getSourceType(): number

Returns

number

public getTintColor(): string

Returns

string

public getTop(): any

Returns

any

public getTouchEnabled(): boolean

Returns

boolean

public getTransform(): any

Returns

any

public getUrl(): any

Returns

any

public getUseApplicationAudioSession(): boolean

Returns

boolean

public getVisible(): boolean

Returns

boolean

public getVolume(): number

Returns

number

public getWidth(): any

Returns

any

public getZIndex(): number

Returns

number

public hide()

public pause()

public play()

public release()

public remove(view: View)

Parameters

public removeAllChildren()

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public requestThumbnailImagesAtTimes(times: Array<Number>, option: number, callback: (...args: any[]) => any)

Parameters

  • times: Array<Number>
  • option: number
  • callback: (...args: any[]) => any

public setAccessibilityHidden(accessibilityHidden: boolean)

Parameters

  • accessibilityHidden: boolean

public setAccessibilityHint(accessibilityHint: string)

Parameters

  • accessibilityHint: string

public setAccessibilityLabel(accessibilityLabel: string)

Parameters

  • accessibilityLabel: string

public setAccessibilityValue(accessibilityValue: string)

Parameters

  • accessibilityValue: string

public setAllowsAirPlay(allowsAirPlay: boolean)

Parameters

  • allowsAirPlay: boolean

public setAnchorPoint(anchorPoint: Point)

Parameters

public setAutoplay(autoplay: boolean)

Parameters

  • autoplay: boolean

public setBackgroundColor(backgroundColor: string)

Parameters

  • backgroundColor: string

public setBackgroundDisabledColor(backgroundDisabledColor: string)

Parameters

  • backgroundDisabledColor: string

public setBackgroundDisabledImage(backgroundDisabledImage: string)

Parameters

  • backgroundDisabledImage: string

public setBackgroundFocusedColor(backgroundFocusedColor: string)

Parameters

  • backgroundFocusedColor: string

public setBackgroundFocusedImage(backgroundFocusedImage: string)

Parameters

  • backgroundFocusedImage: string

public setBackgroundGradient(backgroundGradient: Gradient)

Parameters

public setBackgroundImage(backgroundImage: string)

Parameters

  • backgroundImage: string

public setBackgroundLeftCap(backgroundLeftCap: number)

Parameters

  • backgroundLeftCap: number

public setBackgroundRepeat(backgroundRepeat: boolean)

Parameters

  • backgroundRepeat: boolean

public setBackgroundSelectedColor(backgroundSelectedColor: string)

Parameters

  • backgroundSelectedColor: string

public setBackgroundSelectedImage(backgroundSelectedImage: string)

Parameters

  • backgroundSelectedImage: string

public setBackgroundTopCap(backgroundTopCap: number)

Parameters

  • backgroundTopCap: number

public setBackgroundView(view: View)

Parameters

public setBorderColor(borderColor: string)

Parameters

  • borderColor: string

public setBorderRadius(borderRadius: number)

Parameters

  • borderRadius: number

public setBorderWidth(borderWidth: number)

Parameters

  • borderWidth: number

public setBottom(bottom: number)

Parameters

  • bottom: number

public setBottom(bottom: string)

Parameters

  • bottom: string

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setCenter(center: Point)

Parameters

public setContentURL(contentURL: string)

Parameters

  • contentURL: string

public setCurrentPlaybackTime(currentPlaybackTime: number)

Parameters

  • currentPlaybackTime: number

public setDuration(duration: number)

Parameters

  • duration: number

public setEnabled(enabled: boolean)

Parameters

  • enabled: boolean

public setEndPlaybackTime(endPlaybackTime: number)

Parameters

  • endPlaybackTime: number

public setFocusable(focusable: boolean)

Parameters

  • focusable: boolean

public setFullscreen(fullscreen: boolean)

Parameters

  • fullscreen: boolean

public setHeight(height: number)

Parameters

  • height: number

public setHeight(height: string)

Parameters

  • height: string

public setHorizontalWrap(horizontalWrap: boolean)

Parameters

  • horizontalWrap: boolean

public setInitialPlaybackTime(initialPlaybackTime: number)

Parameters

  • initialPlaybackTime: number

public setKeepScreenOn(keepScreenOn: boolean)

Parameters

  • keepScreenOn: boolean

public setLayout(layout: string)

Parameters

  • layout: string

public setLeft(left: number)

Parameters

  • left: number

public setLeft(left: string)

Parameters

  • left: string

public setMedia(media: Blob)

Parameters

public setMedia(media: File)

Parameters

public setMedia(media: string)

Parameters

  • media: string

public setMediaControlStyle(mediaControlStyle: number)

Parameters

  • mediaControlStyle: number

public setMediaTypes(mediaTypes: number)

Parameters

  • mediaTypes: number

public setMovieControlMode(movieControlMode: number)

Parameters

  • movieControlMode: number

public setNaturalSize(naturalSize: MovieSize)

Parameters

public setOpacity(opacity: number)

Parameters

  • opacity: number

public setRepeatMode(repeatMode: number)

Parameters

  • repeatMode: number

public setRight(right: number)

Parameters

  • right: number

public setRight(right: string)

Parameters

  • right: string

public setScalingMode(scalingMode: number)

Parameters

  • scalingMode: number

public setSoftKeyboardOnFocus(softKeyboardOnFocus: number)

Parameters

  • softKeyboardOnFocus: number

public setSourceType(sourceType: number)

Parameters

  • sourceType: number

public setTintColor(tintColor: string)

Parameters

  • tintColor: string

public setTop(top: number)

Parameters

  • top: number

public setTop(top: string)

Parameters

  • top: string

public setTouchEnabled(touchEnabled: boolean)

Parameters

  • touchEnabled: boolean

public setTransform(transform: _2DMatrix)

Parameters

public setTransform(transform: _3DMatrix)

Parameters

public setUrl(url: string)

Parameters

  • url: string

public setUrl(url: Array<String>)

Parameters

  • url: Array<String>

public setUseApplicationAudioSession(useApplicationAudioSession: boolean)

Parameters

  • useApplicationAudioSession: boolean

public setVisible(visible: boolean)

Parameters

  • visible: boolean

public setVolume(volume: number)

Parameters

  • volume: number

public setWidth(width: number)

Parameters

  • width: number

public setWidth(width: string)

Parameters

  • width: string

public setZIndex(zIndex: number)

Parameters

  • zIndex: number

public show(args?: Array<any>)

Parameters

  • args?: Array<any> optional

public startLayout()

public stop()

public thumbnailImageAtTime(time: number, option: number): Blob

Parameters

  • time: number
  • option: number

Returns

Blob

public toImage(callback?: (...args: any[]) => any, honorScaleFactor?: boolean): Blob

Parameters

  • callback?: (...args: any[]) => any optional
  • honorScaleFactor?: boolean optional

Returns

Blob

public updateLayout(params: Dictionary)

Parameters