From 7f77281e8ac59cc33d1c7135c2b363252f51d244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Yak=C4=B1=C5=9Ft=C4=B1r?= Date: Sun, 30 Aug 2026 11:38:46 +0300 Subject: [PATCH] feat(a11y): add Alt modifier shortcuts, Turkish Q key mapping and accessible player action bar v1.4.1 --- client.js | 245 +++++++++++++++++++++++--------- docs/NLNET_APPLICATION_DRAFT.md | 101 +++++++------ package.json | 2 +- style.css | 51 +++++++ 4 files changed, 290 insertions(+), 109 deletions(-) diff --git a/client.js b/client.js index 657e1fb..de15fde 100644 --- a/client.js +++ b/client.js @@ -339,6 +339,7 @@ // 3. Intelligent Branding & A11y DOM Auto-Fixer function autoFixDOM() { + injectAccessiblePlayerBar(); injectYakNetSSO(); // Aggressively remove generic Framasoft Open-in-App / Play Store banners @@ -576,7 +577,7 @@ setInterval(autoFixDOM, 1000); - // 3. Keyboard Shortcuts Modal & Quick Info Engine (v1.4.0) + // 3. Screen-Reader & Turkish Q Optimized Shortcuts & Player Bar (v1.4.1) function toggleShortcutsModal() { var modal = document.getElementById('yaktube-shortcuts-dialog'); if (modal) { @@ -597,27 +598,27 @@ modal.setAttribute('aria-modal', 'true'); modal.setAttribute('aria-labelledby', 'yaktube-shortcuts-title'); modal.innerHTML = - '
' + + '
' + '
' + - '

⌨️ Video Oynatıcı & Gezinme Kısayolları

' + + '

⌨️ Klavye Kısayolları (Ekran Okuyucu Uyumlu)

' + '' + '
' + + '
💡 Ekran Okuyucu Notu: Sanal imleç (Browse mode) açıkken kısayolları Alt tuşuyla birlikte kullanabilir veya video oynatıcı butonlarından faydalanabilirsiniz.
' + '' + - '' + + '' + '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + '' + '
Kısayolİşlev
Kısayol (Evrensel / Tek Tuş)İşlev
Space veya KOynat / Duraklat
J / L10 saniye geri / ileri sar
Sol / Sağ Ok5 saniye geri / ileri sar
Yukarı / Aşağı OkSesi %5 artır / azalt
MSesi Kapat / Aç (Mute)
FTam Ekran
TSinema / Tiyatro Modu
CAltyazıları Aç / Kapat
IHızlı Video Bilgisi & İstatistikler
> / < (Shift+.)Oynatma hızını artır / azalt
0 - 9Videonun %0 - %90 noktasına atla
/Arama penceresini aç
Shift + VSesli aramayı başlat
Alt + K veya SpaceOynat / Duraklat
Alt + J veya J10 saniye geri sar
Alt + L veya L10 saniye ileri sar
Alt + Yukarı / AşağıSesi %5 artır / azalt
Alt + M veya MSesi Kapat / Aç (Mute)
Alt + T veya TSinema / Tiyatro Modu
Alt + I veya IHızlı Video Bilgisi & İstatistikler
Alt + C veya CAltyazıları Aç / Kapat
Alt + . / Alt + ,Oynatma hızını artır / azalt
Alt + S veya / (Shift+7)Arama penceresini aç
Alt + V veya Shift + VSesli aramayı başlat
Alt + H veya F1 veya ?Bu kılavuzu aç / kapat
' + '
'; @@ -668,8 +669,8 @@ var curTime = formatTime(video.currentTime); var totalTime = formatTime(video.duration || 0); var remaining = formatTime((video.duration || 0) - video.currentTime); - var speed = video.playbackRate + 'x'; - var volume = Math.round(video.volume * 100) + '%'; + var speed = (video.playbackRate || 1) + 'x'; + var volume = Math.round((video.volume || 1) * 100) + '%'; var quality = video.videoHeight ? video.videoHeight + 'p' : 'Otomatik'; // Visual Toast @@ -726,7 +727,111 @@ var speedSteps = [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2]; - // 4. Global Keydown Listener (Pro Video Player Engine) + function adjustPlaybackSpeed(increase) { + var video = getVideoElement(); + if (!video) return; + var curSpeed = video.playbackRate || 1; + if (increase) { + var nextIdx = speedSteps.findIndex(function (s) { + return s > curSpeed; + }); + video.playbackRate = nextIdx !== -1 ? speedSteps[nextIdx] : 2; + announce('Oynatma hızı ' + video.playbackRate + ' katına çıkarıldı.'); + } else { + var prevSteps = speedSteps.filter(function (s) { + return s < curSpeed; + }); + video.playbackRate = prevSteps.length > 0 ? prevSteps[prevSteps.length - 1] : 0.25; + announce('Oynatma hızı ' + video.playbackRate + ' katına düşürüldü.'); + } + } + + // 3.1. Injects Accessible Player Action Bar under the Watch Video + function injectAccessiblePlayerBar() { + if (!window.location.pathname.includes('/videos/watch/')) return; + var video = getVideoElement(); + if (!video) return; + + var targetContainer = document.querySelector( + 'my-video-watch, .video-watch, .watch-container, #yaktube-ondemand-container' + ); + if (!targetContainer) return; + + var existingBar = document.getElementById('yaktube-player-action-bar'); + if (existingBar) return; + + var bar = document.createElement('div'); + 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.innerHTML = + '⚡ Oynatıcı Kontrolleri:' + + '' + + '' + + '' + + '' + + '' + + '' + + ''; + + var playerWrap = + document.querySelector('.player-container, .video-player-container, .player-wrapper, my-video-watch .player') || + targetContainer; + if (playerWrap && playerWrap.nextSibling) { + playerWrap.parentNode.insertBefore(bar, playerWrap.nextSibling); + } else { + targetContainer.prepend(bar); + } + + // Attach button actions + bar.querySelector('#yaktube-bar-rewind-btn').addEventListener('click', function () { + if (video) { + video.currentTime = Math.max(0, video.currentTime - 10); + announce('10 saniye geri sarıldı. Konum: ' + formatTime(video.currentTime)); + } + }); + + bar.querySelector('#yaktube-bar-play-btn').addEventListener('click', function () { + if (video) { + if (video.paused) { + video.play(); + announce('Video oynatılıyor.'); + } else { + video.pause(); + announce('Video duraklatıldı.'); + } + } + }); + + bar.querySelector('#yaktube-bar-forward-btn').addEventListener('click', function () { + if (video) { + video.currentTime = Math.min(video.duration || 99999, video.currentTime + 10); + announce('10 saniye ileri sarıldı. Konum: ' + formatTime(video.currentTime)); + } + }); + + bar.querySelector('#yaktube-bar-speed-btn').addEventListener('click', function () { + adjustPlaybackSpeed(true); + }); + + bar.querySelector('#yaktube-bar-theater-btn').addEventListener('click', function () { + document.body.classList.toggle('yaktube-theater-mode'); + var isT = document.body.classList.contains('yaktube-theater-mode'); + announce(isT ? 'Sinema modu açıldı.' : 'Sinema modundan çıkıldı.'); + }); + + bar.querySelector('#yaktube-bar-info-btn').addEventListener('click', function () { + showQuickVideoInfo(); + }); + + bar.querySelector('#yaktube-bar-help-btn').addEventListener('click', function () { + toggleShortcutsModal(); + }); + } + + // 4. Global Keydown Listener (Screen-Reader & Turkish Q Optimized) window.addEventListener('keydown', function (e) { if (e.key === 'Escape') { var shortcutsModal = document.getElementById('yaktube-shortcuts-dialog'); @@ -747,7 +852,8 @@ return; } - if (e.key === '?' || (e.shiftKey && e.key === '/')) { + // Help Dialog: Alt+H, F1 or '?' key + if ((e.altKey && (e.key === 'h' || e.key === 'H')) || e.key === 'F1' || e.key === '?') { if (!isInputFocused()) { e.preventDefault(); toggleShortcutsModal(); @@ -755,6 +861,28 @@ } } + // Search Open: Alt+S, Ctrl+K or '/' key (Turkish Q Shift+7) + if ( + ((e.altKey && (e.key === 's' || e.key === 'S')) || + (e.ctrlKey && (e.key === 'k' || e.key === 'K')) || + e.key === '/') && + !isInputFocused() + ) { + e.preventDefault(); + openFullSearchModal('', false); + return; + } + + // Voice Search Open: Alt+V or Shift+V + if ( + ((e.altKey && (e.key === 'v' || e.key === 'V')) || (e.shiftKey && (e.key === 'v' || e.key === 'V'))) && + !isInputFocused() + ) { + e.preventDefault(); + openFullSearchModal('', true); + return; + } + if (isInputFocused()) { return; } @@ -763,9 +891,10 @@ if (!video) return; var key = e.key.toLowerCase(); + var alt = e.altKey; - // Play / Pause (Space / K) - if (key === ' ' || key === 'k') { + // Play / Pause (Alt+K, Space or K) + if (key === ' ' || key === 'k' || (alt && key === 'k')) { e.preventDefault(); if (video.paused) { video.play(); @@ -775,44 +904,44 @@ announce('Video duraklatıldı.'); } } - // Seek 10s Back / Forward (J / L) - else if (key === 'j') { + // Seek 10s Back / Forward (Alt+J / Alt+L or J / L) + else if (key === 'j' || (alt && key === 'j')) { e.preventDefault(); video.currentTime = Math.max(0, video.currentTime - 10); announce('10 saniye geri sarıldı. Konum: ' + formatTime(video.currentTime)); - } else if (key === 'l') { + } else if (key === 'l' || (alt && key === 'l')) { e.preventDefault(); video.currentTime = Math.min(video.duration || 99999, video.currentTime + 10); announce('10 saniye ileri sarıldı. Konum: ' + formatTime(video.currentTime)); } - // Seek 5s Back / Forward (Left / Right Arrow) - else if (e.key === 'ArrowLeft') { + // Seek 5s Back / Forward (ArrowLeft / ArrowRight or Alt+Left/Right) + else if (e.key === 'ArrowLeft' || (alt && e.key === 'ArrowLeft')) { e.preventDefault(); video.currentTime = Math.max(0, video.currentTime - 5); announce('5 saniye geri sarıldı. Konum: ' + formatTime(video.currentTime)); - } else if (e.key === 'ArrowRight') { + } else if (e.key === 'ArrowRight' || (alt && e.key === 'ArrowRight')) { e.preventDefault(); video.currentTime = Math.min(video.duration || 99999, video.currentTime + 5); announce('5 saniye ileri sarıldı. Konum: ' + formatTime(video.currentTime)); } - // Volume Up / Down (Up / Down Arrow) - else if (e.key === 'ArrowUp') { + // Volume Up / Down (ArrowUp / ArrowDown or Alt+Up/Down) + else if (e.key === 'ArrowUp' || (alt && e.key === 'ArrowUp')) { e.preventDefault(); - video.volume = Math.min(1, video.volume + 0.05); + video.volume = Math.min(1, (video.volume || 1) + 0.05); announce('Ses seviyesi yüzde ' + Math.round(video.volume * 100)); - } else if (e.key === 'ArrowDown') { + } else if (e.key === 'ArrowDown' || (alt && e.key === 'ArrowDown')) { e.preventDefault(); - video.volume = Math.max(0, video.volume - 0.05); + video.volume = Math.max(0, (video.volume || 1) - 0.05); announce('Ses seviyesi yüzde ' + Math.round(video.volume * 100)); } - // Mute (M) - else if (key === 'm') { + // Mute (Alt+M or M) + else if (key === 'm' || (alt && key === 'm')) { e.preventDefault(); video.muted = !video.muted; announce(video.muted ? 'Ses kapatıldı (Sessiz).' : 'Ses açıldı.'); } - // Fullscreen (F) - else if (key === 'f') { + // Fullscreen (Alt+F or F) + else if (key === 'f' || (alt && key === 'f')) { e.preventDefault(); if (!document.fullscreenElement) { var container = video.closest('.video-js') || video.parentElement || video; @@ -823,20 +952,20 @@ announce('Tam ekrandan çıkıldı.'); } } - // Theater Mode (T) - else if (key === 't') { + // Theater Mode (Alt+T or T) + else if (key === 't' || (alt && key === 't')) { e.preventDefault(); document.body.classList.toggle('yaktube-theater-mode'); var isTheater = document.body.classList.contains('yaktube-theater-mode'); announce(isTheater ? 'Sinema modu açıldı.' : 'Sinema modundan çıkıldı.'); } - // Quick Video Info (I) - else if (key === 'i') { + // Quick Video Info (Alt+I or I) + else if (key === 'i' || (alt && key === 'i')) { e.preventDefault(); showQuickVideoInfo(); } - // Subtitles (C) - else if (key === 'c') { + // Subtitles (Alt+C or C) + else if (key === 'c' || (alt && key === 'c')) { e.preventDefault(); var tracks = video.textTracks; if (tracks && tracks.length > 0) { @@ -847,31 +976,13 @@ announce('Bu videoda altyazı bulunmuyor.'); } } - // Speed Controls (< and > / Shift+, and Shift+.) - else if (e.key === '>' || (e.shiftKey && e.key === '.')) { + // Speed Controls (Alt+. / Alt+, or > / <) + else if ((alt && (e.key === '.' || e.key === '>')) || e.key === '>') { e.preventDefault(); - var curSpeed = video.playbackRate || 1; - var nextIdx = speedSteps.findIndex(function (s) { - return s > curSpeed; - }); - if (nextIdx !== -1) { - video.playbackRate = speedSteps[nextIdx]; - } else { - video.playbackRate = 2; - } - announce('Oynatma hızı ' + video.playbackRate + ' katına çıkarıldı.'); - } else if (e.key === '<' || (e.shiftKey && e.key === ',')) { + adjustPlaybackSpeed(true); + } else if ((alt && (e.key === ',' || e.key === '<')) || e.key === '<') { e.preventDefault(); - var curSpeed = video.playbackRate || 1; - var prevSteps = speedSteps.filter(function (s) { - return s < curSpeed; - }); - if (prevSteps.length > 0) { - video.playbackRate = prevSteps[prevSteps.length - 1]; - } else { - video.playbackRate = 0.25; - } - announce('Oynatma hızı ' + video.playbackRate + ' katına düşürüldü.'); + adjustPlaybackSpeed(false); } // Percentage Jumps (0 - 9) else if (key >= '0' && key <= '9' && !e.ctrlKey && !e.altKey && !e.metaKey) { diff --git a/docs/NLNET_APPLICATION_DRAFT.md b/docs/NLNET_APPLICATION_DRAFT.md index 807f0aa..978e6a7 100644 --- a/docs/NLNET_APPLICATION_DRAFT.md +++ b/docs/NLNET_APPLICATION_DRAFT.md @@ -1,4 +1,5 @@ # NLnet Foundation / NGI Zero Grant Application Dossier + ## Project: YakTube (Accessible & Lightweight ActivityPub Media Engine) > **Belge Amacı:** Bu dosya, 3 Eylül 2026 tarihinde açılacak olan **NLnet NGI Zero Commons Trust / Digital Accessibility** hibe çağrısı için hazırlanmış resmi İngilizce başvuru taslağıdır. Formdaki sorulara göre kopyala-yapıştır yapmaya hazır şekilde yapılandırılmıştır. @@ -7,42 +8,45 @@ ### 1. General & Contact Information / Genel ve İletişim Bilgileri -* **Project Name (Proje Adı):** +- **Project Name (Proje Adı):** `YakTube: Accessible, Lightweight & Decentralized ActivityPub Media Engine` -* **Applicant / Contact Person (Başvuran Kişi):** +- **Applicant / Contact Person (Başvuran Kişi):** `Enes Yakıştır` -* **Email Address (E-posta):** +- **Email Address (E-posta):** `yakistir98@gmail.com` -* **Country (Ülke):** +- **Country (Ülke):** `Turkey` -* **Organization / Community (Organizasyon):** +- **Organization / Community (Organizasyon):** `YakNet (YakHub Open Source Accessibility Initiative)` -* **Website / Live Demo URL (Canlı Demo):** +- **Website / Live Demo URL (Canlı Demo):** `https://yaktube.yakhub.com.tr` -* **Source Code Repositories (Açık Kaynak Kod Depoları):** - * **On-Demand & A11y Plugin (Primary):** `https://yakhub.com.tr/YakNet/peertube-plugin-yaktube-ondemand` - * **On-Demand & A11y Plugin (GitHub Mirror):** `https://github.com/yakistir98/peertube-plugin-yaktube-ondemand` - * **YakNet SSO Auth Plugin (Primary):** `https://yakhub.com.tr/YakNet/peertube-plugin-auth-yaknet` - * **YakNet SSO Auth Plugin (GitHub Mirror):** `https://github.com/yakistir98/peertube-plugin-auth-yaknet` -* **Project License (Açık Kaynak Lisansı):** +- **Source Code Repositories (Açık Kaynak Kod Depoları):** + - **On-Demand & A11y Plugin (Primary):** `https://yakhub.com.tr/YakNet/peertube-plugin-yaktube-ondemand` + - **On-Demand & A11y Plugin (GitHub Mirror):** `https://github.com/yakistir98/peertube-plugin-yaktube-ondemand` + - **YakNet SSO Auth Plugin (Primary):** `https://yakhub.com.tr/YakNet/peertube-plugin-auth-yaknet` + - **YakNet SSO Auth Plugin (GitHub Mirror):** `https://github.com/yakistir98/peertube-plugin-auth-yaknet` +- **Project License (Açık Kaynak Lisansı):** `AGPLv3 / MIT (OSI-Approved Free & Open Source Licenses)` --- ### 1.1 Verified Banking Details / Resmi Banka ve Ödeme Bilgileri (Hakediş İçin Hazır) -* **Bank Name (Banka):** `Yapı ve Kredi Bankası A.Ş. (Yapı Kredi)` -* **Account Holder (Hesap Sahibi):** `Enes Yakıştır` -* **Currency (Para Birimi):** `EUR (Euro Vadesiz Hesap)` -* **IBAN (Euro IBAN):** `TR350006701000000319490793` -* **SWIFT / BIC Code:** `YAPITRIS` -* **Country:** `Turkey` + +- **Bank Name (Banka):** `Yapı ve Kredi Bankası A.Ş. (Yapı Kredi)` +- **Account Holder (Hesap Sahibi):** `Enes Yakıştır` +- **Currency (Para Birimi):** `EUR (Euro Vadesiz Hesap)` +- **IBAN (Euro IBAN):** `TR350006701000000319490793` +- **SWIFT / BIC Code:** `YAPITRIS` +- **Country:** `Turkey` --- ### 2. Short Project Summary (Abstract) / Proje Kısa Özeti -*(Formda "Explain the project in simple terms" kısmına yapıştırılacak İngilizce metin)* -**English Text:** +_(Formda "Explain the project in simple terms" kısmına yapıştırılacak İngilizce metin)_ + +**English Text:** + > "YakTube is a lightweight, screen-reader-first media syndication engine and client built on top of the open-source PeerTube/ActivityPub ecosystem. While commercial video platforms (like YouTube) and existing alternative frontends suffer from heavy JavaScript bloat, dynamic DOM instability, intrusive tracking, and poor screen-reader accessibility, YakTube provides a 100% WCAG 2.1 AAA-compliant, ad-free streaming and on-demand caching bridge. Developed directly by visually impaired engineers, YakTube includes a specialized PeerTube plugin, an on-demand ingestion bridge, and a sub-5MB native mobile client designed for seamless TalkBack and NVDA screen-reader navigation." **Türkçe Açıklaması:** @@ -51,23 +55,29 @@ YakTube, PeerTube ve ActivityPub ekosistemi üzerinde inşa edilmiş, ekran okuy --- ### 3. The Challenge / Problem ve Çözülmek İstenen Zorluk -*(Formda "What is the problem you are trying to solve?" kısmına yapıştırılacak metin)* -**English Text:** -> "Access to digital multimedia remains one of the greatest barriers for visually impaired, blind, and assistive-technology users worldwide. +_(Formda "What is the problem you are trying to solve?" kısmına yapıştırılacak metin)_ + +**English Text:** + +> "Access to digital multimedia remains one of the greatest barriers for visually impaired, blind, and assistive-technology users worldwide. +> > 1. **Commercial Monopolies:** Mainstream platforms prioritize visual advertising algorithms, dynamic popups, and non-semantic DOM trees that severely degrade screen-reader experiences (TalkBack, NVDA, VoiceOver). > 2. **Fragility of Scraper Frontends:** Public proxy instances (such as Invidious or Piped) regularly break due to upstream bot-guard countermeasures, lack decentralized ActivityPub federation, and offer zero specialized accessibility audits. > 3. **The Fediverse Accessibility Void:** While PeerTube is the gold standard for decentralized video federation, vanilla instances lack built-in screen-reader ARIA live regions, simplified audio/podcast streaming layouts, and ultra-lightweight mobile clients for low-end devices. -> +> > YakTube directly tackles these issues by engineering an upstream-compatible accessibility layer that empowers blind users to search, cache, stream, and federate media freely without surveillance or assistive barriers." --- ### 4. Technical Architecture & Innovation / Teknik Çözüm ve İnovasyon -*(Formda "What is the proposed solution and technical approach?" kısmına yapıştırılacak metin)* -**English Text:** +_(Formda "What is the proposed solution and technical approach?" kısmına yapıştırılacak metin)_ + +**English Text:** + > "YakTube delivers a three-tier technical innovation: +> > 1. **WCAG 2.1 AAA Screen-Reader & Pro Video Player Engine:** Re-architecting the web and client interface with strict semantic HTML5, explicit ARIA live regions, natural hands-free voice search (`Web Speech API`), full-featured YouTube keyboard navigation (`Space/K` play-pause, `J/L` 10s seek, `Left/Right` 5s seek, `T` Theater Mode, `I` Instant Video Stats, `C` Subtitles, `0-9` percentage jumps, `>/<` playback speed steps, `Shift+V`, `/`, `Escape`), and distraction-free audio playback modes. > 2. **On-Demand ActivityPub Syndication Bridge:** A custom Node.js and PeerTube plugin controller that accepts search queries, validates media availability, performs automated channel routing (Music, Podcasts, Tech), and caches streams with an automated pruning lifecycle to conserve bandwidth and storage. > 3. **Sub-5MB Native Mobile Client:** A zero-telemetry, lightweight Android client (`tr.com.yaknet.yaktube`) engineered specifically for TalkBack gesture control, eliminating background memory overhead and providing offline cached listening." @@ -75,10 +85,13 @@ YakTube, PeerTube ve ActivityPub ekosistemi üzerinde inşa edilmiş, ekran okuy --- ### 5. Upstream Ecosystem Benefit / Ekosisteme ve Açık İnternete Faydası -*(Formda "How will this contribute to the open internet / NGI ecosystem?" kısmına yapıştırılacak metin)* -**English Text:** +_(Formda "How will this contribute to the open internet / NGI ecosystem?" kısmına yapıştırılacak metin)_ + +**English Text:** + > "YakTube is not a private silo; all core components are packaged as reusable open-source modules: +> > - Any existing PeerTube administrator in the global Fediverse can install the `peertube-plugin-yaktube-ondemand` package with a single click to instantly make their instance 100% accessible to visually impaired communities. > - The native Android client source code will be published as an accessible open-source template for ActivityPub media clients. > - Full compliance with the **European Accessibility Act (EAA)** guidelines, providing a reference implementation for inclusive Fediverse software." @@ -86,36 +99,42 @@ YakTube, PeerTube ve ActivityPub ekosistemi üzerinde inşa edilmiş, ekran okuy --- ### 6. Work Plan, Milestones & Budget Breakdown / Çalışma Planı ve Bütçe -*(Talep Edilen Toplam Hibe: **5.000 €** - Geliştirici Ar-Ge Emeği / Developer Labor)* + +_(Talep Edilen Toplam Hibe: **5.000 €** - Geliştirici Ar-Ge Emeği / Developer Labor)_ #### 📍 Milestone 1: Advanced Screen-Reader Accessibility & WCAG 2.1 AAA Compliance -* **Estimated Labor:** 50 Hours (Developer R&D / A11y Engineering) -* **Budget Allocation:** **2.000 €** -* **Deliverables:** + +- **Estimated Labor:** 50 Hours (Developer R&D / A11y Engineering) +- **Budget Allocation:** **2.000 €** +- **Deliverables:** - Full keyboard-only and screen-reader audit (NVDA, TalkBack, Orca). - ARIA live region announcements for player states (buffering, playing, volume, subtitles). - High-contrast accessible theme and automated accessibility regression test suite. #### 📍 Milestone 2: Native Lightweight Android Client & Upstream Plugin Packaging -* **Estimated Labor:** 50 Hours (Mobile Client & API Integration) -* **Budget Allocation:** **2.000 €** -* **Deliverables:** + +- **Estimated Labor:** 50 Hours (Mobile Client & API Integration) +- **Budget Allocation:** **2.000 €** +- **Deliverables:** - Open-source release of the sub-5MB native Android client on YakHub and GitHub with APK builds. - Complete TalkBack gesture optimization and background playback support. - NPM packaging of `peertube-plugin-yaktube-ondemand` for standard PeerTube installations. #### 📍 Milestone 3: Documentation, Fediverse CI/CD & Production Testing -* **Estimated Labor:** 25 Hours (DevOps, Documentation & Auditing) -* **Budget Allocation:** **1.000 €** -* **Deliverables:** + +- **Estimated Labor:** 25 Hours (DevOps, Documentation & Auditing) +- **Budget Allocation:** **1.000 €** +- **Deliverables:** - Comprehensive English & Turkish installation and developer documentation on YakHub/GitHub. - Multi-instance ActivityPub federation testing and automated containerized deployment scripts. - Public final milestone report and live release validation. -* **TOTAL REQUESTED GRANT:** **5.000 €** +- **TOTAL REQUESTED GRANT:** **5.000 €** --- ### 7. Why We Are Uniquely Qualified / Neden Bu Projeyi Biz Başarabiliriz? -**English Text:** -> "The project lead is a passionate visually impaired software engineer who lives with assistive technology daily. Rather than treating accessibility as an external afterthought, YakTube is built from the ground up through lived experience, practical engineering, and deep commitment to open-source digital sovereignty. A fully functioning live prototype (`yaktube.yakhub.com.tr`) and working APK are already operational, demonstrating technical capability and guaranteed milestone delivery." \ No newline at end of file + +**English Text:** + +> "The project lead is a passionate visually impaired software engineer who lives with assistive technology daily. Rather than treating accessibility as an external afterthought, YakTube is built from the ground up through lived experience, practical engineering, and deep commitment to open-source digital sovereignty. A fully functioning live prototype (`yaktube.yakhub.com.tr`) and working APK are already operational, demonstrating technical capability and guaranteed milestone delivery." diff --git a/package.json b/package.json index e9f36ce..024a2a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "peertube-plugin-yaktube-ondemand", - "version": "1.4.0", + "version": "1.4.1", "description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube", "main": "main.js", "clientScripts": [ diff --git a/style.css b/style.css index d09c933..152b356 100644 --- a/style.css +++ b/style.css @@ -843,3 +843,54 @@ body.yaktube-theater-mode .video-js { .yaktube-info-toast-row b { color: #fff !important; } + +/* -------------------------------------------------------------------------- */ +/* ACCESSIBLE PLAYER ACTION BAR & SHORTCUTS (v1.4.1) */ +/* -------------------------------------------------------------------------- */ + +.yaktube-player-action-bar { + display: flex !important; + flex-wrap: wrap !important; + gap: 8px !important; + align-items: center !important; + background: #181820 !important; + border: 1px solid rgba(255, 255, 255, 0.1) !important; + border-radius: 12px !important; + padding: 10px 14px !important; + margin: 12px 0 16px 0 !important; + width: 100% !important; + box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important; +} + +.yaktube-player-bar-label { + font-size: 13px !important; + font-weight: 700 !important; + color: #ff8f37 !important; + margin-right: 6px !important; + display: flex !important; + align-items: center !important; + gap: 4px !important; +} + +.yaktube-player-action-btn { + background: #252530 !important; + color: #f1f1f1 !important; + border: 1px solid rgba(255, 255, 255, 0.1) !important; + border-radius: 8px !important; + padding: 6px 12px !important; + font-size: 13px !important; + font-weight: 600 !important; + cursor: pointer !important; + display: inline-flex !important; + align-items: center !important; + gap: 6px !important; + transition: all 0.2s ease !important; +} + +.yaktube-player-action-btn:hover, +.yaktube-player-action-btn:focus { + background: rgba(255, 143, 55, 0.2) !important; + border-color: #ff8f37 !important; + color: #fff !important; + outline: none !important; +}