Options
All
  • Public
  • Public/Protected
  • All
Menu

Attach this component to a clip entity to specify a video source (media file) to play.

Hierarchy

Index

Constructors

constructor

Properties

src

src: string

The path to media source file. This can be a URL if the file is remote, or it can be the path of the source file in the project. HTML media types supported: MP4, WebM, Ogg.

status

Video clip loading status. Set it back to Unloaded when updating src

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static cid

cid: number

Methods

Static _dtorFn

  • Parameters

    Returns void

Static _fromPtr

  • Parameters

    Returns VideoClip

Static _tempHeapPtr

  • Parameters

    Returns number

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc