code: function CCWebMEncoder( settings ) {
  
  	var canvas = document.createElement( 'canvas' );
  	if( canvas.toDataURL( 'image/webp' ).substr(5,10) !== 'image/webp' ){
  		console.log( "WebP not supported - try another export format" )
  	}
  
  	CCFrameEncoder.call( this, settings );
  
  	this.quality = ( settings.quality / 100 ) || .8;
  
  	this.extension = '.webm'
  	this.mimeType = 'video/webm'
  	this.baseFilename = this.filename;
    this.framerate = settings.framerate;
  
  	this.frames = 0;
  	this.part = 1;
  
    this.videoWriter = new WebMWriter({
      quality: this.quality,
      fileWriter: null,
      fd: null,
      frameRate: this.framerate
    });
  
  }
docs: /*
  
  WebM Encoder