VideoLoader Class

Module: Loaders

VideoLoader can be used to load external video resources.

Item Index

Methods

Methods

load

(
  • url
  • onLoad
  • onProgress
  • onError
)

Load video resource from URL.

Parameters:

  • url String
  • onLoad Function
  • onProgress Function
  • onError Function

parse

(
  • json
)
Material

Parse material JSON.

Parameters:

  • json Object

Returns:

Material:

material