API Documentation for: 0.6.0
Show:

MediaTagRequest Class

Defined in: MediaTagRequest:41
Module: PreloadJS

An TagRequest that loads HTML tags for video and audio.

Constructor

MediaTagRequest

(
  • loadItem
  • tag
  • srcAttribute
)

Defined in MediaTagRequest:41

Parameters:

  • loadItem LoadItem
  • tag HTMLAudioElement | HTMLVideoElement
  • srcAttribute String

    The tag attribute that specifies the source, such as "src", "href", etc.

Item Index

Methods

Methods

_handleProgress

(
  • event
)
private

Defined in _handleProgress:89

An XHR request has reported progress.

Parameters:

  • event Object

    The XHR progress event.