OSDN Git Service

Version 0.6.187, add Scroll-Indicator for X.UI.ScrollBox, bugfix of X.HTMLAudio.
[pettanr/clientJs.git] / 0.6.x / js / 07_audio / 05_XWMPAudio.js
index 075f537..7c6964f 100644 (file)
@@ -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