Hierarchy

  • VideoReader

Methods

  • Parameters

    • targetFrame: number
    • playbackRate: number

    Returns Promise<void>

  • Parameters

    • targetTime: number
    • play: boolean = true

    Returns Promise<void>

Constructors

  • Parameters

    • mp4Data: Uint8Array
    • width: number
    • height: number
    • frameRate: number
    • staticTimeRanges: TimeRange[]
    • isWorker: boolean = false

    Returns VideoReader

Properties

isSought: boolean = false
isPlaying: boolean = false
bitmap: null | ImageBitmap = null
videoEl: null | HTMLVideoElement = null
frameRate: number = 0
canplay: boolean = false
staticTimeRanges: null | StaticTimeRanges = null
disablePlaybackRate: boolean = false
error: any = null
player: null | PAGPlayer = null
width: number = 0
height: number = 0
bitmapCanvas: null | OffscreenCanvas = null
bitmapCtx: null | OffscreenCanvasRenderingContext2D = null

Generated using TypeDoc