Compare commits

..
30 Commits
Author SHA1 Message Date
Enes Yakıştır 64a961bc74 feat(v1.7.7): YouTube-style smart recommendations, watch history profiler, post-video up-next & configurable smart pre-fetch 2026-11-03 18:51:10 +03:00
Enes Yakıştır 1fb61b784e feat(settings): add configurable YakNet SSO toggle and cloud search history fallback (v1.7.6) 2026-11-03 18:06:54 +03:00
Enes Yakıştır 65fdc8a71f chore(format): prettier format, updated shortcuts guide with NLnet features (v1.7.5) 2026-11-02 14:46:38 +03:00
Enes Yakıştır 944b779fcd feat(a11y): add NLnet WCAG 2.2 AAA suite (Audio-only blank mode, live transcript reader, clean fediverse share, focus trap and F6 landmarks) (v1.7.4) 2026-11-02 14:39:11 +03:00
Enes Yakıştır 798c850cef fix(a11y): improve player controls visibility, restore browser Alt+Left navigation, add back button, and filter successful import notifications (v1.7.3) 2026-11-01 10:39:57 +03:00
Enes Yakıştır 4e4c7d37eb fix(a11y): prevent duplicate instance name announcement in header brand logo (v1.7.2) 2026-10-29 13:10:33 +03:00
Enes Yakıştır 97b4592946 feat: Add configurable Child & Family Safety (SafeSearch) and blacklist keyword filtering (v1.7.1) 2026-10-23 08:59:50 +03:00
Enes Yakıştır b5ebb1d19c fix(client): export register function for peertube plugin manager (v1.7.0) 2026-10-21 19:39:02 +03:00
Enes Yakıştır 723c827e2a chore: bump version to 1.6.9 2026-10-19 18:20:19 +03:00
Enes Yakıştır 14bae6d365 feat(search): bubble recent searches to top, add individual delete and live filtering (v1.6.8) 2026-10-19 18:11:43 +03:00
Enes Yakıştır 116f8acfe6 fix: enhanced title normalization and bump v1.6.7 2026-10-19 17:39:24 +03:00
Enes Yakıştır 42242bf7bd fix: remove limit 200 on local search status and bump v1.6.6 2026-10-18 23:36:34 +03:00
Enes Yakıştır 503408e641 fix(a11y): place skip-to-categories strictly after skip-to-content (v1.6.5) 2026-10-18 23:10:59 +03:00
Enes Yakıştır 333383442f feat(a11y): add skip-to-categories link at page top and sidebar shortcut (v1.6.4) 2026-10-18 22:58:25 +03:00
Enes Yakıştır 96140bca5e fix(categories): preserve category bar on homepage navigation and overview route (v1.6.3) 2026-10-18 22:47:33 +03:00
Enes Yakıştır 5d719d7b8b feat(categories): align with YouTube category order, add Prettier formatting (v1.6.2) 2026-10-18 12:03:32 +03:00
Enes Yakıştır 253ad7400b fix(categories): enable seamless SPA in-place navigation without page reload (v1.6.1) 2026-10-18 11:50:14 +03:00
Enes Yakıştır 47df0d17e7 feat(categories): add YouTube-style horizontal category chips bar with settings management (v1.6.0) 2026-10-18 11:26:23 +03:00
Enes Yakıştır 5ca7a8a837 feat(quota): enhance quota modal with motivating benefits list and brand-neutral copy (v1.5.13) 2026-10-18 06:19:21 +03:00
Enes Yakıştır 4c91431824 fix(yaknet-account): adapt hooks and community exceptions for new 2-part menu design (v1.5.12) 2026-10-17 00:25:48 +03:00
Enes Yakıştır f7b6f76bb2 feat: add embed player support with 10s seek and speed controls (v1.5.11) 2026-10-16 18:23:11 +03:00
Enes Yakıştır f37f42fe40 feat(auth): preserve and restore last visited page URL after quota modal or header login (v1.5.10) 2026-10-03 12:13:15 +03:00
Enes Yakıştır aa9c4c76c8 feat(storage): add configurable max-disk-usage-percent auto-pruner setting & update APK download filename (v1.5.9) 2026-10-03 11:14:03 +03:00
Enes Yakıştır 3bd5c41d97 v1.5.8: 100% standalone backend router via peertubeHelpers (no bridge.js needed on other PeerTube servers) 2026-10-03 10:45:58 +03:00
Enes Yakıştır 75666442c8 v1.5.7: Configurable guest video import quota, Kota Doldu modal & PeerTube login redirect 2026-10-03 10:26:46 +03:00
Enes Yakıştır 6d2b069978 v1.5.6: Eliminate duplicate playback controls from secondary bar, rename to Video Araçları 2026-09-23 22:01:08 +03:00
Enes Yakıştır bd4fd4e5b4 v1.5.5: Add Video.js control bar 10s seek buttons for phones, fix /w/ URL accessibility and alert handling 2026-09-23 21:28:56 +03:00
Enes Yakıştır 5c3c22999f feat(a11y): release v1.5.4 - video player W3C WAI-ARIA enhancements, role=application removal, top skip link and full localization 2026-09-23 06:30:38 +03:00
Enes Yakıştır 24a81d92b4 fix(client): register export and update yaknet sdk path to cdnjs 2026-09-22 18:54:42 +03:00
Enes Yakıştır 74b36ec6ba fix(sso): update YakNet Auth URL to developer-console and SDK path to cdnjs (v1.5.2) 2026-09-22 06:14:59 +03:00
4 changed files with 5211 additions and 445 deletions
+2710 -279
View File
File diff suppressed because it is too large Load Diff
+1916 -165
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "peertube-plugin-yaktube-ondemand",
"version": "1.5.1",
"version": "1.7.7",
"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",
+584
View File
@@ -810,6 +810,42 @@ my-search-typeahead,
transform: translateY(-1px) !important;
}
.yaktube-modal-chip.yaktube-recent-chip {
padding: 6px 10px 6px 14px !important;
gap: 8px !important;
}
.yaktube-recent-chip-text {
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
}
.yaktube-recent-chip-delete {
background: rgba(255, 255, 255, 0.08) !important;
border: none !important;
color: #94a3b8 !important;
font-size: 11px !important;
font-weight: 700 !important;
line-height: 1 !important;
cursor: pointer !important;
width: 18px !important;
height: 18px !important;
border-radius: 50% !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
transition: all 0.2s ease !important;
margin-left: 2px !important;
padding: 0 !important;
}
.yaktube-recent-chip-delete:hover {
background: rgba(239, 68, 68, 0.35) !important;
color: #ff6b6b !important;
transform: scale(1.15) !important;
}
.yaktube-modal-hint-footer {
display: flex !important;
justify-content: space-between !important;
@@ -1354,3 +1390,551 @@ body:has(#yaktube-ondemand-container) my-error-page {
box-shadow: 0 6px 20px rgba(255, 143, 55, 0.4) !important;
outline: none !important;
}
/* ==========================================================================
YAKTUBE ACCESSIBLE PLAYER & WATCH PAGE STYLES (W3C WAI-ARIA)
========================================================================== */
/* 1. Accessible Skip Link (Top of Page) */
.yaktube-skip-link {
position: fixed !important;
top: -120px !important;
left: 16px !important;
background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%) !important;
color: #ffffff !important;
padding: 12px 22px !important;
border-radius: 12px !important;
font-weight: 800 !important;
font-size: 14px !important;
text-decoration: none !important;
box-shadow: 0 8px 30px rgba(255, 143, 55, 0.5) !important;
z-index: 999999 !important;
transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
}
.yaktube-skip-link:focus,
.yaktube-skip-link:focus-visible {
top: 16px !important;
outline: 3px solid #ffffff !important;
outline-offset: 3px !important;
}
/* 2. Accessible Video Player Container Focus States */
#videojs-wrapper:focus,
#videojs-wrapper:focus-visible,
.video-js:focus-visible {
outline: 3px solid #ff8f37 !important;
outline-offset: 4px !important;
box-shadow: 0 0 25px rgba(255, 143, 55, 0.65) !important;
border-radius: 8px !important;
}
/* 3. Accessible Player Action Toolbar */
.yaktube-player-action-bar {
display: flex !important;
align-items: center !important;
flex-wrap: wrap !important;
gap: 8px !important;
margin: 12px 0 18px 0 !important;
padding: 10px 16px !important;
background: rgba(24, 24, 32, 0.95) !important;
border: 1px solid rgba(255, 143, 55, 0.3) !important;
border-radius: 12px !important;
backdrop-filter: blur(10px) !important;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
width: 100% !important;
box-sizing: border-box !important;
}
.yaktube-player-bar-label {
font-size: 13px !important;
font-weight: 700 !important;
color: #ff8f37 !important;
margin-right: 6px !important;
user-select: none !important;
}
.yaktube-player-action-btn {
background: rgba(255, 255, 255, 0.08) !important;
color: #eeeeee !important;
border: 1px solid rgba(255, 255, 255, 0.15) !important;
padding: 7px 14px !important;
border-radius: 8px !important;
font-size: 12.5px !important;
font-weight: 600 !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
display: inline-flex !important;
align-items: center !important;
gap: 5px !important;
}
.yaktube-player-action-btn:hover,
.yaktube-player-action-btn:focus-visible {
background: rgba(255, 143, 55, 0.25) !important;
border-color: #ff8f37 !important;
color: #ffffff !important;
transform: translateY(-1px) !important;
outline: 2px solid #ff8f37 !important;
outline-offset: 2px !important;
}
/* 4. Rate Buttons Distinct Separation (Like & Dislike) */
my-video-rate .video-actions,
my-video-rate .video-actions-rates,
my-video-rate {
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
}
my-video-rate button.action-button {
margin-right: 6px !important;
border-radius: 8px !important;
transition: all 0.2s ease !important;
}
my-video-rate button.action-button:focus-visible {
outline: 2px solid #ff8f37 !important;
outline-offset: 2px !important;
}
/* 5. Date Toggle Button Clarity */
my-date-toggle .date-toggle {
cursor: pointer !important;
border-radius: 6px !important;
padding: 2px 6px !important;
transition: background 0.2s ease !important;
}
my-date-toggle .date-toggle:hover,
my-date-toggle .date-toggle:focus-visible {
background: rgba(255, 143, 55, 0.15) !important;
color: #ff8f37 !important;
outline: 2px solid #ff8f37 !important;
outline-offset: 1px !important;
}
/* 6. Video.js Native Control Bar 10s Seek Buttons (Mobile & Desktop) */
.video-js .vjs-control-bar .yaktube-vjs-seek-btn {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 44px !important;
height: 100% !important;
min-width: 44px !important;
min-height: 44px !important;
cursor: pointer !important;
color: #f1f1f1 !important;
font-size: 13px !important;
font-weight: 700 !important;
position: relative !important;
user-select: none !important;
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 2px !important;
transition:
color 0.2s ease,
transform 0.15s ease !important;
}
.video-js .vjs-control-bar .yaktube-vjs-seek-btn:hover,
.video-js .vjs-control-bar .yaktube-vjs-seek-btn:focus-visible {
color: #ff8f37 !important;
transform: scale(1.1) !important;
outline: 2px solid #ff8f37 !important;
outline-offset: -2px !important;
}
.video-js .vjs-control-bar .yaktube-vjs-seek-btn:active {
transform: scale(0.92) !important;
}
.yaktube-vjs-seek-icon {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 1px !important;
font-size: 13px !important;
line-height: 1 !important;
}
.yaktube-vjs-seek-num,
.yaktube-vjs-speed-val {
font-size: 10px !important;
font-weight: 800 !important;
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
sans-serif !important;
color: #ff8f37 !important;
margin-top: 1px !important;
}
/* 7. Mobile Watch Page & Action Bar Touch Optimizations */
@media (max-width: 768px) {
.video-js .vjs-control-bar .yaktube-vjs-seek-btn {
width: 46px !important;
min-width: 46px !important;
font-size: 14px !important;
}
.yaktube-player-action-bar {
padding: 8px 10px !important;
gap: 6px !important;
}
.yaktube-player-action-btn {
padding: 9px 12px !important;
font-size: 12px !important;
flex: 1 1 calc(50% - 6px) !important;
justify-content: center !important;
min-height: 42px !important;
}
}
/* ==========================================================================
8. YouTube-Style Horizontal Category Chips Bar (v1.6.0)
========================================================================== */
.yaktube-category-chips-container {
display: block;
width: 100%;
margin: 12px 0 16px 0;
position: relative;
z-index: 10;
user-select: none;
font-family: inherit;
}
.yaktube-chips-wrapper {
display: flex;
align-items: center;
position: relative;
width: 100%;
}
.yaktube-chips-track {
display: flex;
align-items: center;
gap: 8px;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
scroll-behavior: smooth;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE/Edge */
padding: 4px 2px;
width: 100%;
}
.yaktube-chips-track::-webkit-scrollbar {
display: none; /* Chrome / Safari / Edge */
}
.yaktube-category-chip {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 7px 15px;
border-radius: 8px;
font-size: 13.5px;
font-weight: 500;
line-height: 1.4;
color: #f1f1f1 !important;
background: rgba(255, 255, 255, 0.08) !important;
border: 1px solid rgba(255, 255, 255, 0.08) !important;
text-decoration: none !important;
cursor: pointer;
transition: all 0.15s ease-in-out;
flex-shrink: 0;
outline: none;
}
.yaktube-category-chip:hover {
background: rgba(255, 255, 255, 0.16) !important;
color: #ffffff !important;
border-color: rgba(255, 255, 255, 0.22) !important;
text-decoration: none !important;
}
.yaktube-category-chip:focus-visible {
outline: 2px solid #ff8f37 !important;
outline-offset: 2px !important;
}
.yaktube-category-chip.active,
.yaktube-category-chip[aria-selected='true'] {
background: #ff8f37 !important;
color: #000000 !important;
font-weight: 800 !important;
border-color: #ea580c !important;
box-shadow: 0 2px 10px rgba(255, 143, 55, 0.4) !important;
}
.yaktube-chips-arrow {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: #1e293b;
color: #f1f1f1;
border: 1px solid rgba(255, 255, 255, 0.15);
cursor: pointer;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
font-size: 20px;
line-height: 1;
font-weight: bold;
flex-shrink: 0;
margin: 0 4px;
transition: all 0.15s ease;
z-index: 5;
}
.yaktube-chips-arrow:hover {
background: #334155;
color: #ff8f37;
border-color: #ff8f37;
}
.yaktube-chips-arrow:focus-visible {
outline: 2px solid #ff8f37;
}
@media (max-width: 768px) {
.yaktube-chips-arrow {
display: none !important;
}
.yaktube-category-chips-container {
margin: 6px 0 12px 0;
}
}
/* Skip to Categories button & Sidebar shortcut */
.yaktube-skip-categories {
position: absolute !important;
top: 10px !important;
left: 160px !important;
z-index: 100000 !important;
background: #ff8f37 !important;
color: #000000 !important;
padding: 8px 16px !important;
border-radius: 6px !important;
font-weight: 800 !important;
text-decoration: none !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}
.yaktube-skip-categories:not(:focus):not(:focus-within) {
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}
.yaktube-menu-categories-item {
margin: 4px 0;
}
.yaktube-menu-categories-link {
display: flex !important;
align-items: center !important;
gap: 10px !important;
font-weight: 600 !important;
color: #ff8f37 !important;
cursor: pointer !important;
border-radius: 8px !important;
transition: background-color 0.15s ease !important;
}
.yaktube-menu-categories-link:hover,
.yaktube-menu-categories-link:focus-visible {
background-color: rgba(255, 143, 55, 0.15) !important;
outline: 2px solid #ff8f37 !important;
}
/* === YakTube WCAG 2.1 AAA Video Player Accessibility: Keep Controls Accessible === */
/* 1. Video duraklatıldığında veya klavye/ekran okuyucu odaklandığında denetim çubuğunu görünür tut */
.video-js.vjs-paused .vjs-control-bar,
.video-js:focus-within .vjs-control-bar,
.video-js .vjs-control-bar:focus-within,
.video-js.vjs-user-inactive.vjs-paused .vjs-control-bar {
opacity: 1 !important;
visibility: visible !important;
display: flex !important;
pointer-events: auto !important;
}
/* 2. Büyük merkez oynatma düğmesi PeerTube varsayılanında bırakıldı */
/* 3. Tüm Video.js düğmelerinin klavye odağını belirgin kıl */
.video-js .vjs-control-bar .vjs-button:focus,
.video-js .vjs-control-bar .vjs-button:focus-visible,
.video-js .vjs-big-play-button:focus,
.video-js .vjs-big-play-button:focus-visible {
outline: 3px solid #ff8f37 !important;
outline-offset: 2px !important;
box-shadow: 0 0 10px rgba(255, 143, 55, 0.8) !important;
}
/* === YakTube NLnet WCAG 2.2 AAA & Privacy Suite Styles === */
/* 1. Yalnızca Ses ve Ekran Karartma Modu */
.yaktube-audio-blank-overlay {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: #000 !important;
z-index: 9999999 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
text-align: center !important;
color: #fff !important;
padding: 24px !important;
box-sizing: border-box !important;
}
.yaktube-audio-blank-content {
background: rgba(20, 20, 28, 0.95) !important;
border: 1px solid rgba(255, 143, 55, 0.5) !important;
border-radius: 20px !important;
padding: 32px 24px !important;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9) !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
animation: yaktube-fade-in 0.25s ease-out !important;
}
.yaktube-audio-action-btn {
background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%) !important;
color: #fff !important;
border: none !important;
border-radius: 10px !important;
padding: 12px 20px !important;
font-size: 14px !important;
font-weight: 700 !important;
cursor: pointer !important;
transition:
transform 0.15s,
opacity 0.15s !important;
}
.yaktube-audio-action-btn:hover,
.yaktube-audio-action-btn:focus-visible {
transform: scale(1.05) !important;
outline: 3px solid #ff8f37 !important;
outline-offset: 3px !important;
}
/* 2. Erişilebilir Canlı Transkript Paneli */
.yaktube-transcript-panel {
margin: 16px 0 !important;
background: #181824 !important;
border: 1px solid rgba(255, 143, 55, 0.35) !important;
border-radius: 16px !important;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
color: #fff !important;
overflow: hidden !important;
animation: yaktube-fade-in 0.2s ease-out !important;
}
.yaktube-transcript-header {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
padding: 14px 18px !important;
background: rgba(255, 255, 255, 0.04) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
flex-wrap: wrap !important;
gap: 10px !important;
}
.yaktube-transcript-search {
background: #22222e !important;
border: 1px solid #444 !important;
border-radius: 8px !important;
padding: 6px 12px !important;
color: #fff !important;
font-size: 13px !important;
width: 180px !important;
outline: none !important;
}
.yaktube-transcript-search:focus {
border-color: #ff8f37 !important;
box-shadow: 0 0 8px rgba(255, 143, 55, 0.4) !important;
}
.yaktube-transcript-list {
list-style: none !important;
margin: 0 !important;
padding: 8px 12px !important;
max-height: 280px !important;
overflow-y: auto !important;
display: flex !important;
flex-direction: column !important;
gap: 4px !important;
}
.yaktube-transcript-item {
display: flex !important;
align-items: baseline !important;
gap: 12px !important;
padding: 8px 12px !important;
border-radius: 8px !important;
cursor: pointer !important;
transition: background 0.15s ease !important;
}
.yaktube-transcript-item:hover,
.yaktube-transcript-item:focus-visible {
background: rgba(255, 143, 55, 0.15) !important;
outline: 2px solid #ff8f37 !important;
outline-offset: -2px !important;
}
.yaktube-transcript-item.active {
background: rgba(255, 143, 55, 0.25) !important;
font-weight: 700 !important;
border-left: 4px solid #ff8f37 !important;
}
.yaktube-transcript-time {
font-family: monospace !important;
font-size: 12px !important;
color: #ff8f37 !important;
background: rgba(255, 143, 55, 0.1) !important;
padding: 2px 6px !important;
border-radius: 4px !important;
flex-shrink: 0 !important;
}
.yaktube-transcript-text {
font-size: 14px !important;
line-height: 1.45 !important;
color: #e5e5e5 !important;
}
/* 3. Araç Çubuğu Butonlarının Aktif Hali */
.yaktube-player-action-btn.active {
background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%) !important;
color: #fff !important;
border-color: #ff8f37 !important;
box-shadow: 0 0 12px rgba(255, 143, 55, 0.6) !important;
}