API Documentation for: 0.6.0
Show:

VideoLoader Class

Defined in: VideoLoader:41
Module: PreloadJS

A loader for video files.

Constructor

VideoLoader

(
  • loadItem
  • preferXHR
)

Defined in VideoLoader:41

Parameters:

Item Index

Methods

Methods

canLoadItem

(
  • item
)
Boolean static

Defined in canLoadItem:75

Determines if the loader can load a specific item. This loader can only load items that are of type VIDEO.

Parameters:

  • item LoadItem | Object

    The LoadItem that a LoadQueue is trying to load.

Returns:

Boolean:

Whether the loader can load the item.