'snd' : true,
'au' : true,
'aif' : true,
- 'aicf' : true,
- 'aiff' : true
+ 'aiff' : true,
+ 'aicf' : true
},
detect : function( proxy, source, ext ){
- proxy[ 'asyncDispatch' ]( { type : X_EVENT_COMPLETE, canPlay : ext === 'mp3' || ext === 'wma' || ext === 'wav' } );
+ proxy[ 'asyncDispatch' ]( { type : X_EVENT_COMPLETE, canPlay : 0 <= 'mp3 wma wav midi snd au aiff aicf'.indexOf( ext ) } );
},
klass : X_WMPAudio