Global

Methods

initAudioOrVideo(wmm, type)

Parameters:
Name Type Description
wmm object WmmAudio or WmmVideo instance.
type string 'video' or 'audio'.
Source:

initCssClasses(wmm)

Init CSS of WmmVideo or WmmAudio component.
Parameters:
Name Type Description
wmm object WmmAudio or WmmVideo instance.
Source:

unloadMedia(mediaEl)

Make sure video and audio elements release their resources when removed from DOM.
Parameters:
Name Type Description
mediaEl Element
Source: