From 6d2b0699786eb98e50adb38af3639bc881a237fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Yak=C4=B1=C5=9Ft=C4=B1r?= Date: Wed, 23 Sep 2026 22:01:08 +0300 Subject: [PATCH] =?UTF-8?q?v1.5.6:=20Eliminate=20duplicate=20playback=20co?= =?UTF-8?q?ntrols=20from=20secondary=20bar,=20rename=20to=20Video=20Ara?= =?UTF-8?q?=C3=A7lar=C4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.js | 40 ++-------------------------------------- package.json | 2 +- 2 files changed, 3 insertions(+), 39 deletions(-) diff --git a/client.js b/client.js index 33135b2..d92d1d8 100644 --- a/client.js +++ b/client.js @@ -2173,13 +2173,10 @@ try { bar.id = 'yaktube-player-action-bar'; bar.className = 'yaktube-player-action-bar'; bar.setAttribute('role', 'toolbar'); - bar.setAttribute('aria-label', 'Erişilebilir Video Kontrolleri'); + bar.setAttribute('aria-label', 'Video Araçları ve Ek Özellikler'); bar.innerHTML = - '⚡ Oynatıcı Kontrolleri:' + - '' + - '' + - '' + + '🛠️ Video Araçları:' + '' + '' + '' + @@ -2206,39 +2203,6 @@ try { } // Attach button actions - bar.querySelector('#yaktube-bar-rewind-btn').addEventListener('click', function () { - var video = getVideoElement(); - if (video) { - video.currentTime = Math.max(0, video.currentTime - 10); - announce('10 saniye geri sarıldı. Konum: ' + formatTime(video.currentTime)); - showQuickToast('⏪ -10sn'); - } - }); - - bar.querySelector('#yaktube-bar-play-btn').addEventListener('click', function () { - var video = getVideoElement(); - if (video) { - if (video.paused) { - video.play(); - announce('Video oynatılıyor.'); - showQuickToast('▶️ Oynatılıyor'); - } else { - video.pause(); - announce('Video duraklatıldı.'); - showQuickToast('⏸️ Duraklatıldı'); - } - } - }); - - bar.querySelector('#yaktube-bar-forward-btn').addEventListener('click', function () { - var video = getVideoElement(); - if (video) { - video.currentTime = Math.min(video.duration || 99999, video.currentTime + 10); - announce('10 saniye ileri sarıldı. Konum: ' + formatTime(video.currentTime)); - showQuickToast('⏩ +10sn'); - } - }); - bar.querySelector('#yaktube-bar-speed-btn').addEventListener('click', function () { adjustPlaybackSpeed(true); }); diff --git a/package.json b/package.json index 7c528ff..ed948b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "peertube-plugin-yaktube-ondemand", - "version": "1.5.5", + "version": "1.5.6", "description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations, Sleep Timer, Touch Gestures, Voice Assistant & A11y Engine for PeerTube", "main": "main.js", "library": "./main.js",