CordovaAudioLoader Class
Loader provides a mechanism to preload Cordova audio content via PreloadJS or internally. Instances are returned to the preloader, and the load method is called when the asset needs to be requested. Currently files are assumed to be local and no loading actually takes place. This class exists to more easily support the existing architecture.
Item Index
Methods
Properties
Methods
_getMediaDuration
()
protected
will attempt to get duration of audio until successful or time passes this._item.loadTimeout
_mediaErrorHandler
(
protected
-
error
Fires if audio cannot seek, indicating that src does not exist.
Parameters:
-
error
Object