vidply 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,11 +96,20 @@ export const translations = {
96
96
  settings: 'Transcript settings. Press Enter to open menu, or D to enable drag mode',
97
97
  keyboardDragMode: 'Toggle keyboard drag mode with arrow keys. Shortcut: D key',
98
98
  keyboardDragActive: '⌨️ Keyboard Drag Mode Active (Arrow keys to move, Shift+Arrows for large steps, D or ESC to exit)',
99
+ dragResizePrompt: 'Press D to drag or R to resize. Use Home to reset position, Esc to close.',
100
+ dragModeEnabled: 'Keyboard drag mode enabled. Use arrow keys to move, Shift+Arrow for larger steps. Press D or Esc to exit.',
101
+ dragModeDisabled: 'Keyboard drag mode disabled.',
99
102
  resizeWindow: 'Resize Window',
103
+ disableResizeWindow: 'Disable Resize Mode',
104
+ resizeModeHint: 'Resize handles enabled. Drag edges or corners to adjust. Press Esc or R to exit.',
105
+ resizeModeEnabled: 'Resize mode enabled. Drag edges or corners to adjust. Press Esc or R to exit.',
106
+ resizeModeDisabled: 'Resize mode disabled.',
107
+ positionReset: 'Transcript position reset.',
100
108
  styleTranscript: 'Open transcript style settings',
101
109
  closeMenu: 'Close Menu',
102
110
  styleTitle: 'Transcript Style',
103
- autoscroll: 'Autoscroll'
111
+ autoscroll: 'Autoscroll',
112
+ settingsMenu: 'Settings menu'
104
113
  },
105
114
  settings: {
106
115
  title: 'Settings',
@@ -219,11 +228,20 @@ export const translations = {
219
228
  settings: 'Transkript-Einstellungen. Eingabetaste zum Öffnen des Menüs drücken oder D zum Aktivieren des Verschiebemodus',
220
229
  keyboardDragMode: 'Tastatur-Verschiebemodus mit Pfeiltasten umschalten. Tastenkombination: D-Taste',
221
230
  keyboardDragActive: '⌨️ Tastatur-Verschiebemodus aktiv (Pfeiltasten zum Bewegen, Umschalt+Pfeiltasten für große Schritte, D oder ESC zum Beenden)',
231
+ dragResizePrompt: 'Drücken Sie D zum Verschieben oder R zur Größenänderung. Home setzt die Position zurück, Esc schließt.',
232
+ dragModeEnabled: 'Tastatur-Verschiebemodus aktiviert. Pfeiltasten zum Bewegen, Umschalt+Pfeiltasten für größere Schritte. D oder Esc zum Beenden.',
233
+ dragModeDisabled: 'Tastatur-Verschiebemodus deaktiviert.',
222
234
  resizeWindow: 'Fenster vergrößern/verkleinern',
235
+ disableResizeWindow: 'Resize-Modus deaktivieren',
236
+ resizeModeHint: 'Griffe aktiviert. Ziehen Sie Kanten oder Ecken zum Anpassen. Esc oder R zum Beenden.',
237
+ resizeModeEnabled: 'Resize-Modus aktiviert. Kanten oder Ecken ziehen; Esc oder R beendet.',
238
+ resizeModeDisabled: 'Resize-Modus deaktiviert.',
239
+ positionReset: 'Transkriptposition zurückgesetzt.',
223
240
  styleTranscript: 'Transkript-Stileinstellungen öffnen',
224
241
  closeMenu: 'Menü schließen',
225
242
  styleTitle: 'Transkript-Stil',
226
- autoscroll: 'Automatisches Scrollen'
243
+ autoscroll: 'Automatisches Scrollen',
244
+ settingsMenu: 'Einstellungsmenü'
227
245
  },
228
246
  settings: {
229
247
  title: 'Einstellungen',
@@ -342,11 +360,20 @@ export const translations = {
342
360
  settings: 'Configuración de transcripción. Presione Enter para abrir el menú o D para activar el modo de arrastre',
343
361
  keyboardDragMode: 'Alternar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D',
344
362
  keyboardDragActive: '⌨️ Modo de Arrastre con Teclado Activo (Teclas de flecha para mover, Mayús+Flechas para pasos grandes, D o ESC para salir)',
363
+ dragResizePrompt: 'Pulsa D para mover o R para cambiar el tamaño. Home restablece la posición; Esc cierra.',
364
+ dragModeEnabled: 'Modo de arrastre con teclado activado. Usa flechas para mover, Mayús+Flechas para pasos grandes. Pulsa D o Esc para salir.',
365
+ dragModeDisabled: 'Modo de arrastre con teclado desactivado.',
345
366
  resizeWindow: 'Cambiar tamaño de ventana',
367
+ disableResizeWindow: 'Desactivar modo de cambio de tamaño',
368
+ resizeModeHint: 'Controladores habilitados. Arrastra bordes o esquinas para ajustar. Pulsa Esc o R para salir.',
369
+ resizeModeEnabled: 'Modo de cambio de tamaño activado. Arrastra bordes o esquinas. Pulsa Esc o R para salir.',
370
+ resizeModeDisabled: 'Modo de cambio de tamaño desactivado.',
371
+ positionReset: 'Posición de la transcripción restablecida.',
346
372
  styleTranscript: 'Abrir configuración de estilo de transcripción',
347
373
  closeMenu: 'Cerrar menú',
348
374
  styleTitle: 'Estilo de Transcripción',
349
- autoscroll: 'Desplazamiento automático'
375
+ autoscroll: 'Desplazamiento automático',
376
+ settingsMenu: 'Menú de configuración'
350
377
  },
351
378
  settings: {
352
379
  title: 'Configuración',
@@ -465,11 +492,20 @@ export const translations = {
465
492
  settings: 'Paramètres de transcription. Appuyez sur Entrée pour ouvrir le menu ou D pour activer le mode glissement',
466
493
  keyboardDragMode: 'Basculer le mode glissement avec les touches fléchées. Raccourci: touche D',
467
494
  keyboardDragActive: '⌨️ Mode Glissement Clavier Actif (Touches fléchées pour déplacer, Maj+Fléchées pour grands pas, D ou Échap pour quitter)',
495
+ dragResizePrompt: 'Appuyez sur D pour déplacer ou R pour redimensionner. Home réinitialise la position, Échap ferme.',
496
+ dragModeEnabled: 'Mode glissement clavier activé. Utilisez les flèches pour déplacer, Maj+Flèches pour de grands pas. Appuyez sur D ou Échap pour quitter.',
497
+ dragModeDisabled: 'Mode glissement clavier désactivé.',
468
498
  resizeWindow: 'Redimensionner la fenêtre',
499
+ disableResizeWindow: 'Désactiver le mode de redimensionnement',
500
+ resizeModeHint: 'Poignées activées. Faites glisser les bords ou les coins pour ajuster. Appuyez sur Échap ou R pour quitter.',
501
+ resizeModeEnabled: 'Mode redimensionnement activé. Faites glisser les bords ou coins. Appuyez sur Échap ou R pour quitter.',
502
+ resizeModeDisabled: 'Mode redimensionnement désactivé.',
503
+ positionReset: 'Position de la transcription réinitialisée.',
469
504
  styleTranscript: 'Ouvrir les paramètres de style de transcription',
470
505
  closeMenu: 'Fermer le menu',
471
506
  styleTitle: 'Style de Transcription',
472
- autoscroll: 'Défilement automatique'
507
+ autoscroll: 'Défilement automatique',
508
+ settingsMenu: 'Menu des paramètres'
473
509
  },
474
510
  settings: {
475
511
  title: 'Paramètres',
@@ -588,11 +624,20 @@ export const translations = {
588
624
  settings: '文字起こし設定。Enterキーでメニューを開く、またはDキーでドラッグモードを有効にする',
589
625
  keyboardDragMode: '矢印キーでキーボードドラッグモードを切り替え。ショートカット:Dキー',
590
626
  keyboardDragActive: '⌨️ キーボードドラッグモード有効(矢印キーで移動、Shift+矢印キーで大きく移動、DまたはESCで終了)',
627
+ dragResizePrompt: 'Dキーで移動、Rキーでサイズ変更。Homeで位置をリセット、Escで閉じます。',
628
+ dragModeEnabled: 'キーボードドラッグモードを有効にしました。矢印キーで移動、Shift+矢印キーで大きく移動できます。終了するには D または Esc を押します。',
629
+ dragModeDisabled: 'キーボードドラッグモードを無効にしました。',
591
630
  resizeWindow: 'ウィンドウのサイズ変更',
631
+ disableResizeWindow: 'サイズ変更モードを無効にする',
632
+ resizeModeHint: 'リサイズハンドルが有効になりました。辺や角をドラッグして調整します。Esc または R で終了します。',
633
+ resizeModeEnabled: 'サイズ変更モードを有効にしました。辺や角をドラッグして調整します。Esc または R で終了します。',
634
+ resizeModeDisabled: 'サイズ変更モードを無効にしました。',
635
+ positionReset: '文字起こしの位置をリセットしました。',
592
636
  styleTranscript: '文字起こしスタイル設定を開く',
593
637
  closeMenu: 'メニューを閉じる',
594
638
  styleTitle: '文字起こしスタイル',
595
- autoscroll: '自動スクロール'
639
+ autoscroll: '自動スクロール',
640
+ settingsMenu: '設定メニュー'
596
641
  },
597
642
  settings: {
598
643
  title: '設定',
@@ -35,33 +35,32 @@
35
35
  --vidply-border-hover: var(--vidply-white-30);
36
36
  --vidply-border-light: var(--vidply-white-10);
37
37
  --vidply-focus-outline: 2px solid var(--vidply-primary);
38
- --vidply-focus-outline-white: 2px solid var(--vidply-primary-light);
39
38
  --vidply-focus-outline-player: 3px solid var(--vidply-primary-light);
39
+ --vidply-focus-outline-white: 2px solid var(--vidply-primary-light);
40
40
  --vidply-hover-bg: var(--vidply-white-10);
41
- --vidply-scrollbar-thumb: var(--vidply-white);
42
- --vidply-scrollbar-thumb-hover: var(--vidply-white-90);
43
- --vidply-scrollbar-track: #404040;
44
- --vidply-scrollbar-track-transcript: #555555;
45
- --vidply-transition-default: all 0.2s ease;
46
41
  --vidply-primary: #0a406e;
47
42
  --vidply-primary-10: rgb(var(--vidply-primary-rgb), 0.1);
48
43
  --vidply-primary-15: rgb(var(--vidply-primary-rgb), 0.15);
49
-
50
- /* Black Color Variations */
51
44
  --vidply-primary-20: rgb(var(--vidply-primary-rgb), 0.2);
52
45
  --vidply-primary-25: rgb(var(--vidply-primary-rgb), 0.25);
53
46
  --vidply-primary-30: rgb(var(--vidply-primary-rgb), 0.3);
54
47
  --vidply-primary-40: rgb(var(--vidply-primary-rgb), 0.4);
55
48
  --vidply-primary-50: rgb(var(--vidply-primary-rgb), 0.5);
49
+
50
+ /* Black Color Variations */
56
51
  --vidply-primary-60: rgb(var(--vidply-primary-rgb), 0.6);
57
52
  --vidply-primary-70: rgb(var(--vidply-primary-rgb), 0.7);
58
53
  --vidply-primary-80: rgb(var(--vidply-primary-rgb), 0.8);
59
54
  --vidply-primary-dark: #083358;
60
-
61
- /* UI Background Colors */
62
55
  --vidply-primary-dark-rgb: 8, 51, 88;
63
56
  --vidply-primary-light: #71b7e2;
64
57
  --vidply-primary-rgb: 10, 64, 110;
58
+ --vidply-scrollbar-thumb: var(--vidply-white);
59
+ --vidply-scrollbar-thumb-hover: var(--vidply-white-90);
60
+
61
+ /* UI Background Colors */
62
+ --vidply-scrollbar-track: #404040;
63
+ --vidply-scrollbar-track-transcript: #555;
65
64
  --vidply-shadow-lg: 0 12px 48px var(--vidply-black-80);
66
65
  --vidply-shadow-md: 0 4px 12px var(--vidply-black-40);
67
66
  --vidply-shadow-sm: 0 2px 4px var(--vidply-black-30);
@@ -70,6 +69,7 @@
70
69
  --vidply-text-primary: var(--vidply-white);
71
70
  --vidply-text-secondary: var(--vidply-white-90);
72
71
  --vidply-text-subtle: var(--vidply-white-50);
72
+ --vidply-transition-default: all 0.2s ease;
73
73
 
74
74
  /* Border Colors */
75
75
  --vidply-white: #fff;
@@ -193,6 +193,17 @@
193
193
  z-index: 1; /* Base video layer */
194
194
  }
195
195
 
196
+ .vidply-video-wrapper.vidply-forced-poster {
197
+ background-image: var(--vidply-poster-image);
198
+ background-position: center;
199
+ background-repeat: no-repeat;
200
+ background-size: cover;
201
+ }
202
+
203
+ .vidply-video-wrapper.vidply-forced-poster > video {
204
+ opacity: 0;
205
+ }
206
+
196
207
  /* Mobile: Simplify video wrapper */
197
208
  @media (width <= 640px) {
198
209
  .vidply-video-wrapper {
@@ -1572,7 +1583,7 @@
1572
1583
  flex-direction: column;
1573
1584
  max-width: 400px;
1574
1585
  order: 4; /* After video-wrapper (1), track-info (2), and playlist-panel (3) */
1575
- position: absolute;
1586
+ position: fixed;
1576
1587
  top: 0;
1577
1588
  width: 400px;
1578
1589
  z-index: 5;
@@ -1595,6 +1606,13 @@
1595
1606
  user-select: none;
1596
1607
  }
1597
1608
 
1609
+ .vidply-transcript-header:focus,
1610
+ .vidply-transcript-header:focus-visible {
1611
+ box-shadow: 0 0 0 4px rgb(91 144 255 / 35%);
1612
+ outline: 3px solid var(--vidply-primary-light);
1613
+ outline-offset: 2px;
1614
+ }
1615
+
1598
1616
  .vidply-transcript-header h3 {
1599
1617
  /* Visually hidden but accessible to screen readers */
1600
1618
  color: var(--vidply-white);
@@ -2075,6 +2093,22 @@
2075
2093
  z-index: 1000;
2076
2094
  }
2077
2095
 
2096
+ .vidply-transcript-resize-tooltip {
2097
+ animation: fadeInDown 0.3s ease;
2098
+ background: var(--vidply-primary);
2099
+ border-radius: 4px;
2100
+ color: var(--vidply-white);
2101
+ font-size: 12px;
2102
+ left: 50%;
2103
+ padding: 6px 12px;
2104
+ position: absolute;
2105
+ text-align: center;
2106
+ top: 100%;
2107
+ transform: translateX(-50%);
2108
+ white-space: nowrap;
2109
+ z-index: 1000;
2110
+ }
2111
+
2078
2112
  @keyframes fadeInDown {
2079
2113
  from {
2080
2114
  opacity: 0;
@@ -2287,9 +2321,8 @@
2287
2321
  .vidply-sign-language-wrapper {
2288
2322
  background: transparent;
2289
2323
  height: auto;
2290
- max-width: 400px;
2324
+ max-width: none;
2291
2325
  min-height: 100px;
2292
- min-width: 150px;
2293
2326
  position: absolute;
2294
2327
  transition: opacity 0.3s ease;
2295
2328
  width: 280px;
@@ -2297,7 +2330,7 @@
2297
2330
  }
2298
2331
 
2299
2332
  .vidply-fullscreen .vidply-sign-language-wrapper {
2300
- max-width: 600px;
2333
+ max-width: none;
2301
2334
  }
2302
2335
 
2303
2336
  .vidply-sign-language-wrapper:focus {