resize(size) {
    this.core.resize(size)
    return this
  }
resizes the current player canvas.
@method resize
@param {Object} size should be a literal object with `height` and `width`.
@return {Player} itself
@example
```javascript
player.resize({height: 360, width: 640})
```