@banou/media-player 0.10.30 → 0.10.31
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.
- package/README.md +20 -0
- package/dist/de-DphEdq0O.js +52 -0
- package/dist/engine/index.js +1 -1
- package/dist/{engine-DeEY2qao.js → engine-5XbZqrD3.js} +213 -162
- package/dist/es-419-D6gsvnn8.js +52 -0
- package/dist/fr-BqAzAJX0.js +52 -0
- package/dist/index.js +931 -844
- package/dist/it-NTcUh3Gr.js +52 -0
- package/dist/ja-DSmX_bxj.js +52 -0
- package/dist/ko-DyPzWasj.js +52 -0
- package/dist/labels.d.ts +71 -0
- package/dist/pl-C6Ow4ra5.js +52 -0
- package/dist/pt-BR-wudK3giz.js +52 -0
- package/dist/react/labels.d.ts +28 -0
- package/dist/react/video-player.d.ts +9 -0
- package/dist/ru-D5kxBkik.js +52 -0
- package/dist/tr-CW7R7N9k.js +52 -0
- package/dist/utils/track-label.d.ts +9 -8
- package/dist/zh-Hans-IhL1Pl78.js +52 -0
- package/dist/zh-Hant-C5YyFjEc.js +52 -0
- package/package.json +3 -1
- package/src/lib/engine/playback.ts +6 -5
- package/src/lib/engine/source-buffer.ts +3 -1
- package/src/lib/labels.ts +75 -0
- package/src/lib/locales/de.json +49 -0
- package/src/lib/locales/es-419.json +49 -0
- package/src/lib/locales/fr.json +49 -0
- package/src/lib/locales/it.json +49 -0
- package/src/lib/locales/ja.json +49 -0
- package/src/lib/locales/ko.json +49 -0
- package/src/lib/locales/pl.json +49 -0
- package/src/lib/locales/pt-BR.json +49 -0
- package/src/lib/locales/ru.json +49 -0
- package/src/lib/locales/tr.json +49 -0
- package/src/lib/locales/zh-Hans.json +49 -0
- package/src/lib/locales/zh-Hant.json +49 -0
- package/src/lib/react/components/burn-in-hint.tsx +4 -1
- package/src/lib/react/components/chrome.tsx +9 -0
- package/src/lib/react/components/control-bar.tsx +15 -26
- package/src/lib/react/components/errors.tsx +11 -9
- package/src/lib/react/components/overlay.tsx +18 -5
- package/src/lib/react/components/playback-slider.tsx +4 -1
- package/src/lib/react/components/settings.tsx +23 -31
- package/src/lib/react/components/skip-chapter.tsx +5 -2
- package/src/lib/react/components/sound.tsx +5 -2
- package/src/lib/react/components/subtitles.tsx +7 -4
- package/src/lib/react/components/track-menu.tsx +8 -4
- package/src/lib/react/components/volume-slider.tsx +3 -1
- package/src/lib/react/hooks/use-playback.ts +12 -2
- package/src/lib/react/labels.tsx +125 -0
- package/src/lib/react/video-player.tsx +14 -1
- package/src/lib/utils/track-label.ts +16 -11
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
//#region src/lib/locales/es-419.json
|
|
2
|
+
var e = "Audio", t = "Copiado", n = "Copiar", r = "Desactivados", i = "Silenciar", a = "Pausar", o = "Reproducir", s = "Calidad", c = "Volver a ver", l = "Configuración", u = "Subtítulos", d = "No disponible", f = "recuperado", p = {
|
|
3
|
+
"(Default)": "(Normal)",
|
|
4
|
+
Audio: e,
|
|
5
|
+
Copied: t,
|
|
6
|
+
Copy: n,
|
|
7
|
+
"Copy the errors": "Copiar los errores",
|
|
8
|
+
"Could not switch. Try again.": "No se pudo cambiar. Vuelve a intentarlo.",
|
|
9
|
+
Disable: r,
|
|
10
|
+
"Exit full screen (f)": "Salir de pantalla completa (f)",
|
|
11
|
+
"Exit picture in picture": "Salir de imagen en imagen",
|
|
12
|
+
"Full screen": "Pantalla completa",
|
|
13
|
+
"Full screen (f)": "Pantalla completa (f)",
|
|
14
|
+
Mute: i,
|
|
15
|
+
"Mute (m)": "Silenciar (m)",
|
|
16
|
+
"Normalize volume": "Normalizar volumen",
|
|
17
|
+
"Now click your browser's pop out button": "Ahora haz clic en el botón de imagen en imagen de tu navegador",
|
|
18
|
+
Pause: a,
|
|
19
|
+
"Pause (k)": "Pausar (k)",
|
|
20
|
+
"Picture in picture": "Imagen en imagen",
|
|
21
|
+
Play: o,
|
|
22
|
+
"Play (k)": "Reproducir (k)",
|
|
23
|
+
"Playback errors ({count})": "Errores de reproducción ({count})",
|
|
24
|
+
"Playback failed": "No se pudo reproducir",
|
|
25
|
+
"Playback speed": "Velocidad",
|
|
26
|
+
"Put the subtitles in the picture": "Incrustar los subtítulos en la imagen",
|
|
27
|
+
"Put the subtitles in the video": "Incrustar los subtítulos en el video",
|
|
28
|
+
Quality: s,
|
|
29
|
+
"Reading the video file failed": "No se pudo leer el archivo de video",
|
|
30
|
+
Replay: c,
|
|
31
|
+
"Replay (k)": "Volver a ver (k)",
|
|
32
|
+
Settings: l,
|
|
33
|
+
"Skip Ending": "Saltar créditos",
|
|
34
|
+
"Skip Opening": "Saltar intro",
|
|
35
|
+
Subtitles: u,
|
|
36
|
+
"Subtitles are in the picture": "Los subtítulos están en la imagen",
|
|
37
|
+
"The MediaSource closed before a SourceBuffer could be created": "La MediaSource se cerró antes de poder crear un SourceBuffer",
|
|
38
|
+
"The MediaSource never opened": "La MediaSource nunca se abrió",
|
|
39
|
+
"The browser rejected a media segment": "El navegador rechazó un segmento multimedia",
|
|
40
|
+
"The video codec in this file could not be identified": "No se pudo identificar el códec de video de este archivo",
|
|
41
|
+
"This browser cannot play the codecs in this file: {codecs}": "Este navegador no puede reproducir los códecs de este archivo: {codecs}",
|
|
42
|
+
"This file has no subtitles": "Este archivo no tiene subtítulos",
|
|
43
|
+
"Track {number}": "Pista {number}",
|
|
44
|
+
Unavailable: d,
|
|
45
|
+
"Unmute (m)": "Activar sonido (m)",
|
|
46
|
+
"at {time}": "en {time}",
|
|
47
|
+
recovered: f,
|
|
48
|
+
"{rate}x": "{rate}x",
|
|
49
|
+
"{start} to {end}": "de {start} a {end}"
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
52
|
+
export { e as Audio, t as Copied, n as Copy, r as Disable, i as Mute, a as Pause, o as Play, s as Quality, c as Replay, l as Settings, u as Subtitles, d as Unavailable, p as default, f as recovered };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
//#region src/lib/locales/fr.json
|
|
2
|
+
var e = "Audio", t = "Copié", n = "Copier", r = "Désactivés", i = "Couper le son", a = "Pause", o = "Lecture", s = "Qualité", c = "Revoir", l = "Paramètres", u = "Sous-titres", d = "Indisponible", f = "lecture rétablie", p = {
|
|
3
|
+
"(Default)": "(Normale)",
|
|
4
|
+
Audio: e,
|
|
5
|
+
Copied: t,
|
|
6
|
+
Copy: n,
|
|
7
|
+
"Copy the errors": "Copier les erreurs",
|
|
8
|
+
"Could not switch. Try again.": "Échec du changement. Réessayez.",
|
|
9
|
+
Disable: r,
|
|
10
|
+
"Exit full screen (f)": "Quitter le plein écran (f)",
|
|
11
|
+
"Exit picture in picture": "Quitter l’image dans l’image",
|
|
12
|
+
"Full screen": "Plein écran",
|
|
13
|
+
"Full screen (f)": "Plein écran (f)",
|
|
14
|
+
Mute: i,
|
|
15
|
+
"Mute (m)": "Couper le son (m)",
|
|
16
|
+
"Normalize volume": "Normaliser le volume",
|
|
17
|
+
"Now click your browser's pop out button": "Cliquez maintenant sur le bouton d’incrustation vidéo de votre navigateur",
|
|
18
|
+
Pause: a,
|
|
19
|
+
"Pause (k)": "Pause (k)",
|
|
20
|
+
"Picture in picture": "Image dans l’image",
|
|
21
|
+
Play: o,
|
|
22
|
+
"Play (k)": "Lecture (k)",
|
|
23
|
+
"Playback errors ({count})": "Erreurs de lecture ({count})",
|
|
24
|
+
"Playback failed": "Échec de la lecture",
|
|
25
|
+
"Playback speed": "Vitesse de lecture",
|
|
26
|
+
"Put the subtitles in the picture": "Incruster les sous-titres dans l’image",
|
|
27
|
+
"Put the subtitles in the video": "Incruster les sous-titres dans la vidéo",
|
|
28
|
+
Quality: s,
|
|
29
|
+
"Reading the video file failed": "La lecture du fichier vidéo a échoué",
|
|
30
|
+
Replay: c,
|
|
31
|
+
"Replay (k)": "Revoir (k)",
|
|
32
|
+
Settings: l,
|
|
33
|
+
"Skip Ending": "Passer le générique de fin",
|
|
34
|
+
"Skip Opening": "Passer le générique",
|
|
35
|
+
Subtitles: u,
|
|
36
|
+
"Subtitles are in the picture": "Les sous-titres sont incrustés dans l’image",
|
|
37
|
+
"The MediaSource closed before a SourceBuffer could be created": "La MediaSource s’est fermée avant qu’un SourceBuffer puisse être créé",
|
|
38
|
+
"The MediaSource never opened": "La MediaSource ne s’est jamais ouverte",
|
|
39
|
+
"The browser rejected a media segment": "Le navigateur a refusé un segment multimédia",
|
|
40
|
+
"The video codec in this file could not be identified": "Le codec vidéo de ce fichier n’a pas pu être identifié",
|
|
41
|
+
"This browser cannot play the codecs in this file: {codecs}": "Ce navigateur ne peut pas lire les codecs de ce fichier\xA0: {codecs}",
|
|
42
|
+
"This file has no subtitles": "Ce fichier n’a pas de sous-titres",
|
|
43
|
+
"Track {number}": "Piste {number}",
|
|
44
|
+
Unavailable: d,
|
|
45
|
+
"Unmute (m)": "Réactiver le son (m)",
|
|
46
|
+
"at {time}": "position {time}",
|
|
47
|
+
recovered: f,
|
|
48
|
+
"{rate}x": "{rate}x",
|
|
49
|
+
"{start} to {end}": "de {start} à {end}"
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
52
|
+
export { e as Audio, t as Copied, n as Copy, r as Disable, i as Mute, a as Pause, o as Play, s as Quality, c as Replay, l as Settings, u as Subtitles, d as Unavailable, p as default, f as recovered };
|