From 81b4a651ed87d994d44a7febff3a5b6587703328 Mon Sep 17 00:00:00 2001 From: lizacoma Date: Tue, 14 May 2024 23:10:29 +0300 Subject: [PATCH] fix: changed settings for wt-player, added duration [WTEL-4110] --- package.json | 2 +- src/components/wt-player/wt-player.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 45ba069be..1940c6bd0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webitel/ui-sdk", - "version": "24.4.35", + "version": "24.4.36", "private": false, "scripts": { "dev": "vite", diff --git a/src/components/wt-player/wt-player.vue b/src/components/wt-player/wt-player.vue index 6cb3b03ea..aa490a024 100644 --- a/src/components/wt-player/wt-player.vue +++ b/src/components/wt-player/wt-player.vue @@ -109,8 +109,8 @@ export default { if (this.player) this.player.destroy(); const controls = [ 'play-large', 'play', 'progress', 'current-time', - 'mute', 'volume', 'captions', 'settings', 'pip', - 'airplay', 'fullscreen', + 'duration', 'mute', 'volume', 'captions', 'settings', + 'pip', 'airplay', 'fullscreen' ]; if (this.download) controls.push('download'); this.player = new Plyr(this.$refs.player, {