if (this.playerContext.isPlaying) {
        template.push({
          label: this.trayMenuTranslations.pause,
          type: 'normal',
          click: async () => {