code: function init(player) {  // {{{2
  /**
   * @method constructor
   */
  
    this.timeout = 10 * 1000;
  
    this.target = player;
  
    this.actions = {
      mute: {
        command: 'mute',
        data: 'toggle',
        firstOnly: true,
      },
      stop: {
        command: 'stop',
        data: true,
        firstOnly: true,
      },
      pause: {
        command: 'pause',
        data: true,
        firstOnly: true,
      },
      play: {
        command: 'play',
        data: true,
        firstOnly: true,
      },
      playpause: {
        command: 'playPause',
        data: true,
        firstOnly: true,
      },
      forward: {
        command: 'next',
        data: true,
      },
      back: {
        command: 'previous',
        data: true,
      },
      volumeup: {
        command: 'volume',
        data: 'up'
      },
      volumedown: {
        command: 'volume',
        data: 'down'
      },
    };
  
    this.actions.rewind = this.actions.back;
  }
docs: }}}1 Public {{{1