Class MediaTypes

Class Summary

MediaTypes()
contains the names of all valid Media Types that APMPlayer handles -- also, see Playable.

Method Summary

Field Detail

APM_AUDIO
APMG-specific static audio type -- when playable is constructed, APMConfiguration creates a playable of type AUDIO, with APMG-specific settings (eg StreamGuys)
APMPlayer.media_types.type.APM_AUDIO
APM_LIVE_AUDIO
APMG-specific live streaming audio type -- when playable is constructed, APMConfiguration creates a playable of type LIVE_AUDIO, with APMG-specific settings (eg StreamGuys)
APMPlayer.media_types.type.APM_LIVE_AUDIO
AUDIO
basic static audio type
APMPlayer.media_types.type.AUDIO
LIVE_AUDIO
basic live streaming audio type
APMPlayer.media_types.type.LIVE_AUDIO

Method Detail

  • {boolean} isValid(type)
    checks if type is valid
    MediaTypes.isValid('some_type');
    Parameters:
    {string} type
    Returns:
    {boolean} status