@banou/media-player 0.10.53 → 0.10.55

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.
Files changed (81) hide show
  1. package/dist/{ar-CWVutin3.js → ar-CSjwFY8l.js} +2 -0
  2. package/dist/{cs-CmwRGxyE.js → cs-Dk6IDwX9.js} +2 -0
  3. package/dist/{de-DLdKEf3t.js → de-G319tpSe.js} +2 -0
  4. package/dist/{el-Ckj-z6DX.js → el-CtRdEeUl.js} +2 -0
  5. package/dist/engine/index.d.ts +2 -0
  6. package/dist/engine/index.js +2 -2
  7. package/dist/engine/playback.d.ts +2 -0
  8. package/dist/engine/subtitle-convert.d.ts +8 -0
  9. package/dist/engine/subtitles.d.ts +2 -0
  10. package/dist/{engine-03XT1hpH.js → engine-tBJeFD6J.js} +341 -203
  11. package/dist/{es-419-zORhhU8D.js → es-419-BzuTB161.js} +2 -0
  12. package/dist/{fr-BtPmNkri.js → fr-BC0Ncjsm.js} +2 -0
  13. package/dist/{he-Bu79qEth.js → he-UutSGaSy.js} +2 -0
  14. package/dist/{hi-BsH3tSHa.js → hi-kNW0VH4d.js} +2 -0
  15. package/dist/{hu-BkYBW-YP.js → hu-UJBXN0lB.js} +2 -0
  16. package/dist/{id-nUaBCV4o.js → id-DYADKCdp.js} +2 -0
  17. package/dist/index.d.ts +4 -3
  18. package/dist/index.js +1188 -953
  19. package/dist/{it-CqPSHyFA.js → it-GodcqBoI.js} +2 -0
  20. package/dist/{ja-DTjvriHw.js → ja-r3FM4zNQ.js} +2 -0
  21. package/dist/{ko-dV8T7XOJ.js → ko-kNn9SZJT.js} +2 -0
  22. package/dist/labels.d.ts +2 -0
  23. package/dist/{ms-VZQ7BI0z.js → ms-B_95sgk7.js} +2 -0
  24. package/dist/{nl-Q6iDxbDz.js → nl-DUua8lM5.js} +2 -0
  25. package/dist/{pl-BN7bK74l.js → pl-DYN3cCvL.js} +2 -0
  26. package/dist/{pt-BR-CPFILeFW.js → pt-BR-CRH5nyyj.js} +2 -0
  27. package/dist/react/components/chrome.d.ts +3 -2
  28. package/dist/react/components/control-bar.d.ts +3 -2
  29. package/dist/react/hooks/use-playback.d.ts +1 -5
  30. package/dist/react/video-player.d.ts +29 -1
  31. package/dist/remote/index.d.ts +25 -2
  32. package/dist/remote/index.js +134 -68
  33. package/dist/remote/protocol.d.ts +22 -6
  34. package/dist/{ro-Bwcm-i3k.js → ro-lXdsKpft.js} +2 -0
  35. package/dist/{ru-D1FMz751.js → ru-Du_uJXdo.js} +2 -0
  36. package/dist/{sv-ci9K0Lkk.js → sv-CpEL6oGd.js} +2 -0
  37. package/dist/{th-DR-UBONQ.js → th-CQac_Jcd.js} +2 -0
  38. package/dist/{tr-BqhdfT22.js → tr-DLRAnIOh.js} +2 -0
  39. package/dist/{uk-8pkZqdni.js → uk-Cra5hJzT.js} +2 -0
  40. package/dist/{vi-3mKZ9G_M.js → vi-L2-IGJYQ.js} +2 -0
  41. package/dist/{zh-Hans-CDgigWKY.js → zh-Hans-Dp0UkPYn.js} +2 -0
  42. package/dist/{zh-Hant-3WSNI0ne.js → zh-Hant-CS16XV8X.js} +2 -0
  43. package/package.json +1 -1
  44. package/src/lib/engine/index.ts +3 -0
  45. package/src/lib/engine/playback.ts +18 -1
  46. package/src/lib/engine/subtitle-convert.ts +186 -0
  47. package/src/lib/engine/subtitles.ts +46 -7
  48. package/src/lib/index.tsx +7 -0
  49. package/src/lib/labels.ts +2 -0
  50. package/src/lib/locales/ar.json +2 -0
  51. package/src/lib/locales/cs.json +2 -0
  52. package/src/lib/locales/de.json +2 -0
  53. package/src/lib/locales/el.json +2 -0
  54. package/src/lib/locales/es-419.json +2 -0
  55. package/src/lib/locales/fr.json +2 -0
  56. package/src/lib/locales/he.json +2 -0
  57. package/src/lib/locales/hi.json +2 -0
  58. package/src/lib/locales/hu.json +2 -0
  59. package/src/lib/locales/id.json +2 -0
  60. package/src/lib/locales/it.json +2 -0
  61. package/src/lib/locales/ja.json +2 -0
  62. package/src/lib/locales/ko.json +2 -0
  63. package/src/lib/locales/ms.json +2 -0
  64. package/src/lib/locales/nl.json +2 -0
  65. package/src/lib/locales/pl.json +2 -0
  66. package/src/lib/locales/pt-BR.json +2 -0
  67. package/src/lib/locales/ro.json +2 -0
  68. package/src/lib/locales/ru.json +2 -0
  69. package/src/lib/locales/sv.json +2 -0
  70. package/src/lib/locales/th.json +2 -0
  71. package/src/lib/locales/tr.json +2 -0
  72. package/src/lib/locales/uk.json +2 -0
  73. package/src/lib/locales/vi.json +2 -0
  74. package/src/lib/locales/zh-Hans.json +2 -0
  75. package/src/lib/locales/zh-Hant.json +2 -0
  76. package/src/lib/react/components/chrome.tsx +4 -3
  77. package/src/lib/react/components/control-bar.tsx +51 -6
  78. package/src/lib/react/hooks/use-playback.ts +207 -15
  79. package/src/lib/react/video-player.tsx +116 -3
  80. package/src/lib/remote/index.ts +149 -12
  81. package/src/lib/remote/protocol.ts +32 -7
@@ -14,6 +14,7 @@ var e = "Audio", t = "Copiado", n = "Copiar", r = "Desactivados", i = "Silenciar
14
14
  "Full screen (f)": "Pantalla completa (f)",
15
15
  Mute: i,
16
16
  "Mute (m)": "Silenciar (m)",
17
+ "Next episode": "Episodio siguiente",
17
18
  "Normalize volume": "Normalizar volumen",
18
19
  "Now click your browser's pop out button": "Ahora haz clic en el botón de imagen en imagen de tu navegador",
19
20
  Pause: a,
@@ -24,6 +25,7 @@ var e = "Audio", t = "Copiado", n = "Copiar", r = "Desactivados", i = "Silenciar
24
25
  "Playback errors ({count})": "Errores de reproducción ({count})",
25
26
  "Playback failed": "No se pudo reproducir",
26
27
  "Playback speed": "Velocidad",
28
+ "Previous episode": "Episodio anterior",
27
29
  "Put the subtitles in the picture": "Incrustar los subtítulos en la imagen",
28
30
  "Put the subtitles in the video": "Incrustar los subtítulos en el video",
29
31
  Quality: s,
@@ -14,6 +14,7 @@ var e = "Audio", t = "Copié", n = "Copier", r = "Désactivés", i = "Couper le
14
14
  "Full screen (f)": "Plein écran (f)",
15
15
  Mute: i,
16
16
  "Mute (m)": "Couper le son (m)",
17
+ "Next episode": "Épisode suivant",
17
18
  "Normalize volume": "Normaliser le volume",
18
19
  "Now click your browser's pop out button": "Cliquez maintenant sur le bouton d’incrustation vidéo de votre navigateur",
19
20
  Pause: a,
@@ -24,6 +25,7 @@ var e = "Audio", t = "Copié", n = "Copier", r = "Désactivés", i = "Couper le
24
25
  "Playback errors ({count})": "Erreurs de lecture ({count})",
25
26
  "Playback failed": "Échec de la lecture",
26
27
  "Playback speed": "Vitesse de lecture",
28
+ "Previous episode": "Épisode précédent",
27
29
  "Put the subtitles in the picture": "Incruster les sous-titres dans l’image",
28
30
  "Put the subtitles in the video": "Incruster les sous-titres dans la vidéo",
29
31
  Quality: s,
@@ -14,6 +14,7 @@ var e = "שמע", t = "הועתק", n = "העתקה", r = "כבוי", i = "הש
14
14
  "Full screen (f)": "מסך מלא (f)",
15
15
  Mute: i,
16
16
  "Mute (m)": "השתקה (m)",
17
+ "Next episode": "הפרק הבא",
17
18
  "Normalize volume": "איזון עוצמת הקול",
18
19
  "Now click your browser's pop out button": "עכשיו לחצו על לחצן החלון הצף בדפדפן",
19
20
  Pause: a,
@@ -24,6 +25,7 @@ var e = "שמע", t = "הועתק", n = "העתקה", r = "כבוי", i = "הש
24
25
  "Playback errors ({count})": "שגיאות הפעלה ({count})",
25
26
  "Playback failed": "ההפעלה נכשלה",
26
27
  "Playback speed": "מהירות הפעלה",
28
+ "Previous episode": "הפרק הקודם",
27
29
  "Put the subtitles in the picture": "הטמעת הכתוביות בתמונה",
28
30
  "Put the subtitles in the video": "הטמעת הכתוביות בסרטון",
29
31
  Quality: s,
@@ -14,6 +14,7 @@ var e = "ऑडियो", t = "कॉपी हो गया", n = "कॉप
14
14
  "Full screen (f)": "फ़ुल स्क्रीन (f)",
15
15
  Mute: i,
16
16
  "Mute (m)": "म्यूट करें (m)",
17
+ "Next episode": "अगला एपिसोड",
17
18
  "Normalize volume": "आवाज़ एक जैसी रखें",
18
19
  "Now click your browser's pop out button": "अब अपने ब्राउज़र का पिक्चर में पिक्चर बटन क्लिक करें",
19
20
  Pause: a,
@@ -24,6 +25,7 @@ var e = "ऑडियो", t = "कॉपी हो गया", n = "कॉप
24
25
  "Playback errors ({count})": "प्लेबैक की गड़बड़ियां ({count})",
25
26
  "Playback failed": "प्लेबैक नहीं हो सका",
26
27
  "Playback speed": "प्लेबैक स्पीड",
28
+ "Previous episode": "पिछला एपिसोड",
27
29
  "Put the subtitles in the picture": "सबटाइटल तस्वीर में जोड़ें",
28
30
  "Put the subtitles in the video": "सबटाइटल वीडियो में जोड़ें",
29
31
  Quality: s,
@@ -14,6 +14,7 @@ var e = "Hang", t = "Másolva", n = "Másolás", r = "Ki", i = "Némítás", a =
14
14
  "Full screen (f)": "Teljes képernyő (f)",
15
15
  Mute: i,
16
16
  "Mute (m)": "Némítás (m)",
17
+ "Next episode": "Következő epizód",
17
18
  "Normalize volume": "Hangerő kiegyenlítése",
18
19
  "Now click your browser's pop out button": "Most kattints a böngésző kép a képben gombjára",
19
20
  Pause: a,
@@ -24,6 +25,7 @@ var e = "Hang", t = "Másolva", n = "Másolás", r = "Ki", i = "Némítás", a =
24
25
  "Playback errors ({count})": "Lejátszási hibák ({count})",
25
26
  "Playback failed": "A lejátszás nem sikerült",
26
27
  "Playback speed": "Sebesség",
28
+ "Previous episode": "Előző epizód",
27
29
  "Put the subtitles in the picture": "Feliratok beégetése a képbe",
28
30
  "Put the subtitles in the video": "Feliratok beégetése a videóba",
29
31
  Quality: s,
@@ -14,6 +14,7 @@ var e = "Audio", t = "Disalin", n = "Salin", r = "Nonaktif", i = "Bisukan", a =
14
14
  "Full screen (f)": "Layar penuh (f)",
15
15
  Mute: i,
16
16
  "Mute (m)": "Bisukan (m)",
17
+ "Next episode": "Episode berikutnya",
17
18
  "Normalize volume": "Samakan volume",
18
19
  "Now click your browser's pop out button": "Sekarang klik tombol gambar dalam gambar di browser Anda",
19
20
  Pause: a,
@@ -24,6 +25,7 @@ var e = "Audio", t = "Disalin", n = "Salin", r = "Nonaktif", i = "Bisukan", a =
24
25
  "Playback errors ({count})": "Kesalahan pemutaran ({count})",
25
26
  "Playback failed": "Pemutaran gagal",
26
27
  "Playback speed": "Kecepatan putar",
28
+ "Previous episode": "Episode sebelumnya",
27
29
  "Put the subtitles in the picture": "Tanamkan subtitel ke gambar",
28
30
  "Put the subtitles in the video": "Tanamkan subtitel ke video",
29
31
  Quality: s,
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { MediaPlayer, default } from './react/video-player';
2
- export type { HostFullscreen, MediaPlayerOptions, MediaPlayerLocalOptions, MediaPlayerRemoteOptions, MediaPlayerSource, } from './react/video-player';
2
+ export type { EpisodeNavigation, EpisodeStep, ExternalSubtitleTrack, HostFullscreen, MediaPlayerOptions, MediaPlayerLocalOptions, MediaPlayerRemoteOptions, MediaPlayerSource, } from './react/video-player';
3
3
  export { isDelegatedTracks, isExternalThumbnails } from './react/media';
4
4
  export type { DelegatedSelection, DelegatedTracks, ExternalThumbnails, PassThroughPictureInPicture, PlayerMedia, TimeRangesLike, } from './react/media';
5
5
  export { Player, usePlayer } from './react/player';
@@ -10,5 +10,6 @@ export { useSeekThumbnails } from './react/hooks/use-thumbnails';
10
10
  export { usePictureInPicture } from './react/hooks/use-picture-in-picture';
11
11
  export { inputToRemuxerInput } from './utils/source';
12
12
  export type { RemuxerInput } from './utils/source';
13
- export type { AudioStream, MediaChapter, MediaIndex, PictureInPictureController, PlaybackController, PlaybackOptions, PlaybackOutput, SubtitleStream, ThumbnailImage, } from './engine';
14
- export { startPlayback, createThumbnailGenerator, createSubtitleRenderer, createPictureInPicture, SUBTITLES_OFF, } from './engine';
13
+ export type { AudioStream, ExternalSubtitleFormat, MediaChapter, MediaIndex, PictureInPictureController, PlaybackController, PlaybackOptions, PlaybackOutput, SubtitleStream, ThumbnailImage, } from './engine';
14
+ export { startPlayback, createThumbnailGenerator, createSubtitleRenderer, createPictureInPicture, SUBTITLES_OFF, toAssSubtitles, } from './engine';
15
+ export type { RemoteExternalSubtitleTrack } from './remote';