vidply 1.2.1 → 1.2.3

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 (106) hide show
  1. package/README.md +30 -2
  2. package/dist/dev/{vidply.AudioDescriptionManager-6RFVF27Z.js → vidply.AudioDescriptionManager-JYYLK5KB.js} +6 -6
  3. package/dist/dev/{vidply.CaptionStyleMenu-R2SCQ6VP.js → vidply.CaptionStyleMenu-47RCKQF5.js} +4 -4
  4. package/dist/dev/{vidply.DASHRenderer-EOVEW73H.js → vidply.DASHRenderer-VEJ4HDHO.js} +3 -3
  5. package/dist/dev/{vidply.FloatingPlayerManager-V5XQWS75.js → vidply.FloatingPlayerManager-C2UVRPZY.js} +5 -5
  6. package/dist/dev/{vidply.HLSRenderer-ZBEFVH5W.js → vidply.HLSRenderer-ZVBK2TNQ.js} +4 -4
  7. package/dist/dev/vidply.HTML5Renderer-HLRQUOCU.js +12 -0
  8. package/dist/dev/{vidply.SignLanguageManager-7IAJOVF6.js → vidply.SignLanguageManager-FLUCBW5H.js} +8 -8
  9. package/dist/dev/{vidply.SoundCloudRenderer-OA7QQYGN.js → vidply.SoundCloudRenderer-MGMAJ7NK.js} +3 -3
  10. package/dist/dev/{vidply.TranscriptManager-BPM3T23L.js → vidply.TranscriptManager-Y2RYXHJW.js} +10 -10
  11. package/dist/dev/{vidply.VimeoRenderer-BRHFYPNJ.js → vidply.VimeoRenderer-RQFQD7OE.js} +3 -3
  12. package/dist/dev/{vidply.YouTubeRenderer-HRTN4EJ5.js → vidply.YouTubeRenderer-EU2BARZF.js} +3 -3
  13. package/dist/dev/{vidply.chunk-UHMVDBDB.js → vidply.chunk-6LYZYI5G.js} +3 -3
  14. package/dist/dev/{vidply.chunk-W5BR65JY.js → vidply.chunk-A4ESEOQ2.js} +6 -6
  15. package/dist/dev/{vidply.chunk-XAK3DPTO.js → vidply.chunk-CGYIED2I.js} +2 -2
  16. package/dist/dev/{vidply.chunk-YVCYQZJI.js → vidply.chunk-HZ7UOKOU.js} +3 -3
  17. package/dist/dev/{vidply.chunk-NSMAZCMB.js → vidply.chunk-I6EDRYGJ.js} +33 -6
  18. package/dist/dev/{vidply.chunk-NSMAZCMB.js.map → vidply.chunk-I6EDRYGJ.js.map} +2 -2
  19. package/dist/dev/{vidply.chunk-LDVFAFGC.js → vidply.chunk-JKMQGLCJ.js} +5 -5
  20. package/dist/dev/{vidply.chunk-HOYEMJSD.js → vidply.chunk-JZNZX32Z.js} +2 -2
  21. package/dist/dev/{vidply.chunk-JAKZNGOR.js → vidply.chunk-P25MRJ6O.js} +2 -2
  22. package/dist/dev/{vidply.chunk-5IK3IC5V.js → vidply.chunk-PRFNESYA.js} +2 -2
  23. package/dist/dev/{vidply.chunk-RQG3MA7W.js → vidply.chunk-UI3RYCVF.js} +4 -3
  24. package/dist/dev/{vidply.chunk-RQG3MA7W.js.map → vidply.chunk-UI3RYCVF.js.map} +2 -2
  25. package/dist/dev/{vidply.chunk-C55OBT5H.js → vidply.chunk-UNFGMABP.js} +2 -2
  26. package/dist/dev/{vidply.de-5W5LBFSJ.js → vidply.de-VAUVSQXC.js} +29 -2
  27. package/dist/dev/{vidply.de-5W5LBFSJ.js.map → vidply.de-VAUVSQXC.js.map} +2 -2
  28. package/dist/dev/{vidply.es-SHDAT6L6.js → vidply.es-G65HFWO6.js} +29 -2
  29. package/dist/dev/{vidply.es-SHDAT6L6.js.map → vidply.es-G65HFWO6.js.map} +2 -2
  30. package/dist/dev/vidply.esm.js +594 -20
  31. package/dist/dev/vidply.esm.js.map +3 -3
  32. package/dist/dev/{vidply.fr-2JANOMNB.js → vidply.fr-MJNOZELM.js} +29 -2
  33. package/dist/dev/{vidply.fr-2JANOMNB.js.map → vidply.fr-MJNOZELM.js.map} +2 -2
  34. package/dist/dev/{vidply.ja-WWMSTEJH.js → vidply.ja-INMDHIYJ.js} +29 -2
  35. package/dist/dev/{vidply.ja-WWMSTEJH.js.map → vidply.ja-INMDHIYJ.js.map} +2 -2
  36. package/dist/legacy/vidply.js +718 -3
  37. package/dist/legacy/vidply.js.map +3 -3
  38. package/dist/legacy/vidply.min.js +2 -2
  39. package/dist/legacy/vidply.min.meta.json +72 -19
  40. package/dist/prod/{vidply.AudioDescriptionManager-YTDVDQBO.min.js → vidply.AudioDescriptionManager-EKWUNOPE.min.js} +2 -2
  41. package/dist/prod/{vidply.CaptionStyleMenu-2AFF3HF2.min.js → vidply.CaptionStyleMenu-JTWSNHRQ.min.js} +2 -2
  42. package/dist/prod/{vidply.DASHRenderer-URDOTOKS.min.js → vidply.DASHRenderer-CIDAHFWM.min.js} +2 -2
  43. package/dist/prod/{vidply.FloatingPlayerManager-QUBFK7CQ.min.js → vidply.FloatingPlayerManager-VZXHPCPM.min.js} +2 -2
  44. package/dist/prod/{vidply.HLSRenderer-46KNUVAB.min.js → vidply.HLSRenderer-Q6EFYKID.min.js} +2 -2
  45. package/dist/prod/vidply.HTML5Renderer-XRDJUTOO.min.js +6 -0
  46. package/dist/prod/{vidply.SignLanguageManager-H4C36EVL.min.js → vidply.SignLanguageManager-JUOSA5AM.min.js} +2 -2
  47. package/dist/prod/{vidply.SoundCloudRenderer-OYSWMW7D.min.js → vidply.SoundCloudRenderer-7ODD46PO.min.js} +2 -2
  48. package/dist/prod/{vidply.TranscriptManager-BA3DAS63.min.js → vidply.TranscriptManager-4B2QKYGQ.min.js} +2 -2
  49. package/dist/prod/{vidply.VimeoRenderer-NF3COTHU.min.js → vidply.VimeoRenderer-MR3UYLY7.min.js} +2 -2
  50. package/dist/prod/{vidply.YouTubeRenderer-UCQKYIJ4.min.js → vidply.YouTubeRenderer-ITRTC7NR.min.js} +2 -2
  51. package/dist/prod/{vidply.chunk-7S5AFTST.min.js → vidply.chunk-3EEDXU4T.min.js} +2 -2
  52. package/dist/prod/{vidply.chunk-EUOA2DJK.min.js → vidply.chunk-5HTX5QXW.min.js} +1 -1
  53. package/dist/prod/{vidply.chunk-JPMAK3NS.min.js → vidply.chunk-6OGHHIYP.min.js} +2 -2
  54. package/dist/prod/{vidply.chunk-XXUH7ADU.min.js → vidply.chunk-GUPGMFUZ.min.js} +2 -2
  55. package/dist/prod/{vidply.chunk-M76ABMKB.min.js → vidply.chunk-MWEBITCP.min.js} +1 -1
  56. package/dist/prod/{vidply.chunk-G6KGXNEW.min.js → vidply.chunk-PL3P3JHR.min.js} +1 -1
  57. package/dist/prod/{vidply.chunk-6ECBIYVI.min.js → vidply.chunk-QQZGV7TD.min.js} +2 -2
  58. package/dist/prod/{vidply.chunk-2HNCP64N.min.js → vidply.chunk-U5IRRYG5.min.js} +1 -1
  59. package/dist/prod/{vidply.chunk-WRVDVD33.min.js → vidply.chunk-VKHV4QHA.min.js} +2 -2
  60. package/dist/prod/{vidply.chunk-L4O44K63.min.js → vidply.chunk-XA4M574A.min.js} +1 -1
  61. package/dist/prod/{vidply.chunk-X2FQEQYR.min.js → vidply.chunk-ZPTV4JEP.min.js} +2 -2
  62. package/dist/prod/{vidply.de-JMCATTKZ.min.js → vidply.de-UZHFCEZU.min.js} +2 -2
  63. package/dist/prod/{vidply.es-YVG37V7Z.min.js → vidply.es-BOISUV2S.min.js} +2 -2
  64. package/dist/prod/vidply.esm.min.js +2 -2
  65. package/dist/prod/{vidply.fr-OGKGN2R4.min.js → vidply.fr-ICSMKPFM.min.js} +2 -2
  66. package/dist/prod/{vidply.ja-Z6DS7QLS.min.js → vidply.ja-VQ2HKGAY.min.js} +2 -2
  67. package/dist/vidply.css +56 -0
  68. package/dist/vidply.esm.min.meta.json +154 -112
  69. package/dist/vidply.min.css +1 -1
  70. package/package.json +7 -7
  71. package/src/controls/ControlBar.ts +32 -0
  72. package/src/controls/KeyboardHelp.ts +326 -0
  73. package/src/controls/KeyboardManager.ts +4 -0
  74. package/src/core/MediaSessionManager.ts +341 -0
  75. package/src/core/Player.ts +59 -1
  76. package/src/i18n/languages/de.ts +27 -0
  77. package/src/i18n/languages/en.ts +27 -0
  78. package/src/i18n/languages/es.ts +27 -0
  79. package/src/i18n/languages/fr.ts +27 -0
  80. package/src/i18n/languages/ja.ts +27 -0
  81. package/src/icons/Icons.ts +2 -1
  82. package/src/styles/vidply.css +56 -0
  83. package/src/types/events.ts +4 -0
  84. package/src/types/options.ts +14 -0
  85. package/dist/dev/vidply.HTML5Renderer-P7ICKYU4.js +0 -12
  86. package/dist/prod/vidply.HTML5Renderer-7TQDMIGY.min.js +0 -6
  87. /package/dist/dev/{vidply.AudioDescriptionManager-6RFVF27Z.js.map → vidply.AudioDescriptionManager-JYYLK5KB.js.map} +0 -0
  88. /package/dist/dev/{vidply.CaptionStyleMenu-R2SCQ6VP.js.map → vidply.CaptionStyleMenu-47RCKQF5.js.map} +0 -0
  89. /package/dist/dev/{vidply.DASHRenderer-EOVEW73H.js.map → vidply.DASHRenderer-VEJ4HDHO.js.map} +0 -0
  90. /package/dist/dev/{vidply.FloatingPlayerManager-V5XQWS75.js.map → vidply.FloatingPlayerManager-C2UVRPZY.js.map} +0 -0
  91. /package/dist/dev/{vidply.HLSRenderer-ZBEFVH5W.js.map → vidply.HLSRenderer-ZVBK2TNQ.js.map} +0 -0
  92. /package/dist/dev/{vidply.HTML5Renderer-P7ICKYU4.js.map → vidply.HTML5Renderer-HLRQUOCU.js.map} +0 -0
  93. /package/dist/dev/{vidply.SignLanguageManager-7IAJOVF6.js.map → vidply.SignLanguageManager-FLUCBW5H.js.map} +0 -0
  94. /package/dist/dev/{vidply.SoundCloudRenderer-OA7QQYGN.js.map → vidply.SoundCloudRenderer-MGMAJ7NK.js.map} +0 -0
  95. /package/dist/dev/{vidply.TranscriptManager-BPM3T23L.js.map → vidply.TranscriptManager-Y2RYXHJW.js.map} +0 -0
  96. /package/dist/dev/{vidply.VimeoRenderer-BRHFYPNJ.js.map → vidply.VimeoRenderer-RQFQD7OE.js.map} +0 -0
  97. /package/dist/dev/{vidply.YouTubeRenderer-HRTN4EJ5.js.map → vidply.YouTubeRenderer-EU2BARZF.js.map} +0 -0
  98. /package/dist/dev/{vidply.chunk-UHMVDBDB.js.map → vidply.chunk-6LYZYI5G.js.map} +0 -0
  99. /package/dist/dev/{vidply.chunk-W5BR65JY.js.map → vidply.chunk-A4ESEOQ2.js.map} +0 -0
  100. /package/dist/dev/{vidply.chunk-XAK3DPTO.js.map → vidply.chunk-CGYIED2I.js.map} +0 -0
  101. /package/dist/dev/{vidply.chunk-YVCYQZJI.js.map → vidply.chunk-HZ7UOKOU.js.map} +0 -0
  102. /package/dist/dev/{vidply.chunk-LDVFAFGC.js.map → vidply.chunk-JKMQGLCJ.js.map} +0 -0
  103. /package/dist/dev/{vidply.chunk-HOYEMJSD.js.map → vidply.chunk-JZNZX32Z.js.map} +0 -0
  104. /package/dist/dev/{vidply.chunk-JAKZNGOR.js.map → vidply.chunk-P25MRJ6O.js.map} +0 -0
  105. /package/dist/dev/{vidply.chunk-5IK3IC5V.js.map → vidply.chunk-PRFNESYA.js.map} +0 -0
  106. /package/dist/dev/{vidply.chunk-C55OBT5H.js.map → vidply.chunk-UNFGMABP.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
6
- var t={play:'<path d="M8 5v14l11-7z"/>',pause:'<path d="M6 4h4v16H6V4zm8 0h4v16h-4V4z"/>',stop:'<rect x="6" y="6" width="12" height="12"/>',rewind:'<path d="M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z"/>',forward:'<path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z"/>',skipPrevious:'<path d="M6 6h2v12H6V6zm3 6l8.5 6V6L9 12z"/>',skipNext:'<path d="M16 6h2v12h-2V6zM6 6l8.5 6L6 18V6z"/>',restart:'<path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"/>',volumeHigh:'<path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>',volumeMedium:'<path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z"/>',volumeLow:'<path d="M7 9v6h4l5 5V4l-5 5H7z"/>',volumeMuted:'<path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>',fullscreen:'<path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/>',fullscreenExit:'<path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"/>',settings:'<path d="M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94L14.4 2.81c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"/>',captions:'<path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1zm7 0h-1.5v-.5h-2v3h2V13H18v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1z"/>',captionsOff:'<path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1zm7 0h-1.5v-.5h-2v3h2V13H18v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1z"/><path d="M0 0h24v24H0z" fill="none"/>',pip:'<path d="M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2zm0 16.01H3V4.98h18v14.03z"/>',speed:'<path d="M20.38 8.57l-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44z"/><path d="M10.59 15.41a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83z"/>',close:'<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>',check:'<path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>',loading:'<path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"/>',error:'<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>',playlist:'<path d="M15 6H3v2h12V6zm0 4H3v2h12v-2zM3 16h8v-2H3v2zM17 6v8.18c-.31-.11-.65-.18-1-.18-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3V8h3V6h-5z"/>',hd:'<path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm7-1c0 .55-.45 1-1 1h-.75v1.5h-1.5V15H14c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v4zm-3.5-.5h2v-3h-2v3z"/>',transcript:'<path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/>',chapters:'<path d="M3 5h2v2H3V5zm0 4h2v2H3V9zm0 4h2v2H3v-2zm0 4h2v2H3v-2zM7 5h14v2H7V5zm0 4h14v2H7V9zm0 4h14v2H7v-2zm0 4h14v2H7v-2z"/>',audioDescription:'<rect x="2" y="5" width="20" height="14" rx="2" fill="none" stroke="currentColor" stroke-width="1.5"/><text x="12" y="14.5" text-anchor="middle" font-size="8" font-weight="bold" font-family="Arial, sans-serif" fill="currentColor">AD</text>',audioDescriptionOn:'<rect x="2" y="5" width="20" height="14" rx="2" fill="currentColor"/><text x="12" y="14.5" text-anchor="middle" font-size="8" font-weight="bold" font-family="Arial, sans-serif" class="vidply-icon-ad-fg">AD</text>',signLanguage:'<g transform="scale(1.5)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g>',signLanguageOn:'<g transform="scale(1.5)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g>',signLanguagePip:'<g transform="scale(1.2) translate(1, 1)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g><polygon points="14,23 23,14 23,23" fill="currentColor"/>',signLanguagePipOn:'<g transform="scale(1.2) translate(1, 1)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g><polygon points="14,23 23,14 23,23" fill="currentColor"/>',music:'<path d="M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7zm-1.5 16c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/>',moreVertical:'<path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>',move:'<path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"/>',resize:'<path d="M21.71 11.29l-9-9c-.39-.39-1.02-.39-1.41 0l-9 9c-.39.39-.39 1.02 0 1.41l9 9c.39.39 1.02.39 1.41 0l9-9c.39-.38.39-1.01 0-1.41zM14 14.5V12h-4v2.5L7 11l3-3.5V10h4V7.5l3 3.5-3 3.5z"/>',clock:'<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/>',download:'<path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>'},e=t=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">${t}</svg>`,c=(Object.fromEntries(Object.entries(t).map(([t,c])=>[t,e(c)])),(()=>{const c=new DOMParser,h={};for(const[r,l]of Object.entries(t)){const t=c.parseFromString(e(l),"image/svg+xml").documentElement;t&&"svg"===t.nodeName.toLowerCase()&&!t.querySelector("parsererror")&&(h[r]=t)}return h})());function h(t,e=""){const h=document.createElement("span");h.className=`vidply-icon ${e}`.trim(),h.setAttribute("aria-hidden","true");const r=c[t]||c.play;return r&&h.appendChild(r.cloneNode(!0)),h}function r(){const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("class","vidply-play-overlay"),t.setAttribute("viewBox","0 0 80 80"),t.setAttribute("width","80"),t.setAttribute("height","80"),t.setAttribute("aria-hidden","true"),t.setAttribute("role","presentation"),t.style.cursor="pointer";const e=document.createElementNS("http://www.w3.org/2000/svg","defs"),c=`vidply-play-shadow-${Math.random().toString(36).slice(2,11)}`,h=document.createElementNS("http://www.w3.org/2000/svg","filter");h.setAttribute("id",c),h.setAttribute("x","-50%"),h.setAttribute("y","-50%"),h.setAttribute("width","200%"),h.setAttribute("height","200%");const r=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur");r.setAttribute("in","SourceAlpha"),r.setAttribute("stdDeviation","3");const l=document.createElementNS("http://www.w3.org/2000/svg","feOffset");l.setAttribute("dx","0"),l.setAttribute("dy","2"),l.setAttribute("result","offsetblur");const s=document.createElementNS("http://www.w3.org/2000/svg","feComponentTransfer"),a=document.createElementNS("http://www.w3.org/2000/svg","feFuncA");a.setAttribute("type","linear"),a.setAttribute("slope","0.3"),s.appendChild(a);const v=document.createElementNS("http://www.w3.org/2000/svg","feMerge"),i=document.createElementNS("http://www.w3.org/2000/svg","feMergeNode"),n=document.createElementNS("http://www.w3.org/2000/svg","feMergeNode");n.setAttribute("in","SourceGraphic"),v.appendChild(i),v.appendChild(n),h.appendChild(r),h.appendChild(l),h.appendChild(s),h.appendChild(v),e.appendChild(h),t.appendChild(e);const o=document.createElementNS("http://www.w3.org/2000/svg","circle");o.setAttribute("cx","40"),o.setAttribute("cy","40"),o.setAttribute("r","40"),o.setAttribute("fill","rgba(255, 255, 255, 0.95)"),o.setAttribute("filter",`url(#${c})`),o.setAttribute("class","vidply-play-overlay-bg"),t.appendChild(o);const d=document.createElementNS("http://www.w3.org/2000/svg","polygon");return d.setAttribute("points","32,28 32,52 54,40"),d.setAttribute("fill","#0a406e"),d.setAttribute("class","vidply-play-overlay-icon"),t.appendChild(d),t}export{h as createIconElement,r as createPlayOverlay};
6
+ var t={play:'<path d="M8 5v14l11-7z"/>',pause:'<path d="M6 4h4v16H6V4zm8 0h4v16h-4V4z"/>',stop:'<rect x="6" y="6" width="12" height="12"/>',rewind:'<path d="M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z"/>',forward:'<path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z"/>',skipPrevious:'<path d="M6 6h2v12H6V6zm3 6l8.5 6V6L9 12z"/>',skipNext:'<path d="M16 6h2v12h-2V6zM6 6l8.5 6L6 18V6z"/>',restart:'<path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"/>',volumeHigh:'<path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>',volumeMedium:'<path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z"/>',volumeLow:'<path d="M7 9v6h4l5 5V4l-5 5H7z"/>',volumeMuted:'<path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>',fullscreen:'<path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/>',fullscreenExit:'<path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"/>',settings:'<path d="M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94L14.4 2.81c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"/>',captions:'<path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1zm7 0h-1.5v-.5h-2v3h2V13H18v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1z"/>',captionsOff:'<path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1zm7 0h-1.5v-.5h-2v3h2V13H18v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1z"/><path d="M0 0h24v24H0z" fill="none"/>',pip:'<path d="M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2zm0 16.01H3V4.98h18v14.03z"/>',speed:'<path d="M20.38 8.57l-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44z"/><path d="M10.59 15.41a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83z"/>',close:'<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>',check:'<path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>',loading:'<path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"/>',error:'<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>',playlist:'<path d="M15 6H3v2h12V6zm0 4H3v2h12v-2zM3 16h8v-2H3v2zM17 6v8.18c-.31-.11-.65-.18-1-.18-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3V8h3V6h-5z"/>',hd:'<path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm7-1c0 .55-.45 1-1 1h-.75v1.5h-1.5V15H14c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v4zm-3.5-.5h2v-3h-2v3z"/>',transcript:'<path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/>',chapters:'<path d="M3 5h2v2H3V5zm0 4h2v2H3V9zm0 4h2v2H3v-2zm0 4h2v2H3v-2zM7 5h14v2H7V5zm0 4h14v2H7V9zm0 4h14v2H7v-2zm0 4h14v2H7v-2z"/>',audioDescription:'<rect x="2" y="5" width="20" height="14" rx="2" fill="none" stroke="currentColor" stroke-width="1.5"/><text x="12" y="14.5" text-anchor="middle" font-size="8" font-weight="bold" font-family="Arial, sans-serif" fill="currentColor">AD</text>',audioDescriptionOn:'<rect x="2" y="5" width="20" height="14" rx="2" fill="currentColor"/><text x="12" y="14.5" text-anchor="middle" font-size="8" font-weight="bold" font-family="Arial, sans-serif" class="vidply-icon-ad-fg">AD</text>',signLanguage:'<g transform="scale(1.5)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g>',signLanguageOn:'<g transform="scale(1.5)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g>',signLanguagePip:'<g transform="scale(1.2) translate(1, 1)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g><polygon points="14,23 23,14 23,23" fill="currentColor"/>',signLanguagePipOn:'<g transform="scale(1.2) translate(1, 1)"><path d="M16 11.3c-.1-.9-4.8 1.3-5.4 1.1-2.6-1 5.8-1.3 5.1-2.9s-5.1 1.5-6 1.4C6.5 9.4 16.5 9.1 13.5 8c-1.9-.6-8.8 2.9-6.8.4.7-.6.7-1.9-.7-1.7-9.7 7.2-.7 12.2 8.8 7 0-1.3-3.5.4-4.1.4-2.6 0 5.6-2 5.4-3ZM3.9 7.8c3.2-4.2 3.7 1.2 6 .1s.2-.2.2-.3c.7-2.7 2.5-7.5-1.5-1.3-1.6 0 1.1-4 1-4.6C8.9-1 7.3 4.4 7.2 4.9c-1.6.7-.9-1.4-.7-1.5 3-6-.6-3.1-.9.4-2.5 1.8 0-2.8 0-3.5C2.8-.9 4 9.4 1.1 4.9S.1 4.6 0 5c-.4 2.7 2.6 7.2 3.9 2.8Z"/></g><polygon points="14,23 23,14 23,23" fill="currentColor"/>',music:'<path d="M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7zm-1.5 16c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/>',moreVertical:'<path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>',move:'<path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"/>',resize:'<path d="M21.71 11.29l-9-9c-.39-.39-1.02-.39-1.41 0l-9 9c-.39.39-.39 1.02 0 1.41l9 9c.39.39 1.02.39 1.41 0l9-9c.39-.38.39-1.01 0-1.41zM14 14.5V12h-4v2.5L7 11l3-3.5V10h4V7.5l3 3.5-3 3.5z"/>',clock:'<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/>',download:'<path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>',help:'<path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"/>'},e=t=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">${t}</svg>`,c=(Object.fromEntries(Object.entries(t).map(([t,c])=>[t,e(c)])),(()=>{const c=new DOMParser,h={};for(const[l,r]of Object.entries(t)){const t=c.parseFromString(e(r),"image/svg+xml").documentElement;t&&"svg"===t.nodeName.toLowerCase()&&!t.querySelector("parsererror")&&(h[l]=t)}return h})());function h(t,e=""){const h=document.createElement("span");h.className=`vidply-icon ${e}`.trim(),h.setAttribute("aria-hidden","true");const l=c[t]||c.play;return l&&h.appendChild(l.cloneNode(!0)),h}function l(){const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("class","vidply-play-overlay"),t.setAttribute("viewBox","0 0 80 80"),t.setAttribute("width","80"),t.setAttribute("height","80"),t.setAttribute("aria-hidden","true"),t.setAttribute("role","presentation"),t.style.cursor="pointer";const e=document.createElementNS("http://www.w3.org/2000/svg","defs"),c=`vidply-play-shadow-${Math.random().toString(36).slice(2,11)}`,h=document.createElementNS("http://www.w3.org/2000/svg","filter");h.setAttribute("id",c),h.setAttribute("x","-50%"),h.setAttribute("y","-50%"),h.setAttribute("width","200%"),h.setAttribute("height","200%");const l=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("stdDeviation","3");const r=document.createElementNS("http://www.w3.org/2000/svg","feOffset");r.setAttribute("dx","0"),r.setAttribute("dy","2"),r.setAttribute("result","offsetblur");const s=document.createElementNS("http://www.w3.org/2000/svg","feComponentTransfer"),a=document.createElementNS("http://www.w3.org/2000/svg","feFuncA");a.setAttribute("type","linear"),a.setAttribute("slope","0.3"),s.appendChild(a);const v=document.createElementNS("http://www.w3.org/2000/svg","feMerge"),i=document.createElementNS("http://www.w3.org/2000/svg","feMergeNode"),n=document.createElementNS("http://www.w3.org/2000/svg","feMergeNode");n.setAttribute("in","SourceGraphic"),v.appendChild(i),v.appendChild(n),h.appendChild(l),h.appendChild(r),h.appendChild(s),h.appendChild(v),e.appendChild(h),t.appendChild(e);const o=document.createElementNS("http://www.w3.org/2000/svg","circle");o.setAttribute("cx","40"),o.setAttribute("cy","40"),o.setAttribute("r","40"),o.setAttribute("fill","rgba(255, 255, 255, 0.95)"),o.setAttribute("filter",`url(#${c})`),o.setAttribute("class","vidply-play-overlay-bg"),t.appendChild(o);const p=document.createElementNS("http://www.w3.org/2000/svg","polygon");return p.setAttribute("points","32,28 32,52 54,40"),p.setAttribute("fill","#0a406e"),p.setAttribute("class","vidply-play-overlay-icon"),t.appendChild(p),t}export{h as createIconElement,l as createPlayOverlay};
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
6
- import{StorageManager as e,deriveTrackLabel as t}from"./vidply.chunk-X2FQEQYR.min.js";import{debounce as i,isMobile as n,rafWithTimeout as a,reducedMotionScrollOptions as s}from"./vidply.chunk-M76ABMKB.min.js";import{DOMUtils as r,i18n as o}from"./vidply.chunk-6ECBIYVI.min.js";var l=class{player;_altCueChangeHandler=null;cueChangeHandler=null;currentCue;currentTrack;debouncedPositionCaptions;element;storage;tracks;constructor(t){this.player=t,this.tracks=[],this.currentTrack=null,this.currentCue=null,this.storage=new e("vidply"),this.loadSavedPreferences(),this.init()}loadSavedPreferences(){const e=this.storage.getCaptionPreferences();e&&("string"==typeof e.fontSize&&(this.player.options.captionsFontSize=e.fontSize),"string"==typeof e.fontFamily&&(this.player.options.captionsFontFamily=e.fontFamily),"string"==typeof e.color&&(this.player.options.captionsColor=e.color),"string"==typeof e.backgroundColor&&(this.player.options.captionsBackgroundColor=e.backgroundColor),"number"==typeof e.opacity&&(this.player.options.captionsOpacity=e.opacity))}saveCaptionPreferences(){this.storage.saveCaptionPreferences({fontSize:this.player.options.captionsFontSize,fontFamily:this.player.options.captionsFontFamily,color:this.player.options.captionsColor,backgroundColor:this.player.options.captionsBackgroundColor,opacity:this.player.options.captionsOpacity})}init(){this.createElement(),this.loadTracks(),this.attachEvents(),this.player.options.captionsDefault&&this.tracks.length>0&&!this.currentTrack&&this.enable()}createElement(){this.element=r.createElement("div",{className:`${this.player.options.classPrefix}-captions`,attributes:{role:"region","aria-label":o.t("player.captions"),"aria-live":"polite"}}),this.updateStyles(),(this.player.videoWrapper||this.player.container).appendChild(this.element)}loadTracks(){const e=this.player.element.textTracks;let i=-1;const n=new Map;for(let a=0;a<e.length;a++){const s=e[a];if(s&&("subtitles"===s.kind||"captions"===s.kind)&&!s._vidplyStale){s.mode="hidden";const e=`${s.language}|${s.label}`,r=n.get(e);if(r){r.alternatives.push(s);continue}const o=this.player.findTrackElement(s),l=!!o&&o.hasAttribute("default"),c={track:s,language:s.language,label:t(s.label,s.language),kind:s.kind,index:a,isDefault:l,alternatives:[]};this.tracks.push(c),n.set(e,c),l&&(i=this.tracks.length-1)}}i>=0&&requestAnimationFrame(()=>{this.enable(i)})}_syncHlsSubtitleTrack(e,t){const i=this.player.renderer;if(!i?.hls||!i.hls.subtitleTracks?.length)return;const n=i.hls.subtitleTracks;let a=n.findIndex(t=>t.lang===e);a<0&&t&&(a=n.findIndex(e=>e.name===t)),a>=0&&i.hls.subtitleTrack!==a&&(i.hls.subtitleTrack=a,this.player.log(`HLS subtitle track set to index ${a} (${e})`,"info"))}attachEvents(){this.player.on("timeupdate",()=>{this.updateCaptions()}),this.player.on("textcuesupdate",()=>{this.updateCaptions()}),this.player.on("captionschange",()=>{this.updateStyles()}),this.debouncedPositionCaptions=i(()=>{this.positionCaptionsOnMobile()},150),window.addEventListener("resize",this.debouncedPositionCaptions,{signal:this.player.lifecycleSignal}),this.player.on("enterfullscreen",()=>{a(()=>this.positionCaptionsOnMobile(),100)}),this.player.on("exitfullscreen",()=>{a(()=>this.positionCaptionsOnMobile(),100)})}enable(e=0){if(0===this.tracks.length)return;this._cleanupTrackListeners();const t=this.tracks[e];if(t&&t.track){t.track.mode="hidden",this.currentTrack=t,this.player.state.captionsEnabled=!0,t.language&&this.element.setAttribute("lang",t.language);const e=()=>{this.updateCaptions()};if(this.cueChangeHandler=e,t.track.addEventListener("cuechange",e),t.alternatives&&t.alternatives.length>0){const i=()=>{if(this.currentTrack===t)for(const n of t.alternatives)if(n.activeCues&&n.activeCues.length>0)return this.player.log(`Switching to alternative caption track for "${t.label}"`,"info"),t.track.removeEventListener("cuechange",e),t.alternatives.forEach(e=>e.removeEventListener("cuechange",i)),t.track=n,t.track.addEventListener("cuechange",e),this._altCueChangeHandler=null,void this.updateCaptions()};this._altCueChangeHandler=i,t.alternatives.forEach(e=>{e.mode="hidden",e.addEventListener("cuechange",i)})}const i=this.player.findTrackElement(t.track),n=()=>{if(i&&i.readyState<2){const e=()=>{i.removeEventListener("load",e),i.removeEventListener("error",e),requestAnimationFrame(()=>{this.currentTrack&&this.currentTrack.track===t.track&&this.updateCaptions()})};i.addEventListener("load",e,{once:!0}),i.addEventListener("error",e,{once:!0})}else requestAnimationFrame(()=>{this.currentTrack&&this.currentTrack.track===t.track&&this.updateCaptions()})};requestAnimationFrame(()=>{this.currentTrack&&this.currentTrack.track===t.track&&n()}),this._syncHlsSubtitleTrack(t.language,t.label),this.player.emit("captionsenabled",t)}}_cleanupTrackListeners(){if(this.currentTrack&&this.currentTrack.track){const e=this.cueChangeHandler;e&&this.currentTrack.track.removeEventListener("cuechange",e);const t=this._altCueChangeHandler;t&&this.currentTrack.alternatives&&this.currentTrack.alternatives.forEach(e=>{e.removeEventListener("cuechange",t)}),this.currentTrack.track.mode="hidden"}this._altCueChangeHandler=null}disable(){this._cleanupTrackListeners(),this.currentTrack=null,this.element.style.display="none",this.element.replaceChildren(),this.element.removeAttribute("lang"),this.currentCue=null,this.player.state.captionsEnabled=!1,this.player.emit("captionsdisabled")}updateCaptions(){if(!this.currentTrack||!this.currentTrack.track)return;if(this.player.renderer?.handlesOwnCaptions?.())return;if("disabled"===this.currentTrack.track.mode&&(this.currentTrack.track.mode="hidden"),"showing"===this.currentTrack.track.mode&&(this.currentTrack.track.mode="hidden"),!this.currentTrack.track.activeCues)return void(this.currentTrack.track.cues&&this.currentTrack.track.cues.length>0&&this.currentCue&&(this.element.replaceChildren(),this.element.style.display="none",this.currentCue=null));const e=this.currentTrack.track.activeCues,t="audio"===this.player.element.tagName.toLowerCase();if(e.length>0){const i=e[0];if(this.currentCue!==i){this.currentCue=i;const e=i.text||"";if(!e.trim())return;const n=r.renderVTTToDOM(e);if(t){this.element.querySelectorAll(`.${this.player.options.classPrefix}-caption-cue`).forEach(e=>e.classList.remove(`${this.player.options.classPrefix}-caption-active`));const e=`cue-${i.startTime}-${i.endTime}`;let t=this.element.querySelector(`[data-cue-id="${e}"]`);t?t.replaceChildren(n):(t=document.createElement("div"),t.className=`${this.player.options.classPrefix}-caption-cue`,t.setAttribute("data-cue-id",e),t.replaceChildren(n),this.element.appendChild(t)),t.classList.add(`${this.player.options.classPrefix}-caption-active`),requestAnimationFrame(()=>{t&&t.scrollIntoView(s("center"))})}else this.element.replaceChildren(n);this.element.style.display="block",this.positionCaptionsOnMobile(),this.player.emit("captionchange",i)}}else this.currentCue&&(t||(this.element.replaceChildren(),this.element.style.display="none"),this.currentCue=null)}positionCaptionsOnMobile(){if(!this.element||"none"===this.element.style.display)return;const e=this.player.state?.fullscreen||!1,t=n();if(!t&&!e)return void(this.element.style.bottom="");const i=this.player.controlBar?.element;i&&requestAnimationFrame(()=>{if(!this.element||"none"===this.element.style.display)return;const n=i.getBoundingClientRect();if(!this.player.videoWrapper)return;const a=this.player.videoWrapper.getBoundingClientRect().bottom-n.top+16;this.element.style.bottom=`${a}px`,this.player.options.debug&&console.log("[VidPly] Caption position:",{mobile:t,isFullscreen:e,controlsHeight:n.height,bottomOffset:`${a}px`})})}updateStyles(){if(!this.element)return;const e=this.player.options;this.element.style.fontSize=e.captionsFontSize,this.element.style.fontFamily=e.captionsFontFamily,this.element.style.color=e.captionsColor,this.element.style.backgroundColor=this.hexToRgba(e.captionsBackgroundColor,e.captionsOpacity)}hexToRgba(e,t){const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return i&&i[1]&&i[2]&&i[3]?`rgba(${parseInt(i[1],16)}, ${parseInt(i[2],16)}, ${parseInt(i[3],16)}, ${t})`:e}setCaptionStyle(e,t){switch(e){case"fontSize":this.player.options.captionsFontSize=String(t);break;case"fontFamily":this.player.options.captionsFontFamily=String(t);break;case"color":this.player.options.captionsColor=String(t);break;case"backgroundColor":this.player.options.captionsBackgroundColor=String(t);break;case"opacity":this.player.options.captionsOpacity=Number(t)}this.updateStyles(),this.saveCaptionPreferences(),this.player.emit("captionschange")}getAvailableTracks(){return this.tracks.map((e,t)=>({index:t,language:e.language,label:e.label||e.language,kind:e.kind}))}refreshTracks(){const e=this.currentTrack?.language,t=this.player.state.captionsEnabled;if(this.currentTrack&&this.disable(),this.tracks=[],this.loadTracks(),this.player.log(`Caption tracks refreshed, found ${this.tracks.length} tracks`,"info"),t&&e&&this.tracks.length>0){const t=this.tracks.findIndex(t=>t.language===e);t>=0&&this.enable(t)}return this.tracks.length}switchTrack(e){e>=0&&e<this.tracks.length&&(this.disable(),this.enable(e))}destroy(){this.disable(),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}};export{l as CaptionManager};
6
+ import{StorageManager as e,deriveTrackLabel as t}from"./vidply.chunk-ZPTV4JEP.min.js";import{debounce as i,isMobile as n,rafWithTimeout as a,reducedMotionScrollOptions as s}from"./vidply.chunk-MWEBITCP.min.js";import{DOMUtils as r,i18n as o}from"./vidply.chunk-QQZGV7TD.min.js";var l=class{player;_altCueChangeHandler=null;cueChangeHandler=null;currentCue;currentTrack;debouncedPositionCaptions;element;storage;tracks;constructor(t){this.player=t,this.tracks=[],this.currentTrack=null,this.currentCue=null,this.storage=new e("vidply"),this.loadSavedPreferences(),this.init()}loadSavedPreferences(){const e=this.storage.getCaptionPreferences();e&&("string"==typeof e.fontSize&&(this.player.options.captionsFontSize=e.fontSize),"string"==typeof e.fontFamily&&(this.player.options.captionsFontFamily=e.fontFamily),"string"==typeof e.color&&(this.player.options.captionsColor=e.color),"string"==typeof e.backgroundColor&&(this.player.options.captionsBackgroundColor=e.backgroundColor),"number"==typeof e.opacity&&(this.player.options.captionsOpacity=e.opacity))}saveCaptionPreferences(){this.storage.saveCaptionPreferences({fontSize:this.player.options.captionsFontSize,fontFamily:this.player.options.captionsFontFamily,color:this.player.options.captionsColor,backgroundColor:this.player.options.captionsBackgroundColor,opacity:this.player.options.captionsOpacity})}init(){this.createElement(),this.loadTracks(),this.attachEvents(),this.player.options.captionsDefault&&this.tracks.length>0&&!this.currentTrack&&this.enable()}createElement(){this.element=r.createElement("div",{className:`${this.player.options.classPrefix}-captions`,attributes:{role:"region","aria-label":o.t("player.captions"),"aria-live":"polite"}}),this.updateStyles(),(this.player.videoWrapper||this.player.container).appendChild(this.element)}loadTracks(){const e=this.player.element.textTracks;let i=-1;const n=new Map;for(let a=0;a<e.length;a++){const s=e[a];if(s&&("subtitles"===s.kind||"captions"===s.kind)&&!s._vidplyStale){s.mode="hidden";const e=`${s.language}|${s.label}`,r=n.get(e);if(r){r.alternatives.push(s);continue}const o=this.player.findTrackElement(s),l=!!o&&o.hasAttribute("default"),c={track:s,language:s.language,label:t(s.label,s.language),kind:s.kind,index:a,isDefault:l,alternatives:[]};this.tracks.push(c),n.set(e,c),l&&(i=this.tracks.length-1)}}i>=0&&requestAnimationFrame(()=>{this.enable(i)})}_syncHlsSubtitleTrack(e,t){const i=this.player.renderer;if(!i?.hls||!i.hls.subtitleTracks?.length)return;const n=i.hls.subtitleTracks;let a=n.findIndex(t=>t.lang===e);a<0&&t&&(a=n.findIndex(e=>e.name===t)),a>=0&&i.hls.subtitleTrack!==a&&(i.hls.subtitleTrack=a,this.player.log(`HLS subtitle track set to index ${a} (${e})`,"info"))}attachEvents(){this.player.on("timeupdate",()=>{this.updateCaptions()}),this.player.on("textcuesupdate",()=>{this.updateCaptions()}),this.player.on("captionschange",()=>{this.updateStyles()}),this.debouncedPositionCaptions=i(()=>{this.positionCaptionsOnMobile()},150),window.addEventListener("resize",this.debouncedPositionCaptions,{signal:this.player.lifecycleSignal}),this.player.on("enterfullscreen",()=>{a(()=>this.positionCaptionsOnMobile(),100)}),this.player.on("exitfullscreen",()=>{a(()=>this.positionCaptionsOnMobile(),100)})}enable(e=0){if(0===this.tracks.length)return;this._cleanupTrackListeners();const t=this.tracks[e];if(t&&t.track){t.track.mode="hidden",this.currentTrack=t,this.player.state.captionsEnabled=!0,t.language&&this.element.setAttribute("lang",t.language);const e=()=>{this.updateCaptions()};if(this.cueChangeHandler=e,t.track.addEventListener("cuechange",e),t.alternatives&&t.alternatives.length>0){const i=()=>{if(this.currentTrack===t)for(const n of t.alternatives)if(n.activeCues&&n.activeCues.length>0)return this.player.log(`Switching to alternative caption track for "${t.label}"`,"info"),t.track.removeEventListener("cuechange",e),t.alternatives.forEach(e=>e.removeEventListener("cuechange",i)),t.track=n,t.track.addEventListener("cuechange",e),this._altCueChangeHandler=null,void this.updateCaptions()};this._altCueChangeHandler=i,t.alternatives.forEach(e=>{e.mode="hidden",e.addEventListener("cuechange",i)})}const i=this.player.findTrackElement(t.track),n=()=>{if(i&&i.readyState<2){const e=()=>{i.removeEventListener("load",e),i.removeEventListener("error",e),requestAnimationFrame(()=>{this.currentTrack&&this.currentTrack.track===t.track&&this.updateCaptions()})};i.addEventListener("load",e,{once:!0}),i.addEventListener("error",e,{once:!0})}else requestAnimationFrame(()=>{this.currentTrack&&this.currentTrack.track===t.track&&this.updateCaptions()})};requestAnimationFrame(()=>{this.currentTrack&&this.currentTrack.track===t.track&&n()}),this._syncHlsSubtitleTrack(t.language,t.label),this.player.emit("captionsenabled",t)}}_cleanupTrackListeners(){if(this.currentTrack&&this.currentTrack.track){const e=this.cueChangeHandler;e&&this.currentTrack.track.removeEventListener("cuechange",e);const t=this._altCueChangeHandler;t&&this.currentTrack.alternatives&&this.currentTrack.alternatives.forEach(e=>{e.removeEventListener("cuechange",t)}),this.currentTrack.track.mode="hidden"}this._altCueChangeHandler=null}disable(){this._cleanupTrackListeners(),this.currentTrack=null,this.element.style.display="none",this.element.replaceChildren(),this.element.removeAttribute("lang"),this.currentCue=null,this.player.state.captionsEnabled=!1,this.player.emit("captionsdisabled")}updateCaptions(){if(!this.currentTrack||!this.currentTrack.track)return;if(this.player.renderer?.handlesOwnCaptions?.())return;if("disabled"===this.currentTrack.track.mode&&(this.currentTrack.track.mode="hidden"),"showing"===this.currentTrack.track.mode&&(this.currentTrack.track.mode="hidden"),!this.currentTrack.track.activeCues)return void(this.currentTrack.track.cues&&this.currentTrack.track.cues.length>0&&this.currentCue&&(this.element.replaceChildren(),this.element.style.display="none",this.currentCue=null));const e=this.currentTrack.track.activeCues,t="audio"===this.player.element.tagName.toLowerCase();if(e.length>0){const i=e[0];if(this.currentCue!==i){this.currentCue=i;const e=i.text||"";if(!e.trim())return;const n=r.renderVTTToDOM(e);if(t){this.element.querySelectorAll(`.${this.player.options.classPrefix}-caption-cue`).forEach(e=>e.classList.remove(`${this.player.options.classPrefix}-caption-active`));const e=`cue-${i.startTime}-${i.endTime}`;let t=this.element.querySelector(`[data-cue-id="${e}"]`);t?t.replaceChildren(n):(t=document.createElement("div"),t.className=`${this.player.options.classPrefix}-caption-cue`,t.setAttribute("data-cue-id",e),t.replaceChildren(n),this.element.appendChild(t)),t.classList.add(`${this.player.options.classPrefix}-caption-active`),requestAnimationFrame(()=>{t&&t.scrollIntoView(s("center"))})}else this.element.replaceChildren(n);this.element.style.display="block",this.positionCaptionsOnMobile(),this.player.emit("captionchange",i)}}else this.currentCue&&(t||(this.element.replaceChildren(),this.element.style.display="none"),this.currentCue=null)}positionCaptionsOnMobile(){if(!this.element||"none"===this.element.style.display)return;const e=this.player.state?.fullscreen||!1,t=n();if(!t&&!e)return void(this.element.style.bottom="");const i=this.player.controlBar?.element;i&&requestAnimationFrame(()=>{if(!this.element||"none"===this.element.style.display)return;const n=i.getBoundingClientRect();if(!this.player.videoWrapper)return;const a=this.player.videoWrapper.getBoundingClientRect().bottom-n.top+16;this.element.style.bottom=`${a}px`,this.player.options.debug&&console.log("[VidPly] Caption position:",{mobile:t,isFullscreen:e,controlsHeight:n.height,bottomOffset:`${a}px`})})}updateStyles(){if(!this.element)return;const e=this.player.options;this.element.style.fontSize=e.captionsFontSize,this.element.style.fontFamily=e.captionsFontFamily,this.element.style.color=e.captionsColor,this.element.style.backgroundColor=this.hexToRgba(e.captionsBackgroundColor,e.captionsOpacity)}hexToRgba(e,t){const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return i&&i[1]&&i[2]&&i[3]?`rgba(${parseInt(i[1],16)}, ${parseInt(i[2],16)}, ${parseInt(i[3],16)}, ${t})`:e}setCaptionStyle(e,t){switch(e){case"fontSize":this.player.options.captionsFontSize=String(t);break;case"fontFamily":this.player.options.captionsFontFamily=String(t);break;case"color":this.player.options.captionsColor=String(t);break;case"backgroundColor":this.player.options.captionsBackgroundColor=String(t);break;case"opacity":this.player.options.captionsOpacity=Number(t)}this.updateStyles(),this.saveCaptionPreferences(),this.player.emit("captionschange")}getAvailableTracks(){return this.tracks.map((e,t)=>({index:t,language:e.language,label:e.label||e.language,kind:e.kind}))}refreshTracks(){const e=this.currentTrack?.language,t=this.player.state.captionsEnabled;if(this.currentTrack&&this.disable(),this.tracks=[],this.loadTracks(),this.player.log(`Caption tracks refreshed, found ${this.tracks.length} tracks`,"info"),t&&e&&this.tracks.length>0){const t=this.tracks.findIndex(t=>t.language===e);t>=0&&this.enable(t)}return this.tracks.length}switchTrack(e){e>=0&&e<this.tracks.length&&(this.disable(),this.enable(e))}destroy(){this.disable(),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}};export{l as CaptionManager};
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
6
- var e={createElement(e,t={}){const a=document.createElement(e);if(t.className&&(a.className=t.className),t.attributes)for(const[e,o]of Object.entries(t.attributes))void 0!==o&&a.setAttribute(e,o);if(t.textContent&&(a.textContent=t.textContent),t.style&&Object.assign(a.style,t.style),t.children)for(const e of t.children)e&&a.appendChild(e);return a},show(e){e?.style&&(e.style.display="")},hide(e){e?.style&&(e.style.display="none")},fadeIn(e,t=300,a){if(e&&(e.style.opacity="0",e.style.display="",e.style.transition=`opacity ${t}ms ease`,e.style.opacity="1",a)){let o=!1;const s=()=>{o||(o=!0,e.removeEventListener("transitionend",s),a())};e.addEventListener("transitionend",s,{once:!0}),setTimeout(s,t+50)}},fadeOut(e,t=300,a){if(!e)return;e.style.transition=`opacity ${t}ms ease`,e.style.opacity="0";let o=!1;const s=()=>{o||(o=!0,e.removeEventListener("transitionend",s),e.style.display="none",a&&a())};e.addEventListener("transitionend",s,{once:!0}),setTimeout(s,t+50)},offset(e){if(!e)return{top:0,left:0,width:0,height:0};const t=e.getBoundingClientRect();return{top:t.top+window.scrollY,left:t.left+window.scrollX,width:t.width,height:t.height}},escapeHTML(e){const t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"};return e.replace(/[&<>"']/g,e=>t[e]??e)},renderVTTToDOM(e){const t=e.length>1e4?e.slice(0,1e4):e,a=document.createDocumentFragment(),o=[],s=e=>{(o[o.length-1]??a).appendChild(e)},i=/<(\/)?([a-z])(?:\.([\w.-]{1,200}))?(?:\s+([^<>]{0,500}))?>/i;let n=0;for(;n<t.length;){const e=t.slice(n),a=i.exec(e);if(!a||void 0===a.index){s(document.createTextNode(e));break}a.index>0&&s(document.createTextNode(e.slice(0,a.index)));const[,r,l,d,c]=a,g=(l||"").toLowerCase();if(r){const e=o[o.length-1];e&&e.dataset.vttTag===g&&o.pop()}else if("b"===g||"i"===g||"u"===g){const e=document.createElement("b"===g?"strong":"i"===g?"em":"u");e.dataset.vttTag=g,s(e),o.push(e)}else if("c"===g){const e=document.createElement("span");if(e.dataset.vttTag=g,e.classList.add("caption-class"),d)for(const t of d.split(".").filter(Boolean))/^[\w-]+$/.test(t)&&e.classList.add(`caption-class-${t}`);s(e),o.push(e)}else if("v"===g){const e=document.createElement("span");e.dataset.vttTag=g,e.classList.add("caption-voice"),c&&(e.dataset.voice=c.trim().slice(0,200)),s(e),o.push(e)}else s(document.createTextNode(a[0]));n+=a.index+a[0].length}return a},createTooltip(e,t="vidply"){return this.createElement("span",{className:`${t}-tooltip`,textContent:e,attributes:{"aria-hidden":"true"}})},attachTooltip(e,t,a="vidply"){if(!e||!t)return;e.querySelector(`.${a}-tooltip`)?.remove();const o=this.createTooltip(t,a);e.appendChild(o);const s=`${a}-tooltip-visible`,i=()=>o.classList.add(s),n=()=>o.classList.remove(s);e.addEventListener("mouseenter",i),e.addEventListener("mouseleave",n),e.addEventListener("focus",i),e.addEventListener("blur",n)},createButtonText(e,t="vidply"){return this.createElement("span",{className:`${t}-button-text`,textContent:e,attributes:{"aria-hidden":"true"}})},addClass(e,t){e?.classList?.add(t)},removeClass(e,t){e?.classList?.remove(t)},toggleClass(e,t){e?.classList?.toggle(t)},hasClass(e,t){return e?.classList?.contains(t)??!1}},t=Object.freeze(new Set(["__proto__","prototype","constructor"]));function a(e){return t.has(String(e))}function o(e){const t=Object.create(null);for(const[o,s]of Object.entries(e))a(o)||(t[o]=s);return t}function s(e){if(!e||"object"!=typeof e||Array.isArray(e))return e&&"object"==typeof e?e:Object.create(null);const t=Object.create(null);for(const[o,i]of Object.entries(e))a(o)||(t[o]=i&&"object"==typeof i&&!Array.isArray(i)?s(i):i);return t}var i={player:{label:"Video Player",play:"Play",pause:"Pause",stop:"Stop",restart:"Restart from beginning",rewind:"Rewind",forward:"Forward",rewindSeconds:"Rewind {seconds} seconds",forwardSeconds:"Forward {seconds} seconds",previous:"Previous track",next:"Next track",playlist:"Toggle playlist",volume:"Volume",mute:"Mute",unmute:"Unmute",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",captions:"Captions",chapters:"Chapters",quality:"Quality",captionStyling:"Caption styling",transcript:"Toggle transcript",audioDescription:"Audio description",signLanguage:"Sign language video",settings:"Settings",speed:"Playback Speed",pip:"Picture in Picture",floatingPlayer:"Floating player",floatingPlayerClose:"Close floating player",floatingPlayerEnter:"Pop out video",floatingPlayerExit:"Dock video",floatingPlayerDialog:"Floating video player. Press D to drag, R to resize, Escape to close.",download:"Download",downloadWithFormat:"Download {format}",downloadWithSize:"Download ({size})",downloadWithFormatSize:"Download {format} ({size})",currentTime:"Current time",duration:"Duration",progress:"Progress",seekForward:"Seek forward {seconds} seconds",seekBackward:"Seek backward {seconds} seconds",volumeUp:"Volume up",volumeDown:"Volume down",loading:"Loading...",loadingChapters:"Loading chapters...",error:"Error loading media",buffering:"Buffering...",signLanguageVideo:"Sign Language Video",closeSignLanguage:"Close sign language video",signLanguageSettings:"Sign language settings",startPlaybackFirst:"Please start playback first.",startPlaybackForAudioDescription:"Please start playback first to use audio description.",startPlaybackForSignLanguage:"Please start playback first to use sign language video.",noChapters:"No chapters available",noCaptions:"No captions available",auto:"Auto",autoQuality:"Auto (no quality selection available)",noQuality:"Quality selection not available",signLanguageDragResize:"Sign Language Video - Press D to drag with keyboard, R to resize",signLanguageDragActive:"Sign Language Video - Drag mode active. Use arrow keys to move, Escape to exit.",signLanguageResizeActive:"Sign Language Video - Resize mode active. Use left/right arrow keys to resize, Escape to exit.",enableSignDragMode:"Enable drag mode. Shortcut: D key",disableSignDragMode:"Disable drag mode. Shortcut: D key",enableSignDragModeAria:"Enable toggle keyboard drag mode with arrow keys. Shortcut: D key",disableSignDragModeAria:"Disable toggle keyboard drag mode with arrow keys. Shortcut: D key",enableSignResizeMode:"Enable resize mode. Shortcut: R key",disableSignResizeMode:"Disable resize mode. Shortcut: R key",enableSignResizeModeAria:"Enable keyboard resize mode with arrow keys. Shortcut: R key",disableSignResizeModeAria:"Disable keyboard resize mode with arrow keys. Shortcut: R key",signDragModeHint:"Drag mode: arrow keys to move, Esc to exit",signResizeModeHint:"Resize mode: arrow keys to resize, Esc to exit",signDragModeDisabled:"Sign language drag mode disabled.",signResizeModeDisabled:"Sign language resize mode disabled.",resizeHandle:"Resize {direction} corner",moreOptions:"More options",noMoreOptions:"No additional options available",playing:"Playing",paused:"Paused",muted:"Muted",unmuted:"Unmuted",captionsOn:"Captions on",captionsOff:"Captions off",volumePercent:"Volume {percent} percent",volumePercentMuted:"Muted",speedRate:"Speed {rate}x"},captions:{off:"Off",select:"Select captions",fontSize:"Font Size",fontFamily:"Font Family",color:"Text Color",backgroundColor:"Background Color",opacity:"Opacity"},fontSizes:{small:"Small",normal:"Normal",large:"Large",xlarge:"X-Large"},fontFamilies:{sansSerif:"Sans-serif",serif:"Serif",monospace:"Monospace"},styleLabels:{textColor:"Text Color",background:"Background",font:"Font",fontSize:"Font Size",opacity:"Opacity"},audioDescription:{enable:"Enable audio description",disable:"Disable audio description"},signLanguage:{show:"Show sign language video",hide:"Hide sign language video",showInMainView:"Show sign language in main video",hideInMainView:"Hide sign language from main video"},transcript:{title:"Transcript",ariaLabel:"Video Transcript",close:"Close transcript",loading:"Loading transcript...",noTranscript:"No transcript available for this video.",settings:"Transcript settings. Press Enter to open menu, or D to enable drag mode",keyboardDragMode:"Toggle keyboard drag mode with arrow keys. Shortcut: D key",keyboardDragActive:"⌨️ Keyboard Drag Mode Active (Arrow keys to move, Shift+Arrows for large steps, D or ESC to exit)",dragResizePrompt:"Press D to drag or R to resize. Use Home to reset position, Esc to close.",dragModeEnabled:"Keyboard drag mode enabled. Use arrow keys to move, Shift+Arrow for larger steps. Press D or Esc to exit.",dragModeDisabled:"Keyboard drag mode disabled.",enableDragMode:"Enable drag mode. Shortcut: D key",disableDragMode:"Disable drag mode. Shortcut: D key",enableDragModeAria:"Enable toggle keyboard drag mode with arrow keys. Shortcut: D key",disableDragModeAria:"Disable toggle keyboard drag mode with arrow keys. Shortcut: D key",resizeWindow:"Resize Window",disableResizeWindow:"Disable Resize Mode",enableResizeMode:"Enable resize mode. Shortcut: R key",disableResizeMode:"Disable resize mode. Shortcut: R key",enableResizeModeAria:"Enable keyboard resize mode with arrow keys. Shortcut: R key",disableResizeModeAria:"Disable keyboard resize mode with arrow keys. Shortcut: R key",resizeModeHint:"Resize handles enabled. Drag edges or corners to adjust. Press Esc or R to exit.",resizeModeEnabled:"Resize mode enabled. Drag edges or corners to adjust. Press Esc or R to exit.",resizeModeDisabled:"Resize mode disabled.",dragModeBadge:"Drag mode: arrow keys to move, Esc to exit",resizeModeBadge:"Resize mode: drag edges or corners, Esc to exit",positionReset:"Transcript position reset.",styleTranscript:"Open transcript style settings",closeMenu:"Close Menu",styleTitle:"Transcript Style",autoscroll:"Autoscroll",settingsMenu:"Transcript dialog settings",showTimestamps:"Show timestamps",hideTimestamps:"Hide timestamps",showTimestampsAria:"Show timestamps in transcript",hideTimestampsAria:"Hide timestamps in transcript",seekTo:"Seek to {time}"},settings:{title:"Settings",quality:"Quality",speed:"Speed",captions:"Captions",language:"Language",reset:"Reset to defaults",close:"Close"},speeds:{normal:"Normal"},time:{display:"Time display",durationPrefix:"Duration: ",of:"of",hour:"{count} hour",hours:"{count} hours",minute:"{count} minute",minutes:"{count} minutes",second:"{count} second",seconds:"{count} seconds"},resume:{prompt:"Resume from {time}?",resume:"Resume",startOver:"Start Over"},playlist:{title:"Playlist",trackOf:"Track {current} of {total}",nowPlaying:"Now playing: Track {current} of {total}. {title}{artist}",by:" by ",untitled:"Untitled",trackUntitled:"Track {number}",currentlyPlaying:"Currently playing",notPlaying:"Not playing",pressEnterPlay:"Press Enter to play",pressEnterRestart:"Press Enter to restart",keyboardInstructions:"Playlist navigation: Use Up and Down arrow keys to move between tracks. Press Page Up or Page Down to skip 5 tracks. Press Home to go to first track, End to go to last track. Press Enter or Space to play the selected track.",endOfPlaylist:"End of playlist. {current} of {total}.",beginningOfPlaylist:"Beginning of playlist. 1 of {total}.",jumpedToLastTrack:"Jumped to last track. {current} of {total}.",jumpedToFirstTrack:"Jumped to first track. 1 of {total}.",firstTrack:"First track. 1 of {total}.",lastTrack:"Last track. {current} of {total}."}},n={de:()=>import("./vidply.de-JMCATTKZ.min.js"),es:()=>import("./vidply.es-YVG37V7Z.min.js"),fr:()=>import("./vidply.fr-OGKGN2R4.min.js"),ja:()=>import("./vidply.ja-Z6DS7QLS.min.js")};function r(){return{en:i}}function l(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function d(e){return s(e)}r();var c=new class{currentLanguage;translations;loadingPromises;builtInLanguageLoaders;constructor(){this.currentLanguage="en",this.translations=Object.create(null),Object.assign(this.translations,r()),this.loadingPromises=new Map,this.builtInLanguageLoaders=n}setLanguage(e){this.translations[e]?this.currentLanguage=e:(console.warn(`Language "${e}" not found, falling back to English`),this.currentLanguage="en")}getLanguage(){return this.currentLanguage}async ensureLanguage(e){const t=(e||"").toLowerCase();if(!t)return this.currentLanguage;if(this.translations[t])return t;if(this.loadingPromises.has(t))return await this.loadingPromises.get(t),this.translations[t]?t:null;if(!this.builtInLanguageLoaders[t])return null;const a=(async()=>{try{const e=await(async e=>{const t=n[e];if(!t)return null;const a=await t();return a[e]||a.default||null})(t);e&&(this.translations[t]=d(e))}catch(e){console.warn(`Language "${t}" failed to load:`,e)}finally{this.loadingPromises.delete(t)}})();return this.loadingPromises.set(t,a),await a,this.translations[t]?t:null}t(e,t={}){const o=e.split(".");let s=this.translations[this.currentLanguage];for(const t of o){if(!s||"object"!=typeof s||!(t in s)){s=this.translations.en;for(const t of o){if(!s||"object"!=typeof s||!(t in s))return e;s=s[t]}break}s=s[t]}if("string"==typeof s){let e=s;for(const[o,s]of Object.entries(t)){if(a(o))continue;const t=l(o);e=e.replace(new RegExp(`\\{${t}\\}`,"g"),String(s))}return e}return"string"==typeof s?s:e}addTranslation(e,t){if(a(e))return void console.warn(`[VidPly] Refusing to register language with forbidden name "${e}"`);this.translations[e]||(this.translations[e]=Object.create(null));const o=d(t);Object.assign(this.translations[e],o)}async loadLanguageFromUrl(e,t,a={}){if(this.loadingPromises.has(t))return this.loadingPromises.get(t);const o=(async()=>{const o=[];a.signal&&o.push(a.signal),"undefined"!=typeof AbortSignal&&"function"==typeof AbortSignal.timeout&&o.push(AbortSignal.timeout(a.timeoutMs??8e3));const s=0===o.length?void 0:1===o.length?o[0]:AbortSignal.any?.(o)??o[0];try{const a=await fetch(t,{signal:s});if(!a.ok)throw new Error(`Failed to load language file: ${a.statusText}`);const o=a.headers.get("content-type")||"";let i;const n=await a.arrayBuffer(),r=new TextDecoder("utf-8").decode(n);if(o.includes("application/json")||t.endsWith(".json"))i=JSON.parse(r);else if(o.includes("text/yaml")||o.includes("application/x-yaml")||t.endsWith(".yaml")||t.endsWith(".yml"))try{i=JSON.parse(r)}catch{if("undefined"==typeof window||!window.jsyaml)throw console.warn("YAML parsing requires js-yaml library. Please include it or use JSON format."),new Error("YAML parsing not available. Please use JSON format or include js-yaml library.");i=window.jsyaml.load(r)}else i=JSON.parse(r);return this.addTranslation(e,i),i}catch(e){throw console.error(`Error loading language file from ${t}:`,e),e}finally{this.loadingPromises.delete(t)}})();return this.loadingPromises.set(t,o),o}async loadLanguagesFromUrls(e,t={}){const a=Object.entries(e).map(([e,a])=>this.loadLanguageFromUrl(e,a,t));await Promise.all(a)}};export{e as DOMUtils,a as isForbiddenKey,o as shallowSanitize,c as i18n};
6
+ var e={createElement(e,t={}){const a=document.createElement(e);if(t.className&&(a.className=t.className),t.attributes)for(const[e,o]of Object.entries(t.attributes))void 0!==o&&a.setAttribute(e,o);if(t.textContent&&(a.textContent=t.textContent),t.style&&Object.assign(a.style,t.style),t.children)for(const e of t.children)e&&a.appendChild(e);return a},show(e){e?.style&&(e.style.display="")},hide(e){e?.style&&(e.style.display="none")},fadeIn(e,t=300,a){if(e&&(e.style.opacity="0",e.style.display="",e.style.transition=`opacity ${t}ms ease`,e.style.opacity="1",a)){let o=!1;const s=()=>{o||(o=!0,e.removeEventListener("transitionend",s),a())};e.addEventListener("transitionend",s,{once:!0}),setTimeout(s,t+50)}},fadeOut(e,t=300,a){if(!e)return;e.style.transition=`opacity ${t}ms ease`,e.style.opacity="0";let o=!1;const s=()=>{o||(o=!0,e.removeEventListener("transitionend",s),e.style.display="none",a&&a())};e.addEventListener("transitionend",s,{once:!0}),setTimeout(s,t+50)},offset(e){if(!e)return{top:0,left:0,width:0,height:0};const t=e.getBoundingClientRect();return{top:t.top+window.scrollY,left:t.left+window.scrollX,width:t.width,height:t.height}},escapeHTML(e){const t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"};return e.replace(/[&<>"']/g,e=>t[e]??e)},renderVTTToDOM(e){const t=e.length>1e4?e.slice(0,1e4):e,a=document.createDocumentFragment(),o=[],s=e=>{(o[o.length-1]??a).appendChild(e)},i=/<(\/)?([a-z])(?:\.([\w.-]{1,200}))?(?:\s+([^<>]{0,500}))?>/i;let r=0;for(;r<t.length;){const e=t.slice(r),a=i.exec(e);if(!a||void 0===a.index){s(document.createTextNode(e));break}a.index>0&&s(document.createTextNode(e.slice(0,a.index)));const[,n,l,d,c]=a,g=(l||"").toLowerCase();if(n){const e=o[o.length-1];e&&e.dataset.vttTag===g&&o.pop()}else if("b"===g||"i"===g||"u"===g){const e=document.createElement("b"===g?"strong":"i"===g?"em":"u");e.dataset.vttTag=g,s(e),o.push(e)}else if("c"===g){const e=document.createElement("span");if(e.dataset.vttTag=g,e.classList.add("caption-class"),d)for(const t of d.split(".").filter(Boolean))/^[\w-]+$/.test(t)&&e.classList.add(`caption-class-${t}`);s(e),o.push(e)}else if("v"===g){const e=document.createElement("span");e.dataset.vttTag=g,e.classList.add("caption-voice"),c&&(e.dataset.voice=c.trim().slice(0,200)),s(e),o.push(e)}else s(document.createTextNode(a[0]));r+=a.index+a[0].length}return a},createTooltip(e,t="vidply"){return this.createElement("span",{className:`${t}-tooltip`,textContent:e,attributes:{"aria-hidden":"true"}})},attachTooltip(e,t,a="vidply"){if(!e||!t)return;e.querySelector(`.${a}-tooltip`)?.remove();const o=this.createTooltip(t,a);e.appendChild(o);const s=`${a}-tooltip-visible`,i=()=>o.classList.add(s),r=()=>o.classList.remove(s);e.addEventListener("mouseenter",i),e.addEventListener("mouseleave",r),e.addEventListener("focus",i),e.addEventListener("blur",r)},createButtonText(e,t="vidply"){return this.createElement("span",{className:`${t}-button-text`,textContent:e,attributes:{"aria-hidden":"true"}})},addClass(e,t){e?.classList?.add(t)},removeClass(e,t){e?.classList?.remove(t)},toggleClass(e,t){e?.classList?.toggle(t)},hasClass(e,t){return e?.classList?.contains(t)??!1}},t=Object.freeze(new Set(["__proto__","prototype","constructor"]));function a(e){return t.has(String(e))}function o(e){const t=Object.create(null);for(const[o,s]of Object.entries(e))a(o)||(t[o]=s);return t}function s(e){if(!e||"object"!=typeof e||Array.isArray(e))return e&&"object"==typeof e?e:Object.create(null);const t=Object.create(null);for(const[o,i]of Object.entries(e))a(o)||(t[o]=i&&"object"==typeof i&&!Array.isArray(i)?s(i):i);return t}var i={player:{label:"Video Player",play:"Play",pause:"Pause",stop:"Stop",restart:"Restart from beginning",rewind:"Rewind",forward:"Forward",rewindSeconds:"Rewind {seconds} seconds",forwardSeconds:"Forward {seconds} seconds",previous:"Previous track",next:"Next track",playlist:"Toggle playlist",volume:"Volume",mute:"Mute",unmute:"Unmute",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",captions:"Captions",chapters:"Chapters",quality:"Quality",captionStyling:"Caption styling",transcript:"Toggle transcript",audioDescription:"Audio description",signLanguage:"Sign language video",settings:"Settings",speed:"Playback Speed",pip:"Picture in Picture",floatingPlayer:"Floating player",floatingPlayerClose:"Close floating player",floatingPlayerEnter:"Pop out video",floatingPlayerExit:"Dock video",floatingPlayerDialog:"Floating video player. Press D to drag, R to resize, Escape to close.",download:"Download",downloadWithFormat:"Download {format}",downloadWithSize:"Download ({size})",downloadWithFormatSize:"Download {format} ({size})",currentTime:"Current time",duration:"Duration",progress:"Progress",seekForward:"Seek forward {seconds} seconds",seekBackward:"Seek backward {seconds} seconds",volumeUp:"Volume up",volumeDown:"Volume down",loading:"Loading...",loadingChapters:"Loading chapters...",error:"Error loading media",buffering:"Buffering...",signLanguageVideo:"Sign Language Video",closeSignLanguage:"Close sign language video",signLanguageSettings:"Sign language settings",startPlaybackFirst:"Please start playback first.",startPlaybackForAudioDescription:"Please start playback first to use audio description.",startPlaybackForSignLanguage:"Please start playback first to use sign language video.",noChapters:"No chapters available",noCaptions:"No captions available",auto:"Auto",autoQuality:"Auto (no quality selection available)",noQuality:"Quality selection not available",signLanguageDragResize:"Sign Language Video - Press D to drag with keyboard, R to resize",signLanguageDragActive:"Sign Language Video - Drag mode active. Use arrow keys to move, Escape to exit.",signLanguageResizeActive:"Sign Language Video - Resize mode active. Use left/right arrow keys to resize, Escape to exit.",enableSignDragMode:"Enable drag mode. Shortcut: D key",disableSignDragMode:"Disable drag mode. Shortcut: D key",enableSignDragModeAria:"Enable toggle keyboard drag mode with arrow keys. Shortcut: D key",disableSignDragModeAria:"Disable toggle keyboard drag mode with arrow keys. Shortcut: D key",enableSignResizeMode:"Enable resize mode. Shortcut: R key",disableSignResizeMode:"Disable resize mode. Shortcut: R key",enableSignResizeModeAria:"Enable keyboard resize mode with arrow keys. Shortcut: R key",disableSignResizeModeAria:"Disable keyboard resize mode with arrow keys. Shortcut: R key",signDragModeHint:"Drag mode: arrow keys to move, Esc to exit",signResizeModeHint:"Resize mode: arrow keys to resize, Esc to exit",signDragModeDisabled:"Sign language drag mode disabled.",signResizeModeDisabled:"Sign language resize mode disabled.",resizeHandle:"Resize {direction} corner",moreOptions:"More options",noMoreOptions:"No additional options available",playing:"Playing",paused:"Paused",muted:"Muted",unmuted:"Unmuted",captionsOn:"Captions on",captionsOff:"Captions off",volumePercent:"Volume {percent} percent",volumePercentMuted:"Muted",speedRate:"Speed {rate}x"},captions:{off:"Off",select:"Select captions",fontSize:"Font Size",fontFamily:"Font Family",color:"Text Color",backgroundColor:"Background Color",opacity:"Opacity"},fontSizes:{small:"Small",normal:"Normal",large:"Large",xlarge:"X-Large"},fontFamilies:{sansSerif:"Sans-serif",serif:"Serif",monospace:"Monospace"},styleLabels:{textColor:"Text Color",background:"Background",font:"Font",fontSize:"Font Size",opacity:"Opacity"},audioDescription:{enable:"Enable audio description",disable:"Disable audio description"},signLanguage:{show:"Show sign language video",hide:"Hide sign language video",showInMainView:"Show sign language in main video",hideInMainView:"Hide sign language from main video"},transcript:{title:"Transcript",ariaLabel:"Video Transcript",close:"Close transcript",loading:"Loading transcript...",noTranscript:"No transcript available for this video.",settings:"Transcript settings. Press Enter to open menu, or D to enable drag mode",keyboardDragMode:"Toggle keyboard drag mode with arrow keys. Shortcut: D key",keyboardDragActive:"⌨️ Keyboard Drag Mode Active (Arrow keys to move, Shift+Arrows for large steps, D or ESC to exit)",dragResizePrompt:"Press D to drag or R to resize. Use Home to reset position, Esc to close.",dragModeEnabled:"Keyboard drag mode enabled. Use arrow keys to move, Shift+Arrow for larger steps. Press D or Esc to exit.",dragModeDisabled:"Keyboard drag mode disabled.",enableDragMode:"Enable drag mode. Shortcut: D key",disableDragMode:"Disable drag mode. Shortcut: D key",enableDragModeAria:"Enable toggle keyboard drag mode with arrow keys. Shortcut: D key",disableDragModeAria:"Disable toggle keyboard drag mode with arrow keys. Shortcut: D key",resizeWindow:"Resize Window",disableResizeWindow:"Disable Resize Mode",enableResizeMode:"Enable resize mode. Shortcut: R key",disableResizeMode:"Disable resize mode. Shortcut: R key",enableResizeModeAria:"Enable keyboard resize mode with arrow keys. Shortcut: R key",disableResizeModeAria:"Disable keyboard resize mode with arrow keys. Shortcut: R key",resizeModeHint:"Resize handles enabled. Drag edges or corners to adjust. Press Esc or R to exit.",resizeModeEnabled:"Resize mode enabled. Drag edges or corners to adjust. Press Esc or R to exit.",resizeModeDisabled:"Resize mode disabled.",dragModeBadge:"Drag mode: arrow keys to move, Esc to exit",resizeModeBadge:"Resize mode: drag edges or corners, Esc to exit",positionReset:"Transcript position reset.",styleTranscript:"Open transcript style settings",closeMenu:"Close Menu",styleTitle:"Transcript Style",autoscroll:"Autoscroll",settingsMenu:"Transcript dialog settings",showTimestamps:"Show timestamps",hideTimestamps:"Hide timestamps",showTimestampsAria:"Show timestamps in transcript",hideTimestampsAria:"Hide timestamps in transcript",seekTo:"Seek to {time}"},settings:{title:"Settings",quality:"Quality",speed:"Speed",captions:"Captions",language:"Language",reset:"Reset to defaults",close:"Close"},help:{title:"Keyboard shortcuts",button:"Keyboard shortcuts",close:"Close",or:"or",keys:{space:"Space"},actions:{"play-pause":"Play / Pause","seek-backward":"Seek backward","seek-forward":"Seek forward","volume-up":"Volume up","volume-down":"Volume down",mute:"Mute / Unmute",captions:"Toggle captions","caption-style-menu":"Caption styling","speed-down":"Decrease speed","speed-up":"Increase speed","speed-menu":"Playback speed","quality-menu":"Quality","chapters-menu":"Chapters","transcript-toggle":"Toggle transcript",fullscreen:"Toggle fullscreen",help:"Keyboard shortcuts"}},speeds:{normal:"Normal"},time:{display:"Time display",durationPrefix:"Duration: ",of:"of",hour:"{count} hour",hours:"{count} hours",minute:"{count} minute",minutes:"{count} minutes",second:"{count} second",seconds:"{count} seconds"},resume:{prompt:"Resume from {time}?",resume:"Resume",startOver:"Start Over"},playlist:{title:"Playlist",trackOf:"Track {current} of {total}",nowPlaying:"Now playing: Track {current} of {total}. {title}{artist}",by:" by ",untitled:"Untitled",trackUntitled:"Track {number}",currentlyPlaying:"Currently playing",notPlaying:"Not playing",pressEnterPlay:"Press Enter to play",pressEnterRestart:"Press Enter to restart",keyboardInstructions:"Playlist navigation: Use Up and Down arrow keys to move between tracks. Press Page Up or Page Down to skip 5 tracks. Press Home to go to first track, End to go to last track. Press Enter or Space to play the selected track.",endOfPlaylist:"End of playlist. {current} of {total}.",beginningOfPlaylist:"Beginning of playlist. 1 of {total}.",jumpedToLastTrack:"Jumped to last track. {current} of {total}.",jumpedToFirstTrack:"Jumped to first track. 1 of {total}.",firstTrack:"First track. 1 of {total}.",lastTrack:"Last track. {current} of {total}."}},r={de:()=>import("./vidply.de-UZHFCEZU.min.js"),es:()=>import("./vidply.es-BOISUV2S.min.js"),fr:()=>import("./vidply.fr-ICSMKPFM.min.js"),ja:()=>import("./vidply.ja-VQ2HKGAY.min.js")};function n(){return{en:i}}function l(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function d(e){return s(e)}n();var c=new class{currentLanguage;translations;loadingPromises;builtInLanguageLoaders;constructor(){this.currentLanguage="en",this.translations=Object.create(null),Object.assign(this.translations,n()),this.loadingPromises=new Map,this.builtInLanguageLoaders=r}setLanguage(e){this.translations[e]?this.currentLanguage=e:(console.warn(`Language "${e}" not found, falling back to English`),this.currentLanguage="en")}getLanguage(){return this.currentLanguage}async ensureLanguage(e){const t=(e||"").toLowerCase();if(!t)return this.currentLanguage;if(this.translations[t])return t;if(this.loadingPromises.has(t))return await this.loadingPromises.get(t),this.translations[t]?t:null;if(!this.builtInLanguageLoaders[t])return null;const a=(async()=>{try{const e=await(async e=>{const t=r[e];if(!t)return null;const a=await t();return a[e]||a.default||null})(t);e&&(this.translations[t]=d(e))}catch(e){console.warn(`Language "${t}" failed to load:`,e)}finally{this.loadingPromises.delete(t)}})();return this.loadingPromises.set(t,a),await a,this.translations[t]?t:null}t(e,t={}){const o=e.split(".");let s=this.translations[this.currentLanguage];for(const t of o){if(!s||"object"!=typeof s||!(t in s)){s=this.translations.en;for(const t of o){if(!s||"object"!=typeof s||!(t in s))return e;s=s[t]}break}s=s[t]}if("string"==typeof s){let e=s;for(const[o,s]of Object.entries(t)){if(a(o))continue;const t=l(o);e=e.replace(new RegExp(`\\{${t}\\}`,"g"),String(s))}return e}return"string"==typeof s?s:e}addTranslation(e,t){if(a(e))return void console.warn(`[VidPly] Refusing to register language with forbidden name "${e}"`);this.translations[e]||(this.translations[e]=Object.create(null));const o=d(t);Object.assign(this.translations[e],o)}async loadLanguageFromUrl(e,t,a={}){if(this.loadingPromises.has(t))return this.loadingPromises.get(t);const o=(async()=>{const o=[];a.signal&&o.push(a.signal),"undefined"!=typeof AbortSignal&&"function"==typeof AbortSignal.timeout&&o.push(AbortSignal.timeout(a.timeoutMs??8e3));const s=0===o.length?void 0:1===o.length?o[0]:AbortSignal.any?.(o)??o[0];try{const a=await fetch(t,{signal:s});if(!a.ok)throw new Error(`Failed to load language file: ${a.statusText}`);const o=a.headers.get("content-type")||"";let i;const r=await a.arrayBuffer(),n=new TextDecoder("utf-8").decode(r);if(o.includes("application/json")||t.endsWith(".json"))i=JSON.parse(n);else if(o.includes("text/yaml")||o.includes("application/x-yaml")||t.endsWith(".yaml")||t.endsWith(".yml"))try{i=JSON.parse(n)}catch{if("undefined"==typeof window||!window.jsyaml)throw console.warn("YAML parsing requires js-yaml library. Please include it or use JSON format."),new Error("YAML parsing not available. Please use JSON format or include js-yaml library.");i=window.jsyaml.load(n)}else i=JSON.parse(n);return this.addTranslation(e,i),i}catch(e){throw console.error(`Error loading language file from ${t}:`,e),e}finally{this.loadingPromises.delete(t)}})();return this.loadingPromises.set(t,o),o}async loadLanguagesFromUrls(e,t={}){const a=Object.entries(e).map(([e,a])=>this.loadLanguageFromUrl(e,a,t));await Promise.all(a)}};export{e as DOMUtils,a as isForbiddenKey,o as shallowSanitize,c as i18n};
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
6
- import{i18n as t}from"./vidply.chunk-6ECBIYVI.min.js";var r={formatTime(t,r=!1){if(!isFinite(t)||t<0)return r?"00:00:00":"00:00";const o=Math.floor(t/3600),e=Math.floor(t%3600/60),n=Math.floor(t%60),i=t=>String(t).padStart(2,"0");return o>0||r?`${i(o)}:${i(e)}:${i(n)}`:`${i(e)}:${i(n)}`},parseTime(t){const r=t.split(":").map(t=>parseInt(t,10));return 3===r.length?3600*(r[0]??0)+60*(r[1]??0)+(r[2]??0):2===r.length?60*(r[0]??0)+(r[1]??0):1===r.length?r[0]??0:0},formatDuration(r){if(!isFinite(r)||r<0)return t.t("time.seconds",{count:0});const o=Math.floor(r/3600),e=Math.floor(r%3600/60),n=Math.floor(r%60),i=[];return o>0&&i.push(t.t(1===o?"time.hour":"time.hours",{count:o})),e>0&&i.push(t.t(1===e?"time.minute":"time.minutes",{count:e})),(n>0||0===i.length)&&i.push(t.t(1===n?"time.second":"time.seconds",{count:n})),i.join(", ")},formatPercentage(t,r){return 0===r?0:Math.round(t/r*100)}};export{r as TimeUtils};
6
+ import{i18n as t}from"./vidply.chunk-QQZGV7TD.min.js";var r={formatTime(t,r=!1){if(!isFinite(t)||t<0)return r?"00:00:00":"00:00";const o=Math.floor(t/3600),e=Math.floor(t%3600/60),n=Math.floor(t%60),i=t=>String(t).padStart(2,"0");return o>0||r?`${i(o)}:${i(e)}:${i(n)}`:`${i(e)}:${i(n)}`},parseTime(t){const r=t.split(":").map(t=>parseInt(t,10));return 3===r.length?3600*(r[0]??0)+60*(r[1]??0)+(r[2]??0):2===r.length?60*(r[0]??0)+(r[1]??0):1===r.length?r[0]??0:0},formatDuration(r){if(!isFinite(r)||r<0)return t.t("time.seconds",{count:0});const o=Math.floor(r/3600),e=Math.floor(r%3600/60),n=Math.floor(r%60),i=[];return o>0&&i.push(t.t(1===o?"time.hour":"time.hours",{count:o})),e>0&&i.push(t.t(1===e?"time.minute":"time.minutes",{count:e})),(n>0||0===i.length)&&i.push(t.t(1===n?"time.second":"time.seconds",{count:n})),i.join(", ")},formatPercentage(t,r){return 0===r?0:Math.round(t/r*100)}};export{r as TimeUtils};
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
6
- import{i18n as e,shallowSanitize as t}from"./vidply.chunk-6ECBIYVI.min.js";function r(e,t,r){return Number.isFinite(e)?e<t?t:e>r?r:e:t}function n(e){return"number"==typeof e&&Number.isFinite(e)&&e>=0}function s(e){if(!e||"object"!=typeof e)return!1;const t=e;return n(t.currentTime)&&n(t.duration)&&"number"==typeof t.percentage&&Number.isFinite(t.percentage)&&"number"==typeof t.updatedAt&&Number.isFinite(t.updatedAt)}var a=class e{namespace;storage;static MAX_WATCH_PROGRESS_ENTRIES=100;constructor(e="vidply"){this.namespace=e,this.storage=this.isStorageAvailable()?localStorage:null}isStorageAvailable(){try{if("undefined"==typeof localStorage)return!1;const e="__storage_test__";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch{return!1}}getKey(e){return`${this.namespace}_${e}`}set(e,t){if(!this.storage)return!1;try{const r=this.getKey(e);return this.storage.setItem(r,JSON.stringify(t)),!0}catch(e){return console.warn("Failed to save to localStorage:",e),!1}}get(e,t=null,r){if(!this.storage)return t;try{const n=this.getKey(e),s=this.storage.getItem(n);if(null===s)return t;const a=JSON.parse(s);return r&&!r(a)?(console.warn(`[VidPly] Discarding malformed localStorage payload for "${e}"`),t):a}catch(e){return console.warn("Failed to read from localStorage:",e),t}}remove(e){if(!this.storage)return!1;try{const t=this.getKey(e);return this.storage.removeItem(t),!0}catch(e){return console.warn("Failed to remove from localStorage:",e),!1}}clear(){if(!this.storage)return!1;try{const e=this.storage;return Object.keys(e).forEach(t=>{t.startsWith(this.namespace)&&e.removeItem(t)}),!0}catch(e){return console.warn("Failed to clear localStorage:",e),!1}}saveTranscriptPreferences(e){return this.set("transcript_preferences",t(e))}getTranscriptPreferences(){return this.get("transcript_preferences",null,o)}saveCaptionPreferences(e){return this.set("caption_preferences",t(e))}getCaptionPreferences(){return this.get("caption_preferences",null,o)}savePlayerPreferences(e){const n=t(e);return"number"==typeof n.volume&&(n.volume=r(n.volume,0,1)),"number"==typeof n.playbackSpeed&&(n.playbackSpeed=r(n.playbackSpeed,.1,4)),this.set("player_preferences",n)}getPlayerPreferences(){const e=this.get("player_preferences",null,o);return e?("number"==typeof e.volume&&(e.volume=r(e.volume,0,1)),"number"==typeof e.playbackSpeed&&(e.playbackSpeed=r(e.playbackSpeed,.1,4)),e):null}saveSignLanguagePreferences(e){return this.set("sign_language_preferences",t(e))}getSignLanguagePreferences(){return this.get("sign_language_preferences",null,o)}saveFloatingPreferences(e){return this.set("floating_preferences",t(e))}getFloatingPreferences(){return this.get("floating_preferences",null,o)}saveWatchProgress(t,n,s){if("string"!=typeof t||!t)return!1;if(!Number.isFinite(n)||!Number.isFinite(s)||s<=0)return!1;const a=r(s,.001,86400),o=r(n,0,a),i=this.get("watch_progress",Object.create(null),c)??Object.create(null);i[t]={currentTime:o,duration:a,percentage:r(o/a*100,0,100),updatedAt:Date.now()};const l=Object.entries(i);if(l.length>e.MAX_WATCH_PROGRESS_ENTRIES){l.sort((e,t)=>e[1].updatedAt-t[1].updatedAt);const t=l.length-e.MAX_WATCH_PROGRESS_ENTRIES;for(let e=0;e<t;e++){const t=l[e];t&&delete i[t[0]]}}return this.set("watch_progress",i)}getWatchProgress(e){if(!e)return null;const t=(this.get("watch_progress",Object.create(null),c)??Object.create(null))[e];return t&&s(t)?t:null}clearWatchProgress(e){if(!e)return!1;const t=this.get("watch_progress",Object.create(null),c)??Object.create(null);return!t[e]||(delete t[e],this.set("watch_progress",t))}};function o(e){return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)}function c(e){if(!o(e))return!1;for(const t of Object.values(e))if(!s(t))return!1;return!0}function i(t,r,n="player.captions"){const s=(t??"").trim(),a=(r??"").trim();if(""!==s&&!/^\d+$/.test(s)&&!/^(null|undefined)$/i.test(s))return s;if(""!==a&&!/^(null|undefined)$/i.test(a)){try{const e=new Intl.DisplayNames([a,"en"],{type:"language"}).of(a);if(e&&e.toLowerCase()!==a.toLowerCase())return e}catch{}return a.toUpperCase()}return e.t(n)}export{a as StorageManager,i as deriveTrackLabel};
6
+ import{i18n as e,shallowSanitize as t}from"./vidply.chunk-QQZGV7TD.min.js";function r(e,t,r){return Number.isFinite(e)?e<t?t:e>r?r:e:t}function n(e){return"number"==typeof e&&Number.isFinite(e)&&e>=0}function s(e){if(!e||"object"!=typeof e)return!1;const t=e;return n(t.currentTime)&&n(t.duration)&&"number"==typeof t.percentage&&Number.isFinite(t.percentage)&&"number"==typeof t.updatedAt&&Number.isFinite(t.updatedAt)}var a=class e{namespace;storage;static MAX_WATCH_PROGRESS_ENTRIES=100;constructor(e="vidply"){this.namespace=e,this.storage=this.isStorageAvailable()?localStorage:null}isStorageAvailable(){try{if("undefined"==typeof localStorage)return!1;const e="__storage_test__";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch{return!1}}getKey(e){return`${this.namespace}_${e}`}set(e,t){if(!this.storage)return!1;try{const r=this.getKey(e);return this.storage.setItem(r,JSON.stringify(t)),!0}catch(e){return console.warn("Failed to save to localStorage:",e),!1}}get(e,t=null,r){if(!this.storage)return t;try{const n=this.getKey(e),s=this.storage.getItem(n);if(null===s)return t;const a=JSON.parse(s);return r&&!r(a)?(console.warn(`[VidPly] Discarding malformed localStorage payload for "${e}"`),t):a}catch(e){return console.warn("Failed to read from localStorage:",e),t}}remove(e){if(!this.storage)return!1;try{const t=this.getKey(e);return this.storage.removeItem(t),!0}catch(e){return console.warn("Failed to remove from localStorage:",e),!1}}clear(){if(!this.storage)return!1;try{const e=this.storage;return Object.keys(e).forEach(t=>{t.startsWith(this.namespace)&&e.removeItem(t)}),!0}catch(e){return console.warn("Failed to clear localStorage:",e),!1}}saveTranscriptPreferences(e){return this.set("transcript_preferences",t(e))}getTranscriptPreferences(){return this.get("transcript_preferences",null,o)}saveCaptionPreferences(e){return this.set("caption_preferences",t(e))}getCaptionPreferences(){return this.get("caption_preferences",null,o)}savePlayerPreferences(e){const n=t(e);return"number"==typeof n.volume&&(n.volume=r(n.volume,0,1)),"number"==typeof n.playbackSpeed&&(n.playbackSpeed=r(n.playbackSpeed,.1,4)),this.set("player_preferences",n)}getPlayerPreferences(){const e=this.get("player_preferences",null,o);return e?("number"==typeof e.volume&&(e.volume=r(e.volume,0,1)),"number"==typeof e.playbackSpeed&&(e.playbackSpeed=r(e.playbackSpeed,.1,4)),e):null}saveSignLanguagePreferences(e){return this.set("sign_language_preferences",t(e))}getSignLanguagePreferences(){return this.get("sign_language_preferences",null,o)}saveFloatingPreferences(e){return this.set("floating_preferences",t(e))}getFloatingPreferences(){return this.get("floating_preferences",null,o)}saveWatchProgress(t,n,s){if("string"!=typeof t||!t)return!1;if(!Number.isFinite(n)||!Number.isFinite(s)||s<=0)return!1;const a=r(s,.001,86400),o=r(n,0,a),i=this.get("watch_progress",Object.create(null),c)??Object.create(null);i[t]={currentTime:o,duration:a,percentage:r(o/a*100,0,100),updatedAt:Date.now()};const l=Object.entries(i);if(l.length>e.MAX_WATCH_PROGRESS_ENTRIES){l.sort((e,t)=>e[1].updatedAt-t[1].updatedAt);const t=l.length-e.MAX_WATCH_PROGRESS_ENTRIES;for(let e=0;e<t;e++){const t=l[e];t&&delete i[t[0]]}}return this.set("watch_progress",i)}getWatchProgress(e){if(!e)return null;const t=(this.get("watch_progress",Object.create(null),c)??Object.create(null))[e];return t&&s(t)?t:null}clearWatchProgress(e){if(!e)return!1;const t=this.get("watch_progress",Object.create(null),c)??Object.create(null);return!t[e]||(delete t[e],this.set("watch_progress",t))}};function o(e){return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)}function c(e){if(!o(e))return!1;for(const t of Object.values(e))if(!s(t))return!1;return!0}function i(t,r,n="player.captions"){const s=(t??"").trim(),a=(r??"").trim();if(""!==s&&!/^\d+$/.test(s)&&!/^(null|undefined)$/i.test(s))return s;if(""!==a&&!/^(null|undefined)$/i.test(a)){try{const e=new Intl.DisplayNames([a,"en"],{type:"language"}).of(a);if(e&&e.toLowerCase()!==a.toLowerCase())return e}catch{}return a.toUpperCase()}return e.t(n)}export{a as StorageManager,i as deriveTrackLabel};
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
6
- var e={player:{label:"Videoplayer",play:"Abspielen",pause:"Pause",stop:"Stopp",restart:"Von vorne beginnen",rewind:"Zurückspulen",forward:"Vorspulen",rewindSeconds:"{seconds} Sekunden zurückspulen",forwardSeconds:"{seconds} Sekunden vorspulen",previous:"Vorheriger Titel",next:"Nächster Titel",playlist:"Wiedergabeliste umschalten",volume:"Lautstärke",mute:"Stumm",unmute:"Ton ein",fullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",captions:"Untertitel",chapters:"Kapitel",quality:"Qualität",captionStyling:"Untertitel-Stil",transcript:"Transkript umschalten",audioDescription:"Audiodeskription",signLanguage:"Gebärdensprache-Video",settings:"Einstellungen",speed:"Wiedergabegeschwindigkeit",pip:"Bild-in-Bild",floatingPlayer:"Schwebender Player",floatingPlayerClose:"Schwebenden Player schließen",floatingPlayerEnter:"Video ausklappen",floatingPlayerExit:"Video andocken",floatingPlayerDialog:"Schwebender Videoplayer. D zum Verschieben, R zum Größenändern, Escape zum Schließen.",download:"Herunterladen",downloadWithFormat:"Herunterladen {format}",downloadWithSize:"Herunterladen ({size})",downloadWithFormatSize:"Herunterladen {format} ({size})",currentTime:"Aktuelle Zeit",duration:"Dauer",progress:"Fortschritt",seekForward:"{seconds} Sekunden vorspulen",seekBackward:"{seconds} Sekunden zurückspulen",volumeUp:"Lauter",volumeDown:"Leiser",loading:"Lädt...",loadingChapters:"Kapitel werden geladen...",error:"Fehler beim Laden",buffering:"Puffern...",signLanguageVideo:"Gebärdensprache-Video",closeSignLanguage:"Gebärdensprache-Video schließen",signLanguageSettings:"Gebärdensprache-Einstellungen",startPlaybackFirst:"Bitte starten Sie die Wiedergabe zuerst.",startPlaybackForAudioDescription:"Bitte starten Sie die Wiedergabe zuerst, um die Audiodeskription zu nutzen.",startPlaybackForSignLanguage:"Bitte starten Sie die Wiedergabe zuerst, um das Gebärdensprache-Video zu nutzen.",noChapters:"Keine Kapitel verfügbar",noCaptions:"Keine Untertitel verfügbar",auto:"Automatisch",autoQuality:"Automatisch (keine Qualitätsauswahl verfügbar)",noQuality:"Qualitätsauswahl nicht verfügbar",signLanguageDragResize:"Gebärdensprache-Video - Drücken Sie D zum Verschieben per Tastatur, R zum Ändern der Größe",signLanguageDragActive:"Gebärdensprache-Video - Verschiebemodus aktiv. Pfeiltasten zum Bewegen, Escape zum Beenden.",signLanguageResizeActive:"Gebärdensprache-Video - Größenänderungsmodus aktiv. Links-/Rechts-Pfeiltasten zum Ändern der Größe, Escape zum Beenden.",enableSignDragMode:"Verschiebemodus aktivieren. Tastenkombination: D-Taste",disableSignDragMode:"Verschiebemodus deaktivieren. Tastenkombination: D-Taste",enableSignDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten aktivieren. Tastenkombination: D-Taste",disableSignDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten deaktivieren. Tastenkombination: D-Taste",enableSignResizeMode:"Größenänderungsmodus aktivieren. Tastenkombination: R-Taste",disableSignResizeMode:"Größenänderungsmodus deaktivieren. Tastenkombination: R-Taste",enableSignResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten aktivieren. Tastenkombination: R-Taste",disableSignResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten deaktivieren. Tastenkombination: R-Taste",signDragModeHint:"Verschiebemodus: Pfeiltasten zum Bewegen, Esc zum Beenden",signResizeModeHint:"Größenänderungsmodus: Pfeiltasten zum Ändern, Esc zum Beenden",signDragModeDisabled:"Verschiebemodus für Gebärdensprache-Video deaktiviert.",signResizeModeDisabled:"Größenänderungsmodus für Gebärdensprache-Video deaktiviert.",resizeHandle:"Größenänderung {direction}-Ecke",moreOptions:"Weitere Optionen",noMoreOptions:"Keine weiteren Optionen verfügbar",playing:"Wird abgespielt",paused:"Pausiert",muted:"Stummgeschaltet",unmuted:"Ton an",captionsOn:"Untertitel an",captionsOff:"Untertitel aus",volumePercent:"Lautstärke {percent} Prozent",volumePercentMuted:"Stummgeschaltet",speedRate:"Geschwindigkeit {rate}x"},captions:{off:"Aus",select:"Untertitel auswählen",fontSize:"Schriftgröße",fontFamily:"Schriftart",color:"Textfarbe",backgroundColor:"Hintergrundfarbe",opacity:"Deckkraft"},fontSizes:{small:"Klein",normal:"Normal",large:"Groß",xlarge:"Sehr groß"},fontFamilies:{sansSerif:"Sans-serif",serif:"Serif",monospace:"Monospace"},styleLabels:{textColor:"Textfarbe",background:"Hintergrund",font:"Schrift",fontSize:"Schriftgröße",opacity:"Deckkraft"},audioDescription:{enable:"Audiodeskription aktivieren",disable:"Audiodeskription deaktivieren"},signLanguage:{show:"Gebärdensprache-Video anzeigen",hide:"Gebärdensprache-Video ausblenden",showInMainView:"Gebärdensprache im Hauptvideo anzeigen",hideInMainView:"Gebärdensprache aus Hauptvideo entfernen"},transcript:{title:"Transkript",ariaLabel:"Video-Transkript",close:"Transkript schließen",loading:"Transkript wird geladen...",noTranscript:"Kein Transkript für dieses Video verfügbar.",settings:"Transkript-Einstellungen. Eingabetaste zum Öffnen des Menüs drücken oder D zum Aktivieren des Verschiebemodus",keyboardDragMode:"Tastatur-Verschiebemodus mit Pfeiltasten umschalten. Tastenkombination: D-Taste",keyboardDragActive:"⌨️ Tastatur-Verschiebemodus aktiv (Pfeiltasten zum Bewegen, Umschalt+Pfeiltasten für große Schritte, D oder ESC zum Beenden)",dragResizePrompt:"Drücken Sie D zum Verschieben oder R zur Größenänderung. Home setzt die Position zurück, Esc schließt.",dragModeEnabled:"Tastatur-Verschiebemodus aktiviert. Pfeiltasten zum Bewegen, Umschalt+Pfeiltasten für größere Schritte. D oder Esc zum Beenden.",dragModeDisabled:"Tastatur-Verschiebemodus deaktiviert.",enableDragMode:"Verschiebemodus aktivieren. Tastenkombination: D-Taste",disableDragMode:"Verschiebemodus deaktivieren. Tastenkombination: D-Taste",enableDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten aktivieren. Tastenkombination: D-Taste",disableDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten deaktivieren. Tastenkombination: D-Taste",resizeWindow:"Fenster vergrößern/verkleinern",disableResizeWindow:"Resize-Modus deaktivieren",enableResizeMode:"Größenänderungsmodus aktivieren. Tastenkombination: R-Taste",disableResizeMode:"Größenänderungsmodus deaktivieren. Tastenkombination: R-Taste",enableResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten aktivieren. Tastenkombination: R-Taste",disableResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten deaktivieren. Tastenkombination: R-Taste",resizeModeHint:"Griffe aktiviert. Ziehen Sie Kanten oder Ecken zum Anpassen. Esc oder R zum Beenden.",resizeModeEnabled:"Resize-Modus aktiviert. Kanten oder Ecken ziehen; Esc oder R beendet.",resizeModeDisabled:"Resize-Modus deaktiviert.",dragModeBadge:"Verschiebemodus: Pfeiltasten zum Bewegen, Esc zum Beenden",resizeModeBadge:"Resize-Modus: Kanten oder Ecken ziehen, Esc zum Beenden",positionReset:"Transkriptposition zurückgesetzt.",styleTranscript:"Transkript-Stileinstellungen öffnen",closeMenu:"Menü schließen",styleTitle:"Transkript-Stil",autoscroll:"Auto-Scroll",settingsMenu:"Transkript-Dialog-Einstellungen",showTimestamps:"Zeitstempel anzeigen",hideTimestamps:"Zeitstempel ausblenden",showTimestampsAria:"Zeitstempel im Transkript anzeigen",hideTimestampsAria:"Zeitstempel im Transkript ausblenden",seekTo:"Springe zu {time}"},settings:{title:"Einstellungen",quality:"Qualität",speed:"Geschwindigkeit",captions:"Untertitel",language:"Sprache",reset:"Zurücksetzen",close:"Schließen"},speeds:{normal:"Normal"},time:{display:"Zeitanzeige",durationPrefix:"Dauer: ",of:"von",hour:"{count} Stunde",hours:"{count} Stunden",minute:"{count} Minute",minutes:"{count} Minuten",second:"{count} Sekunde",seconds:"{count} Sekunden"},resume:{prompt:"Bei {time} fortsetzen?",resume:"Fortsetzen",startOver:"Von vorne"},playlist:{title:"Wiedergabeliste",trackOf:"Titel {current} von {total}",nowPlaying:"Läuft gerade: Titel {current} von {total}. {title}{artist}",by:" von ",untitled:"Ohne Titel",trackUntitled:"Titel {number}",currentlyPlaying:"Wird gerade abgespielt",notPlaying:"Nicht aktiv",pressEnterPlay:"Eingabetaste zum Abspielen",pressEnterRestart:"Eingabetaste zum Neustart",keyboardInstructions:"Wiedergabelisten-Navigation: Verwenden Sie die Pfeiltasten nach oben und unten, um zwischen Titeln zu wechseln. Drücken Sie Bild auf oder Bild ab, um 5 Titel zu überspringen. Drücken Sie Pos1, um zum ersten Titel zu springen, Ende für den letzten Titel. Drücken Sie die Eingabetaste oder Leertaste, um den ausgewählten Titel abzuspielen.",endOfPlaylist:"Ende der Wiedergabeliste. {current} von {total}.",beginningOfPlaylist:"Anfang der Wiedergabeliste. 1 von {total}.",jumpedToLastTrack:"Zum letzten Titel gesprungen. {current} von {total}.",jumpedToFirstTrack:"Zum ersten Titel gesprungen. 1 von {total}.",firstTrack:"Erster Titel. 1 von {total}.",lastTrack:"Letzter Titel. {current} von {total}."}};export{e as de};
6
+ var e={player:{label:"Videoplayer",play:"Abspielen",pause:"Pause",stop:"Stopp",restart:"Von vorne beginnen",rewind:"Zurückspulen",forward:"Vorspulen",rewindSeconds:"{seconds} Sekunden zurückspulen",forwardSeconds:"{seconds} Sekunden vorspulen",previous:"Vorheriger Titel",next:"Nächster Titel",playlist:"Wiedergabeliste umschalten",volume:"Lautstärke",mute:"Stumm",unmute:"Ton ein",fullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",captions:"Untertitel",chapters:"Kapitel",quality:"Qualität",captionStyling:"Untertitel-Stil",transcript:"Transkript umschalten",audioDescription:"Audiodeskription",signLanguage:"Gebärdensprache-Video",settings:"Einstellungen",speed:"Wiedergabegeschwindigkeit",pip:"Bild-in-Bild",floatingPlayer:"Schwebender Player",floatingPlayerClose:"Schwebenden Player schließen",floatingPlayerEnter:"Video ausklappen",floatingPlayerExit:"Video andocken",floatingPlayerDialog:"Schwebender Videoplayer. D zum Verschieben, R zum Größenändern, Escape zum Schließen.",download:"Herunterladen",downloadWithFormat:"Herunterladen {format}",downloadWithSize:"Herunterladen ({size})",downloadWithFormatSize:"Herunterladen {format} ({size})",currentTime:"Aktuelle Zeit",duration:"Dauer",progress:"Fortschritt",seekForward:"{seconds} Sekunden vorspulen",seekBackward:"{seconds} Sekunden zurückspulen",volumeUp:"Lauter",volumeDown:"Leiser",loading:"Lädt...",loadingChapters:"Kapitel werden geladen...",error:"Fehler beim Laden",buffering:"Puffern...",signLanguageVideo:"Gebärdensprache-Video",closeSignLanguage:"Gebärdensprache-Video schließen",signLanguageSettings:"Gebärdensprache-Einstellungen",startPlaybackFirst:"Bitte starten Sie die Wiedergabe zuerst.",startPlaybackForAudioDescription:"Bitte starten Sie die Wiedergabe zuerst, um die Audiodeskription zu nutzen.",startPlaybackForSignLanguage:"Bitte starten Sie die Wiedergabe zuerst, um das Gebärdensprache-Video zu nutzen.",noChapters:"Keine Kapitel verfügbar",noCaptions:"Keine Untertitel verfügbar",auto:"Automatisch",autoQuality:"Automatisch (keine Qualitätsauswahl verfügbar)",noQuality:"Qualitätsauswahl nicht verfügbar",signLanguageDragResize:"Gebärdensprache-Video - Drücken Sie D zum Verschieben per Tastatur, R zum Ändern der Größe",signLanguageDragActive:"Gebärdensprache-Video - Verschiebemodus aktiv. Pfeiltasten zum Bewegen, Escape zum Beenden.",signLanguageResizeActive:"Gebärdensprache-Video - Größenänderungsmodus aktiv. Links-/Rechts-Pfeiltasten zum Ändern der Größe, Escape zum Beenden.",enableSignDragMode:"Verschiebemodus aktivieren. Tastenkombination: D-Taste",disableSignDragMode:"Verschiebemodus deaktivieren. Tastenkombination: D-Taste",enableSignDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten aktivieren. Tastenkombination: D-Taste",disableSignDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten deaktivieren. Tastenkombination: D-Taste",enableSignResizeMode:"Größenänderungsmodus aktivieren. Tastenkombination: R-Taste",disableSignResizeMode:"Größenänderungsmodus deaktivieren. Tastenkombination: R-Taste",enableSignResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten aktivieren. Tastenkombination: R-Taste",disableSignResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten deaktivieren. Tastenkombination: R-Taste",signDragModeHint:"Verschiebemodus: Pfeiltasten zum Bewegen, Esc zum Beenden",signResizeModeHint:"Größenänderungsmodus: Pfeiltasten zum Ändern, Esc zum Beenden",signDragModeDisabled:"Verschiebemodus für Gebärdensprache-Video deaktiviert.",signResizeModeDisabled:"Größenänderungsmodus für Gebärdensprache-Video deaktiviert.",resizeHandle:"Größenänderung {direction}-Ecke",moreOptions:"Weitere Optionen",noMoreOptions:"Keine weiteren Optionen verfügbar",playing:"Wird abgespielt",paused:"Pausiert",muted:"Stummgeschaltet",unmuted:"Ton an",captionsOn:"Untertitel an",captionsOff:"Untertitel aus",volumePercent:"Lautstärke {percent} Prozent",volumePercentMuted:"Stummgeschaltet",speedRate:"Geschwindigkeit {rate}x"},captions:{off:"Aus",select:"Untertitel auswählen",fontSize:"Schriftgröße",fontFamily:"Schriftart",color:"Textfarbe",backgroundColor:"Hintergrundfarbe",opacity:"Deckkraft"},fontSizes:{small:"Klein",normal:"Normal",large:"Groß",xlarge:"Sehr groß"},fontFamilies:{sansSerif:"Sans-serif",serif:"Serif",monospace:"Monospace"},styleLabels:{textColor:"Textfarbe",background:"Hintergrund",font:"Schrift",fontSize:"Schriftgröße",opacity:"Deckkraft"},audioDescription:{enable:"Audiodeskription aktivieren",disable:"Audiodeskription deaktivieren"},signLanguage:{show:"Gebärdensprache-Video anzeigen",hide:"Gebärdensprache-Video ausblenden",showInMainView:"Gebärdensprache im Hauptvideo anzeigen",hideInMainView:"Gebärdensprache aus Hauptvideo entfernen"},transcript:{title:"Transkript",ariaLabel:"Video-Transkript",close:"Transkript schließen",loading:"Transkript wird geladen...",noTranscript:"Kein Transkript für dieses Video verfügbar.",settings:"Transkript-Einstellungen. Eingabetaste zum Öffnen des Menüs drücken oder D zum Aktivieren des Verschiebemodus",keyboardDragMode:"Tastatur-Verschiebemodus mit Pfeiltasten umschalten. Tastenkombination: D-Taste",keyboardDragActive:"⌨️ Tastatur-Verschiebemodus aktiv (Pfeiltasten zum Bewegen, Umschalt+Pfeiltasten für große Schritte, D oder ESC zum Beenden)",dragResizePrompt:"Drücken Sie D zum Verschieben oder R zur Größenänderung. Home setzt die Position zurück, Esc schließt.",dragModeEnabled:"Tastatur-Verschiebemodus aktiviert. Pfeiltasten zum Bewegen, Umschalt+Pfeiltasten für größere Schritte. D oder Esc zum Beenden.",dragModeDisabled:"Tastatur-Verschiebemodus deaktiviert.",enableDragMode:"Verschiebemodus aktivieren. Tastenkombination: D-Taste",disableDragMode:"Verschiebemodus deaktivieren. Tastenkombination: D-Taste",enableDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten aktivieren. Tastenkombination: D-Taste",disableDragModeAria:"Tastatur-Verschiebemodus mit Pfeiltasten deaktivieren. Tastenkombination: D-Taste",resizeWindow:"Fenster vergrößern/verkleinern",disableResizeWindow:"Resize-Modus deaktivieren",enableResizeMode:"Größenänderungsmodus aktivieren. Tastenkombination: R-Taste",disableResizeMode:"Größenänderungsmodus deaktivieren. Tastenkombination: R-Taste",enableResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten aktivieren. Tastenkombination: R-Taste",disableResizeModeAria:"Tastatur-Größenänderungsmodus mit Pfeiltasten deaktivieren. Tastenkombination: R-Taste",resizeModeHint:"Griffe aktiviert. Ziehen Sie Kanten oder Ecken zum Anpassen. Esc oder R zum Beenden.",resizeModeEnabled:"Resize-Modus aktiviert. Kanten oder Ecken ziehen; Esc oder R beendet.",resizeModeDisabled:"Resize-Modus deaktiviert.",dragModeBadge:"Verschiebemodus: Pfeiltasten zum Bewegen, Esc zum Beenden",resizeModeBadge:"Resize-Modus: Kanten oder Ecken ziehen, Esc zum Beenden",positionReset:"Transkriptposition zurückgesetzt.",styleTranscript:"Transkript-Stileinstellungen öffnen",closeMenu:"Menü schließen",styleTitle:"Transkript-Stil",autoscroll:"Auto-Scroll",settingsMenu:"Transkript-Dialog-Einstellungen",showTimestamps:"Zeitstempel anzeigen",hideTimestamps:"Zeitstempel ausblenden",showTimestampsAria:"Zeitstempel im Transkript anzeigen",hideTimestampsAria:"Zeitstempel im Transkript ausblenden",seekTo:"Springe zu {time}"},settings:{title:"Einstellungen",quality:"Qualität",speed:"Geschwindigkeit",captions:"Untertitel",language:"Sprache",reset:"Zurücksetzen",close:"Schließen"},help:{title:"Tastaturkürzel",button:"Tastaturkürzel",close:"Schließen",or:"oder",keys:{space:"Leertaste"},actions:{"play-pause":"Wiedergabe / Pause","seek-backward":"Zurückspulen","seek-forward":"Vorspulen","volume-up":"Lauter","volume-down":"Leiser",mute:"Stumm / Ton an",captions:"Untertitel umschalten","caption-style-menu":"Untertitel-Stil","speed-down":"Langsamer","speed-up":"Schneller","speed-menu":"Wiedergabegeschwindigkeit","quality-menu":"Qualität","chapters-menu":"Kapitel","transcript-toggle":"Transkript umschalten",fullscreen:"Vollbild umschalten",help:"Tastaturkürzel"}},speeds:{normal:"Normal"},time:{display:"Zeitanzeige",durationPrefix:"Dauer: ",of:"von",hour:"{count} Stunde",hours:"{count} Stunden",minute:"{count} Minute",minutes:"{count} Minuten",second:"{count} Sekunde",seconds:"{count} Sekunden"},resume:{prompt:"Bei {time} fortsetzen?",resume:"Fortsetzen",startOver:"Von vorne"},playlist:{title:"Wiedergabeliste",trackOf:"Titel {current} von {total}",nowPlaying:"Läuft gerade: Titel {current} von {total}. {title}{artist}",by:" von ",untitled:"Ohne Titel",trackUntitled:"Titel {number}",currentlyPlaying:"Wird gerade abgespielt",notPlaying:"Nicht aktiv",pressEnterPlay:"Eingabetaste zum Abspielen",pressEnterRestart:"Eingabetaste zum Neustart",keyboardInstructions:"Wiedergabelisten-Navigation: Verwenden Sie die Pfeiltasten nach oben und unten, um zwischen Titeln zu wechseln. Drücken Sie Bild auf oder Bild ab, um 5 Titel zu überspringen. Drücken Sie Pos1, um zum ersten Titel zu springen, Ende für den letzten Titel. Drücken Sie die Eingabetaste oder Leertaste, um den ausgewählten Titel abzuspielen.",endOfPlaylist:"Ende der Wiedergabeliste. {current} von {total}.",beginningOfPlaylist:"Anfang der Wiedergabeliste. 1 von {total}.",jumpedToLastTrack:"Zum letzten Titel gesprungen. {current} von {total}.",jumpedToFirstTrack:"Zum ersten Titel gesprungen. 1 von {total}.",firstTrack:"Erster Titel. 1 von {total}.",lastTrack:"Letzter Titel. {current} von {total}."}};export{e as de};
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * VidPly v1.2.1 - Universal, Accessible Video Player
2
+ * VidPly v1.2.3 - Universal, Accessible Video Player
3
3
  * (c) 2026 Matthias Peltzer
4
4
  * Released under GPL-2.0-or-later License
5
5
  */
6
- var a={player:{label:"Reproductor de video",play:"Reproducir",pause:"Pausa",stop:"Detener",restart:"Reiniciar desde el principio",rewind:"Retroceder",forward:"Avanzar",rewindSeconds:"Retroceder {seconds} segundos",forwardSeconds:"Avanzar {seconds} segundos",previous:"Pista anterior",next:"Siguiente pista",playlist:"Alternar lista de reproducción",volume:"Volumen",mute:"Silenciar",unmute:"Activar sonido",fullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",captions:"Subtítulos",chapters:"Capítulos",quality:"Calidad",captionStyling:"Estilo de subtítulos",transcript:"Alternar transcripción",audioDescription:"Audiodescripción",signLanguage:"Video en lengua de señas",settings:"Configuración",speed:"Velocidad de reproducción",pip:"Imagen en imagen",floatingPlayer:"Reproductor flotante",floatingPlayerClose:"Cerrar reproductor flotante",floatingPlayerEnter:"Sacar el vídeo",floatingPlayerExit:"Anclar el vídeo",floatingPlayerDialog:"Reproductor de vídeo flotante. Pulsa D para mover, R para redimensionar, Escape para cerrar.",download:"Descargar",downloadWithFormat:"Descargar {format}",downloadWithSize:"Descargar ({size})",downloadWithFormatSize:"Descargar {format} ({size})",currentTime:"Tiempo actual",duration:"Duración",progress:"Progreso",seekForward:"Avanzar {seconds} segundos",seekBackward:"Retroceder {seconds} segundos",volumeUp:"Subir volumen",volumeDown:"Bajar volumen",loading:"Cargando...",loadingChapters:"Cargando capítulos...",error:"Error al cargar",buffering:"Almacenando en búfer...",signLanguageVideo:"Video en Lengua de Señas",closeSignLanguage:"Cerrar video en lengua de señas",signLanguageSettings:"Configuración de lengua de señas",noChapters:"No hay capítulos disponibles",noCaptions:"No hay subtítulos disponibles",auto:"Automático",autoQuality:"Automático (selección de calidad no disponible)",noQuality:"Selección de calidad no disponible",signLanguageDragResize:"Video en Lengua de Señas - Presione D para arrastrar con el teclado, R para cambiar el tamaño",signLanguageDragActive:"Video en Lengua de Señas - Modo de arrastre activo. Use las teclas de flecha para mover, Escape para salir.",signLanguageResizeActive:"Video en Lengua de Señas - Modo de cambio de tamaño activo. Use las teclas de flecha izquierda/derecha para cambiar el tamaño, Escape para salir.",enableSignDragMode:"Activar modo de arrastre. Atajo: tecla D",disableSignDragMode:"Desactivar modo de arrastre. Atajo: tecla D",enableSignDragModeAria:"Activar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",disableSignDragModeAria:"Desactivar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",enableSignResizeMode:"Activar modo de cambio de tamaño. Atajo: tecla R",disableSignResizeMode:"Desactivar modo de cambio de tamaño. Atajo: tecla R",enableSignResizeModeAria:"Activar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",disableSignResizeModeAria:"Desactivar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",signDragModeHint:"Modo de arrastre: flechas para mover, Esc para salir",signResizeModeHint:"Modo de cambio de tamaño: flechas para redimensionar, Esc para salir",signDragModeDisabled:"Modo de arrastre del video en lengua de señas desactivado.",signResizeModeDisabled:"Modo de cambio de tamaño del video en lengua de señas desactivado.",resizeHandle:"Cambiar tamaño esquina {direction}",moreOptions:"Más opciones",noMoreOptions:"No hay opciones adicionales disponibles",playing:"Reproduciendo",paused:"En pausa",muted:"Silenciado",unmuted:"Sonido activado",captionsOn:"Subtítulos activados",captionsOff:"Subtítulos desactivados",volumePercent:"Volumen {percent} por ciento",volumePercentMuted:"Silenciado",speedRate:"Velocidad {rate}x"},captions:{off:"Desactivado",select:"Seleccionar subtítulos",fontSize:"Tamaño de fuente",fontFamily:"Familia de fuente",color:"Color de texto",backgroundColor:"Color de fondo",opacity:"Opacidad"},fontSizes:{small:"Pequeño",normal:"Normal",large:"Grande",xlarge:"Muy grande"},fontFamilies:{sansSerif:"Sans-serif",serif:"Serif",monospace:"Monospace"},styleLabels:{textColor:"Color de texto",background:"Fondo",font:"Fuente",fontSize:"Tamaño de fuente",opacity:"Opacidad"},audioDescription:{enable:"Activar audiodescripción",disable:"Desactivar audiodescripción"},signLanguage:{show:"Mostrar video en lengua de señas",hide:"Ocultar video en lengua de señas",showInMainView:"Mostrar lengua de señas en video principal",hideInMainView:"Ocultar lengua de señas del video principal"},transcript:{title:"Transcripción",ariaLabel:"Transcripción de video",close:"Cerrar transcripción",loading:"Cargando transcripción...",noTranscript:"No hay transcripción disponible para este video.",settings:"Configuración de transcripción. Presione Enter para abrir el menú o D para activar el modo de arrastre",keyboardDragMode:"Alternar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",keyboardDragActive:"⌨️ Modo de Arrastre con Teclado Activo (Teclas de flecha para mover, Mayús+Flechas para pasos grandes, D o ESC para salir)",dragResizePrompt:"Pulsa D para mover o R para cambiar el tamaño. Home restablece la posición; Esc cierra.",dragModeEnabled:"Modo de arrastre con teclado activado. Usa flechas para mover, Mayús+Flechas para pasos grandes. Pulsa D o Esc para salir.",dragModeDisabled:"Modo de arrastre con teclado desactivado.",enableDragMode:"Activar modo de arrastre. Atajo: tecla D",disableDragMode:"Desactivar modo de arrastre. Atajo: tecla D",enableDragModeAria:"Activar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",disableDragModeAria:"Desactivar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",resizeWindow:"Cambiar tamaño de ventana",disableResizeWindow:"Desactivar modo de cambio de tamaño",enableResizeMode:"Activar modo de cambio de tamaño. Atajo: tecla R",disableResizeMode:"Desactivar modo de cambio de tamaño. Atajo: tecla R",enableResizeModeAria:"Activar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",disableResizeModeAria:"Desactivar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",resizeModeHint:"Controladores habilitados. Arrastra bordes o esquinas para ajustar. Pulsa Esc o R para salir.",resizeModeEnabled:"Modo de cambio de tamaño activado. Arrastra bordes o esquinas. Pulsa Esc o R para salir.",resizeModeDisabled:"Modo de cambio de tamaño desactivado.",dragModeBadge:"Modo mover: flechas para mover, Esc para salir",resizeModeBadge:"Modo redimensionar: arrastra bordes o esquinas, Esc para salir",positionReset:"Posición de la transcripción restablecida.",styleTranscript:"Abrir configuración de estilo de transcripción",closeMenu:"Cerrar menú",styleTitle:"Estilo de Transcripción",autoscroll:"Desplazamiento automático",settingsMenu:"Configuración del diálogo de transcripción",showTimestamps:"Mostrar marcas de tiempo",hideTimestamps:"Ocultar marcas de tiempo",showTimestampsAria:"Mostrar marcas de tiempo en la transcripción",hideTimestampsAria:"Ocultar marcas de tiempo en la transcripción",seekTo:"Saltar a {time}"},settings:{title:"Configuración",quality:"Calidad",speed:"Velocidad",captions:"Subtítulos",language:"Idioma",reset:"Restablecer",close:"Cerrar"},speeds:{normal:"Normal"},time:{display:"Visualización de tiempo",durationPrefix:"Duración: ",of:"de",hour:"{count} hora",hours:"{count} horas",minute:"{count} minuto",minutes:"{count} minutos",second:"{count} segundo",seconds:"{count} segundos"},resume:{prompt:"¿Continuar desde {time}?",resume:"Continuar",startOver:"Empezar de nuevo"},playlist:{title:"Lista de reproducción",trackOf:"Pista {current} de {total}",nowPlaying:"Reproduciendo ahora: Pista {current} de {total}. {title}{artist}",by:" por ",untitled:"Sin título",trackUntitled:"Pista {number}",currentlyPlaying:"Reproduciendo actualmente",notPlaying:"Sin reproducir",pressEnterPlay:"Pulsa Enter para reproducir",pressEnterRestart:"Pulsa Enter para reiniciar",keyboardInstructions:"Navegación de lista de reproducción: Use las teclas de flecha arriba y abajo para moverse entre pistas. Pulse Retroceder página o Avanzar página para saltar 5 pistas. Pulse Inicio para ir a la primera pista, Fin para la última pista. Pulse Intro o Espacio para reproducir la pista seleccionada.",endOfPlaylist:"Fin de la lista de reproducción. {current} de {total}.",beginningOfPlaylist:"Inicio de la lista de reproducción. 1 de {total}.",jumpedToLastTrack:"Saltó a la última pista. {current} de {total}.",jumpedToFirstTrack:"Saltó a la primera pista. 1 de {total}.",firstTrack:"Primera pista. 1 de {total}.",lastTrack:"Última pista. {current} de {total}."}};export{a as es};
6
+ var a={player:{label:"Reproductor de video",play:"Reproducir",pause:"Pausa",stop:"Detener",restart:"Reiniciar desde el principio",rewind:"Retroceder",forward:"Avanzar",rewindSeconds:"Retroceder {seconds} segundos",forwardSeconds:"Avanzar {seconds} segundos",previous:"Pista anterior",next:"Siguiente pista",playlist:"Alternar lista de reproducción",volume:"Volumen",mute:"Silenciar",unmute:"Activar sonido",fullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",captions:"Subtítulos",chapters:"Capítulos",quality:"Calidad",captionStyling:"Estilo de subtítulos",transcript:"Alternar transcripción",audioDescription:"Audiodescripción",signLanguage:"Video en lengua de señas",settings:"Configuración",speed:"Velocidad de reproducción",pip:"Imagen en imagen",floatingPlayer:"Reproductor flotante",floatingPlayerClose:"Cerrar reproductor flotante",floatingPlayerEnter:"Sacar el vídeo",floatingPlayerExit:"Anclar el vídeo",floatingPlayerDialog:"Reproductor de vídeo flotante. Pulsa D para mover, R para redimensionar, Escape para cerrar.",download:"Descargar",downloadWithFormat:"Descargar {format}",downloadWithSize:"Descargar ({size})",downloadWithFormatSize:"Descargar {format} ({size})",currentTime:"Tiempo actual",duration:"Duración",progress:"Progreso",seekForward:"Avanzar {seconds} segundos",seekBackward:"Retroceder {seconds} segundos",volumeUp:"Subir volumen",volumeDown:"Bajar volumen",loading:"Cargando...",loadingChapters:"Cargando capítulos...",error:"Error al cargar",buffering:"Almacenando en búfer...",signLanguageVideo:"Video en Lengua de Señas",closeSignLanguage:"Cerrar video en lengua de señas",signLanguageSettings:"Configuración de lengua de señas",noChapters:"No hay capítulos disponibles",noCaptions:"No hay subtítulos disponibles",auto:"Automático",autoQuality:"Automático (selección de calidad no disponible)",noQuality:"Selección de calidad no disponible",signLanguageDragResize:"Video en Lengua de Señas - Presione D para arrastrar con el teclado, R para cambiar el tamaño",signLanguageDragActive:"Video en Lengua de Señas - Modo de arrastre activo. Use las teclas de flecha para mover, Escape para salir.",signLanguageResizeActive:"Video en Lengua de Señas - Modo de cambio de tamaño activo. Use las teclas de flecha izquierda/derecha para cambiar el tamaño, Escape para salir.",enableSignDragMode:"Activar modo de arrastre. Atajo: tecla D",disableSignDragMode:"Desactivar modo de arrastre. Atajo: tecla D",enableSignDragModeAria:"Activar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",disableSignDragModeAria:"Desactivar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",enableSignResizeMode:"Activar modo de cambio de tamaño. Atajo: tecla R",disableSignResizeMode:"Desactivar modo de cambio de tamaño. Atajo: tecla R",enableSignResizeModeAria:"Activar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",disableSignResizeModeAria:"Desactivar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",signDragModeHint:"Modo de arrastre: flechas para mover, Esc para salir",signResizeModeHint:"Modo de cambio de tamaño: flechas para redimensionar, Esc para salir",signDragModeDisabled:"Modo de arrastre del video en lengua de señas desactivado.",signResizeModeDisabled:"Modo de cambio de tamaño del video en lengua de señas desactivado.",resizeHandle:"Cambiar tamaño esquina {direction}",moreOptions:"Más opciones",noMoreOptions:"No hay opciones adicionales disponibles",playing:"Reproduciendo",paused:"En pausa",muted:"Silenciado",unmuted:"Sonido activado",captionsOn:"Subtítulos activados",captionsOff:"Subtítulos desactivados",volumePercent:"Volumen {percent} por ciento",volumePercentMuted:"Silenciado",speedRate:"Velocidad {rate}x"},captions:{off:"Desactivado",select:"Seleccionar subtítulos",fontSize:"Tamaño de fuente",fontFamily:"Familia de fuente",color:"Color de texto",backgroundColor:"Color de fondo",opacity:"Opacidad"},fontSizes:{small:"Pequeño",normal:"Normal",large:"Grande",xlarge:"Muy grande"},fontFamilies:{sansSerif:"Sans-serif",serif:"Serif",monospace:"Monospace"},styleLabels:{textColor:"Color de texto",background:"Fondo",font:"Fuente",fontSize:"Tamaño de fuente",opacity:"Opacidad"},audioDescription:{enable:"Activar audiodescripción",disable:"Desactivar audiodescripción"},signLanguage:{show:"Mostrar video en lengua de señas",hide:"Ocultar video en lengua de señas",showInMainView:"Mostrar lengua de señas en video principal",hideInMainView:"Ocultar lengua de señas del video principal"},transcript:{title:"Transcripción",ariaLabel:"Transcripción de video",close:"Cerrar transcripción",loading:"Cargando transcripción...",noTranscript:"No hay transcripción disponible para este video.",settings:"Configuración de transcripción. Presione Enter para abrir el menú o D para activar el modo de arrastre",keyboardDragMode:"Alternar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",keyboardDragActive:"⌨️ Modo de Arrastre con Teclado Activo (Teclas de flecha para mover, Mayús+Flechas para pasos grandes, D o ESC para salir)",dragResizePrompt:"Pulsa D para mover o R para cambiar el tamaño. Home restablece la posición; Esc cierra.",dragModeEnabled:"Modo de arrastre con teclado activado. Usa flechas para mover, Mayús+Flechas para pasos grandes. Pulsa D o Esc para salir.",dragModeDisabled:"Modo de arrastre con teclado desactivado.",enableDragMode:"Activar modo de arrastre. Atajo: tecla D",disableDragMode:"Desactivar modo de arrastre. Atajo: tecla D",enableDragModeAria:"Activar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",disableDragModeAria:"Desactivar modo de arrastre con teclado usando teclas de flecha. Atajo: tecla D",resizeWindow:"Cambiar tamaño de ventana",disableResizeWindow:"Desactivar modo de cambio de tamaño",enableResizeMode:"Activar modo de cambio de tamaño. Atajo: tecla R",disableResizeMode:"Desactivar modo de cambio de tamaño. Atajo: tecla R",enableResizeModeAria:"Activar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",disableResizeModeAria:"Desactivar modo de cambio de tamaño con teclado usando teclas de flecha. Atajo: tecla R",resizeModeHint:"Controladores habilitados. Arrastra bordes o esquinas para ajustar. Pulsa Esc o R para salir.",resizeModeEnabled:"Modo de cambio de tamaño activado. Arrastra bordes o esquinas. Pulsa Esc o R para salir.",resizeModeDisabled:"Modo de cambio de tamaño desactivado.",dragModeBadge:"Modo mover: flechas para mover, Esc para salir",resizeModeBadge:"Modo redimensionar: arrastra bordes o esquinas, Esc para salir",positionReset:"Posición de la transcripción restablecida.",styleTranscript:"Abrir configuración de estilo de transcripción",closeMenu:"Cerrar menú",styleTitle:"Estilo de Transcripción",autoscroll:"Desplazamiento automático",settingsMenu:"Configuración del diálogo de transcripción",showTimestamps:"Mostrar marcas de tiempo",hideTimestamps:"Ocultar marcas de tiempo",showTimestampsAria:"Mostrar marcas de tiempo en la transcripción",hideTimestampsAria:"Ocultar marcas de tiempo en la transcripción",seekTo:"Saltar a {time}"},settings:{title:"Configuración",quality:"Calidad",speed:"Velocidad",captions:"Subtítulos",language:"Idioma",reset:"Restablecer",close:"Cerrar"},help:{title:"Atajos de teclado",button:"Atajos de teclado",close:"Cerrar",or:"o",keys:{space:"Espacio"},actions:{"play-pause":"Reproducir / Pausar","seek-backward":"Retroceder","seek-forward":"Avanzar","volume-up":"Subir volumen","volume-down":"Bajar volumen",mute:"Silenciar / Activar sonido",captions:"Alternar subtítulos","caption-style-menu":"Estilo de subtítulos","speed-down":"Reducir velocidad","speed-up":"Aumentar velocidad","speed-menu":"Velocidad de reproducción","quality-menu":"Calidad","chapters-menu":"Capítulos","transcript-toggle":"Alternar transcripción",fullscreen:"Alternar pantalla completa",help:"Atajos de teclado"}},speeds:{normal:"Normal"},time:{display:"Visualización de tiempo",durationPrefix:"Duración: ",of:"de",hour:"{count} hora",hours:"{count} horas",minute:"{count} minuto",minutes:"{count} minutos",second:"{count} segundo",seconds:"{count} segundos"},resume:{prompt:"¿Continuar desde {time}?",resume:"Continuar",startOver:"Empezar de nuevo"},playlist:{title:"Lista de reproducción",trackOf:"Pista {current} de {total}",nowPlaying:"Reproduciendo ahora: Pista {current} de {total}. {title}{artist}",by:" por ",untitled:"Sin título",trackUntitled:"Pista {number}",currentlyPlaying:"Reproduciendo actualmente",notPlaying:"Sin reproducir",pressEnterPlay:"Pulsa Enter para reproducir",pressEnterRestart:"Pulsa Enter para reiniciar",keyboardInstructions:"Navegación de lista de reproducción: Use las teclas de flecha arriba y abajo para moverse entre pistas. Pulse Retroceder página o Avanzar página para saltar 5 pistas. Pulse Inicio para ir a la primera pista, Fin para la última pista. Pulse Intro o Espacio para reproducir la pista seleccionada.",endOfPlaylist:"Fin de la lista de reproducción. {current} de {total}.",beginningOfPlaylist:"Inicio de la lista de reproducción. 1 de {total}.",jumpedToLastTrack:"Saltó a la última pista. {current} de {total}.",jumpedToFirstTrack:"Saltó a la primera pista. 1 de {total}.",firstTrack:"Primera pista. 1 de {total}.",lastTrack:"Última pista. {current} de {total}."}};export{a as es};