code: function( options ){
  
              // call proto init
              proto.init.call(this, options);
  
              var viewport = this.el;
              viewport.style.position = 'relative';
              viewport.style.overflow = 'hidden';
              viewport.style[cssTransform] = 'translateZ(0)'; // force GPU accel
              viewport.style.width = this.options.width + px;
              viewport.style.height = this.options.height + px;
  
              this.els = {};
  
              if (options.meta){
                  var stats = newEl();
                  stats.className = 'pjs-meta';
                  this.els.fps = newEl('span');
                  this.els.ipf = newEl('span');
                  stats.appendChild(newEl('span', 'fps: '));
                  stats.appendChild(this.els.fps);
                  stats.appendChild(newEl('br'));
                  stats.appendChild(newEl('span', 'ipf: '));
                  stats.appendChild(this.els.ipf);
  
                  viewport.appendChild(stats);
              }
  
              if ( this.options.autoResize ){
                  this.resize();
              } else {
                  this.resize( this.options.width, this.options.height );
              }
          }
docs: extended