API Documentation for: 1.0.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:95

An XHR request has reported progress.

Parameters:

  • event Object

    The XHR progress event.