X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F07_audio%2F05_XWMPAudio.js;h=7c6964ff18ba2748be72899da2bcb90ea906361c;hb=54eba266c29baf743f6ac67942a2788cd697b12d;hp=075f5374c7f14bddbff3d080cf323bbfe4ba3903;hpb=3c07e12e13272820cedf983e0d9fe46e5f0a4bd9;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/07_audio/05_XWMPAudio.js b/0.6.x/js/07_audio/05_XWMPAudio.js index 075f537..7c6964f 100644 --- a/0.6.x/js/07_audio/05_XWMPAudio.js +++ b/0.6.x/js/07_audio/05_XWMPAudio.js @@ -218,12 +218,12 @@ if( X_Pulgin_WMP_VERSION ){ // IETester で 6.x は不可 '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