Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • IProps
    • IProps

Index

Properties

Optional end

end: MillisecondsAccepted

height

height: number

Optional loop

loop: undefined | true | false

Optional positionInterval

positionInterval: MillisecondsAccepted

Optional poster

poster: UrlAccepted

Optional start

start: MillisecondsAccepted

Optional state

state: Stopped | Buffering | Playing

url

url: UrlAccepted

width

width: number

Methods

Optional onDimensions

  • onDimensions(dimensions: IWidthHeight): void
  • Parameters

    • dimensions: IWidthHeight

    Returns void

Optional onDuration

  • onDuration(duration: Milliseconds): void
  • Parameters

    • duration: Milliseconds

    Returns void

Optional onError

  • onError(error: Error, resource: T): void
  • Parameters

    • error: Error
    • resource: T

    Returns void

Optional onLoad

  • onLoad(resource: T): void
  • Parameters

    • resource: T

    Returns void

Optional onPosition

  • onPosition(position: Milliseconds): void
  • Parameters

    • position: Milliseconds

    Returns void

Optional onProgress

  • onProgress(percentage: number): void
  • Parameters

    • percentage: number

    Returns void

Optional onStateChange

  • onStateChange(state: State): void
  • Parameters

    • state: State

    Returns void