var X_WMPAudio;
-if( X_Pulgin_WMP_VERSION ){ // IETester で 6.x は不可
+if( X_Plugin_WMP_VERSION ){ // IETester で 6.x は不可
X_WMPAudio = X_AudioBase[ 'inherits' ](
'X.WMPAudio',
X_Class.POOL_OBJECT,
this.disatcher = disatcher || this;
this._source = source;
- if( 7 <= X_Pulgin_WMP_VERSION ){
+ if( 7 <= X_Plugin_WMP_VERSION ){
this.xnodeObject = X_Node_systemNode[ 'create' ]( 'object', {
'classID' : 'CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6',
width : 1,
switch( e.type ){
case X_EVENT_AFTER_UPDATE :
this._readyState = 1;
- if( 7 <= X_Pulgin_WMP_VERSION ){
+ if( 7 <= X_Plugin_WMP_VERSION ){
this._wmp = this.xnodeObject[ '_rawObject' ];
this._wmp[ 'URL' ] = this._source;
this.wmp = this._wmp[ 'controls' ];
// road 中の場合
if( this._readyState === 1 ){
- if( 7 <= X_Pulgin_WMP_VERSION ){
+ if( 7 <= X_Plugin_WMP_VERSION ){
progress = this._wmp[ 'network' ][ 'downloadProgress' ];
} else {
progress = this.wmp[ 'BufferingProgress' ];
this.disatcher[ 'dispatch' ]( { type : X_EVENT_PROGRESS, 'percent' : progress } );
} else {
this._readyState = 2;
- if( 7 <= X_Pulgin_WMP_VERSION ){
+ if( 7 <= X_Plugin_WMP_VERSION ){
this.duration = this._wmp[ 'currentMedia' ].duration * 1000 | 0;
} else {
this.duration = this.wmp[ 'Duration' ] * 1000 | 0;
},
setVolume : function(){
- if( 7 <= X_Pulgin_WMP_VERSION ){
+ if( 7 <= X_Plugin_WMP_VERSION ){
this._wmp[ 'settings' ][ 'Volume' ] = this.gain * 100;
} else {
this.wmp[ 'Volume' ] = ( 1 - this.gain ) * 10000;
X_Audio_BACKENDS.push( {
backendID : 16,
- backendName : 'WMP' + X_Pulgin_WMP_VERSION,
+ backendName : 'WMP' + X_Plugin_WMP_VERSION,
canPlay : {
'mp3' : true,