@latest-thinking/lt-player 1.2.0 → 2.0.0-b

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 (205) hide show
  1. package/.editorconfig +1 -1
  2. package/.node-version +1 -0
  3. package/.nvmrc +1 -0
  4. package/README.md +163 -0
  5. package/dist/main.js +29712 -0
  6. package/package.json +32 -67
  7. package/tsconfig.json +2 -1
  8. package/vite-dev.config.mts +35 -0
  9. package/vite.config.mts +40 -0
  10. package/ README.md +0 -270
  11. package/.babelrc +0 -11
  12. package/.eslintrc.js +0 -6
  13. package/dist/css/lt-player-main.css +0 -3
  14. package/dist/css/lt-player-main.css.map +0 -1
  15. package/dist/fonts/0574e80a2483be7b033e.otf +0 -0
  16. package/dist/fonts/34274fbfb2f270b8d53b.otf +0 -0
  17. package/dist/fonts/80acced0ba3630ee652b.otf +0 -0
  18. package/dist/fonts/8ccea4947561e7008d19.otf +0 -0
  19. package/dist/fonts/d355445ed7d61b887e58.otf +0 -0
  20. package/dist/js/lt-player-main.js +0 -3
  21. package/dist/js/lt-player-main.js.LICENSE.txt +0 -9
  22. package/dist/js/lt-player-main.js.map +0 -1
  23. package/examples/basic.html +0 -35
  24. package/examples/lt-page-with-player.html +0 -3529
  25. package/examples/lt-page-with-player_files/Weiskopf_Coverphoto.jpg +0 -0
  26. package/examples/lt-page-with-player_files/ajax-progress.module.css +0 -49
  27. package/examples/lt-page-with-player_files/align.module.css +0 -32
  28. package/examples/lt-page-with-player_files/announce.js +0 -49
  29. package/examples/lt-page-with-player_files/autocomplete-loading.module.css +0 -22
  30. package/examples/lt-page-with-player_files/autocomplete.css +0 -16
  31. package/examples/lt-page-with-player_files/bootstrap.css +0 -22691
  32. package/examples/lt-page-with-player_files/clearfix.module.css +0 -15
  33. package/examples/lt-page-with-player_files/container-inline.module.css +0 -16
  34. package/examples/lt-page-with-player_files/cookiesjsr.min.css +0 -10
  35. package/examples/lt-page-with-player_files/core.css +0 -97
  36. package/examples/lt-page-with-player_files/details.module.css +0 -10
  37. package/examples/lt-page-with-player_files/fieldgroup.module.css +0 -9
  38. package/examples/lt-page-with-player_files/hidden.module.css +0 -53
  39. package/examples/lt-page-with-player_files/himme-alexander-beyond_0.jpg +0 -0
  40. package/examples/lt-page-with-player_files/item-list.module.css +0 -19
  41. package/examples/lt-page-with-player_files/js.module.css +0 -22
  42. package/examples/lt-page-with-player_files/latest_thinking.style.css +0 -6496
  43. package/examples/lt-page-with-player_files/logo-small.png +0 -0
  44. package/examples/lt-page-with-player_files/menu.css +0 -64
  45. package/examples/lt-page-with-player_files/nowrap.module.css +0 -8
  46. package/examples/lt-page-with-player_files/paragraphs.unpublished.css +0 -3
  47. package/examples/lt-page-with-player_files/position-container.module.css +0 -8
  48. package/examples/lt-page-with-player_files/progress.module.css +0 -51
  49. package/examples/lt-page-with-player_files/radix.style.css +0 -1
  50. package/examples/lt-page-with-player_files/reset-appearance.module.css +0 -15
  51. package/examples/lt-page-with-player_files/resize.module.css +0 -21
  52. package/examples/lt-page-with-player_files/search_api_autocomplete.css +0 -41
  53. package/examples/lt-page-with-player_files/sticky-header.module.css +0 -13
  54. package/examples/lt-page-with-player_files/system-status-counter.css +0 -30
  55. package/examples/lt-page-with-player_files/system-status-report-counters.css +0 -27
  56. package/examples/lt-page-with-player_files/system-status-report-general-info.css +0 -14
  57. package/examples/lt-page-with-player_files/tabledrag.module.css +0 -98
  58. package/examples/lt-page-with-player_files/tablesort.module.css +0 -19
  59. package/examples/lt-page-with-player_files/theme.css +0 -446
  60. package/examples/lt-page-with-player_files/thumbnail_MPI_CBS_Eingangsbereich.jpg +0 -0
  61. package/examples/lt-page-with-player_files/tree-child.module.css +0 -18
  62. package/examples/lt-page-with-player_files/widget-min.js +0 -10
  63. package/examples/lt-website.html +0 -76
  64. package/examples/portrait-with-subtitles.html +0 -81
  65. package/examples/samples/vtt/Pahl-Kerstin-Maria-MAIN-20230320.vtt +0 -765
  66. package/examples/samples/vtt/Sobolev-Anton-Subtitles-20230518_0.vtt +0 -352
  67. package/examples/samples/vtt/demo.vtt +0 -7
  68. package/src/assets/css/sample.css +0 -12
  69. package/src/assets/fonts/museo/MuseoSans-100.otf +0 -0
  70. package/src/assets/fonts/museo/MuseoSans-300.otf +0 -0
  71. package/src/assets/fonts/museo/MuseoSans-500.otf +0 -0
  72. package/src/assets/fonts/museo/MuseoSans-700.otf +0 -0
  73. package/src/assets/fonts/museo/MuseoSans-900.otf +0 -0
  74. package/src/assets/icons/arrow-down.svg +0 -8
  75. package/src/assets/icons/arrow-left.svg +0 -8
  76. package/src/assets/icons/chevron-down-full.svg +0 -7
  77. package/src/assets/icons/chevron-down.svg +0 -7
  78. package/src/assets/icons/chevron-up-full.svg +0 -7
  79. package/src/assets/icons/chevron-up.svg +0 -7
  80. package/src/assets/icons/close.svg +0 -8
  81. package/src/assets/icons/compass.svg +0 -8
  82. package/src/assets/icons/external-link.svg +0 -9
  83. package/src/assets/icons/facebook.svg +0 -7
  84. package/src/assets/icons/fast-backward.svg +0 -8
  85. package/src/assets/icons/fast-forward.svg +0 -8
  86. package/src/assets/icons/file-text.svg +0 -11
  87. package/src/assets/icons/home.svg +0 -8
  88. package/src/assets/icons/logo-big.png +0 -0
  89. package/src/assets/icons/logo.png +0 -0
  90. package/src/assets/icons/maximize.svg +0 -7
  91. package/src/assets/icons/mini-player.svg +0 -8
  92. package/src/assets/icons/minimize.svg +0 -7
  93. package/src/assets/icons/more-vertical.svg +0 -9
  94. package/src/assets/icons/mute.svg +0 -9
  95. package/src/assets/icons/pause.svg +0 -8
  96. package/src/assets/icons/play.svg +0 -8
  97. package/src/assets/icons/search.svg +0 -8
  98. package/src/assets/icons/settings.svg +0 -8
  99. package/src/assets/icons/share.svg +0 -11
  100. package/src/assets/icons/skip-backward.svg +0 -8
  101. package/src/assets/icons/skip-forward.svg +0 -8
  102. package/src/assets/icons/speed-1-5.svg +0 -7
  103. package/src/assets/icons/speed-1.svg +0 -7
  104. package/src/assets/icons/speed-2.svg +0 -7
  105. package/src/assets/icons/subtitles.svg +0 -7
  106. package/src/assets/icons/twitter.svg +0 -7
  107. package/src/assets/icons/university.svg +0 -9
  108. package/src/assets/icons/user.svg +0 -8
  109. package/src/assets/icons/volume-1.svg +0 -15
  110. package/src/assets/icons/volume-2.svg +0 -15
  111. package/src/assets/icons/volume-3.svg +0 -15
  112. package/src/assets/sass/abstracts/_mixins.scss +0 -145
  113. package/src/assets/sass/abstracts/_placeholders.scss +0 -112
  114. package/src/assets/sass/abstracts/_variables.scss +0 -68
  115. package/src/assets/sass/abstracts/all.scss +0 -4
  116. package/src/assets/sass/app.scss +0 -99
  117. package/src/assets/sass/components/_all.scss +0 -6
  118. package/src/assets/sass/components/_buttons.scss +0 -1
  119. package/src/assets/sass/components/_images.scss +0 -4
  120. package/src/assets/sass/components/_loader.scss +0 -187
  121. package/src/assets/sass/components/_modal.scss +0 -365
  122. package/src/assets/sass/components/_range.scss +0 -33
  123. package/src/assets/sass/core/_all.scss +0 -13
  124. package/src/assets/sass/core/_fonts.scss +0 -55
  125. package/src/assets/sass/core/_player.scss +0 -71
  126. package/src/assets/sass/core/_typography.scss +0 -13
  127. package/src/assets/sass/layout/_all.scss +0 -3
  128. package/src/assets/sass/layout/_grid.scss +0 -0
  129. package/src/assets/sass/sections/_additional-info.scss +0 -90
  130. package/src/assets/sass/sections/_all.scss +0 -6
  131. package/src/assets/sass/sections/_control.scss +0 -122
  132. package/src/assets/sass/sections/_poster.scss +0 -319
  133. package/src/assets/sass/sections/_settings.scss +0 -504
  134. package/src/assets/sass/sections/_share.scss +0 -250
  135. package/src/assets/sass/sections/_subtitles.scss +0 -85
  136. package/src/assets/sass/sections/controllers/_all.scss +0 -4
  137. package/src/assets/sass/sections/controllers/_botom.scss +0 -522
  138. package/src/assets/sass/sections/controllers/_mini-player.scss +0 -169
  139. package/src/assets/sass/sections/controllers/_notification-rewind-forward.scss +0 -260
  140. package/src/assets/sass/sections/controllers/_top.scss +0 -169
  141. package/src/components/LTPlayerDevMethode.ts +0 -192
  142. package/src/components/LTPlayerEventsManager.ts +0 -31
  143. package/src/components/LTPlayerHls.ts +0 -38
  144. package/src/components/LTPlayerManager.ts +0 -266
  145. package/src/components/LTPlayerSettingsManager.ts +0 -117
  146. package/src/components/LTPlayerSetup.ts +0 -286
  147. package/src/components/LTPlayerStatusFeedback.ts +0 -76
  148. package/src/components/LTPlayerStorage.ts +0 -58
  149. package/src/components/LTPlayerType.ts +0 -371
  150. package/src/components/LTPlayerUpdate.ts +0 -61
  151. package/src/components/addInfo/LTPLayerAddInfoResizeManager.ts +0 -15
  152. package/src/components/addInfo/LTPlayerAddInfoDesktop.ts +0 -127
  153. package/src/components/addInfo/LTPlayerAddInfoManager.ts +0 -230
  154. package/src/components/addInfo/LTPlayerAddInfoMobile.ts +0 -113
  155. package/src/components/captions/LTPlayerCaptions.ts +0 -80
  156. package/src/components/config/LTPlayerConfig.ts +0 -280
  157. package/src/components/config/LTPlayerConfigProcessor.ts +0 -604
  158. package/src/components/controls/LTPlayerChapters.ts +0 -285
  159. package/src/components/controls/LTPlayerControls.ts +0 -57
  160. package/src/components/controls/LTPlayerControlsEvents.ts +0 -946
  161. package/src/components/controls/LTPlayerMini.ts +0 -285
  162. package/src/components/controls/LTPlayerSettingsControlsManager.ts +0 -60
  163. package/src/components/controls/settings/LTPlayerCommonSettingsControllers.ts +0 -71
  164. package/src/components/controls/settings/LTPlayerDesktopSettingsControllers.ts +0 -135
  165. package/src/components/controls/settings/LTPlayerMobileSettingsControllers.ts +0 -211
  166. package/src/components/events/LTPlayer.ts +0 -194
  167. package/src/components/events/LTPlayerCommon.ts +0 -252
  168. package/src/components/events/LTPlayerDesktop.ts +0 -222
  169. package/src/components/events/LTPlayerMobile.ts +0 -243
  170. package/src/components/poster/LTPlayerPoster.ts +0 -78
  171. package/src/components/poster/LTPlayerPosterEvents.ts +0 -172
  172. package/src/components/poster/LTPlayerPosterManager.ts +0 -46
  173. package/src/components/poster/LTPlayerPosterPreload.ts +0 -51
  174. package/src/components/poster/LTPlayerPosterPreloadEvents.ts +0 -152
  175. package/src/components/share/LTPlayerShareDesktop.ts +0 -131
  176. package/src/components/share/LTPlayerShareEvents.ts +0 -64
  177. package/src/components/share/LTPlayerShareManager.ts +0 -58
  178. package/src/components/share/LTPlayerShareMobile.ts +0 -154
  179. package/src/components/video/LTPlayerVideo.ts +0 -49
  180. package/src/global/controllers/LTPlayerController.ts +0 -58
  181. package/src/global/interfaces/EventsInterfaces.ts +0 -11
  182. package/src/global/interfaces/SettingsControlsInterfaces.ts +0 -3
  183. package/src/global/interfaces/TypeInterface.ts +0 -9
  184. package/src/global/types/ModuleTypes.d.ts +0 -35
  185. package/src/global/types/ModuleViews.d.ts +0 -13
  186. package/src/global/types/ModuleWindow.d.ts +0 -12
  187. package/src/global/types/Modules.d.ts +0 -44
  188. package/src/index.ts +0 -10
  189. package/src/json-schema/player-config.json +0 -16
  190. package/src/services/Helper.ts +0 -147
  191. package/src/services/IconsService.ts +0 -124
  192. package/src/services/LTPlayerRotateDeviceService.ts +0 -15
  193. package/src/services/LoaderService.ts +0 -21
  194. package/src/services/ResizeService.ts +0 -352
  195. package/src/services/TemplateService.ts +0 -136
  196. package/src/services/ValidatorService.ts +0 -31
  197. package/src/views/additionalInfo.handlebars +0 -103
  198. package/src/views/background.handlebars +0 -5
  199. package/src/views/controls.handlebars +0 -390
  200. package/src/views/onloadPoster.handlebars +0 -1
  201. package/src/views/poster.handlebars +0 -69
  202. package/src/views/settings.handlebars +0 -31
  203. package/src/views/settings.mobile.handlebars +0 -22
  204. package/src/views/share.handlebars +0 -101
  205. package/src/views/template.handlebars +0 -15
@@ -1,35 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>Title</title>
6
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
7
- <link rel="stylesheet" href="../src/assets/css/sample.css" type="text/css"/>
8
- <link rel="stylesheet" href="../dist/css/lt-player-main.css" type="text/css"/>
9
- </head>
10
-
11
- <body>
12
-
13
- <div class="container-text-portrait-player">
14
- <div class="lt-player"
15
- data-lt-player-config='{"version":2,"body":{"playerType":"portrait","defaultConfig":{"captions":[]},"chapters":[{"name":"About","timestamp":"0"},{"name":"Research Area","timestamp":"43.31"},{"name":"Findings","timestamp":"63.41"}],"videoTitle":"Expret Video","posterImage":"https:\/\/dev9.lt.org\/sites\/default\/files\/expert_video\/2023-06\/covers\/3b4f13029f0cba71911d298d6f6248da.jpg","videoParagraph":"Etienne Benson","videoUrl":"https:\/\/s3.eu-west-1.amazonaws.com\/lt.org-et-output-dev\/mc-core\/video_p534_r1.8qHXgPmpDTtdDYKX\/video_p534_r1.8qHXgPmpDTtdDYKX.m3u8","share":[],"additionalInfo":{"institution":{"title":"Institution","institutionName":"DWI \u2013 Leibniz Institute for Interactive Materials","image":"https:\/\/dev9.lt.org\/sites\/default\/files\/institution\/dwi_innenhof2_offical.jpg","description":"Research at DWI \u0026ndash; Leibniz-Institut f\u0026uuml;r Interaktive Materialien e.V. (DWI \u0026ndash; Leibniz Institute for Interactive Materials) focuses on the development of materials with active and adaptive properties, after being founded in 1952 with an original emphasis on keratin research and protein chemistry. The capability for active adaptation and interactivity is one of the most profound challenges of today\u0026rsquo;s materials research and will ultimately lead to the evolution of structural via functional to intelligent materials. At DWI scientists with backgrounds in polymer sciences, biotechnology and chemical engineering closely collaborate on mastering this challenge. \r\n\r\n The research approach at DWI is based on integrating molecular components, whose structure and dynamics are orchestrated by complex interactions on various length scales, into macroscopic materials, devices and in the end systems. For exceeding the passive functionalities of existing materials, DWI researches on switchable material properties, the application of memory effects, the integration of energy conversion systems, as well as on internal feedback mechanisms. Beyond materials aspects the DWI team aims at an integration of active characteristics into interacting material systems. The fields of application are diverse, dealing with surface finishing, biomedical technology, biotechnology and sustainable chemical engineering. ( Source ) \r\n"},"bio":{"title":"Bio","description":"Etienne Benson is Director of Department II, Knowledge Systems and Collective Life, at the Max Planck Institute for the History of Science. After completing his PhD at the Massachusetts Institute of Technology (2008), Benson took up a postdoctoral fellowship at Harvard (2008-2010). He subsequently held positions at the Max Planck Institute for the History of Science, New York University-Berlin and the University of Pennsylvania. Benson\u2019s research focuses on the history of science, politics and the environment in Europe and the United States from the eighteenth century onwards. Benson\u2019s book Surroundings: A History of Environments and Environmentalisms was published by the University of Chicago Press in 2020."}}}}'>
16
- </div>
17
- </div>
18
- <div style="position: relative; padding-bottom: 177.77%; height: 0; width: 20%"><iframe src="https://stg.lt.org/embed/expert/afa298e9-558c-41df-a376-1ed7c3251ef9" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; background-color: transparent;" allowfullscreen allowtransparency></iframe></div>
19
-
20
- <div class="container-text-landscape-player">
21
- <div class=""
22
- data-lt-player-config='{"version":2,"body":{"playerType":"landscape","defaultConfig":{"captions":[]},"chapters":[{"name":"About","timestamp":"0"},{"name":"Research Area","timestamp":"43.31"},{"name":"Findings","timestamp":"63.41"}],"videoTitle":"Expret Video","posterImage":"https:\/\/dev9.lt.org\/sites\/default\/files\/expert_video\/2023-06\/covers\/3b4f13029f0cba71911d298d6f6248da.jpg","videoParagraph":"Etienne Benson","videoUrl":"https:\/\/s3.eu-west-1.amazonaws.com\/lt.org-et-output-dev\/mc-core\/video_p534_r1.8qHXgPmpDTtdDYKX\/video_p534_r1.8qHXgPmpDTtdDYKX.m3u8","share":[],"additionalInfo":{"institution":{"title":"Institution","institutionName":"DWI \u2013 Leibniz Institute for Interactive Materials","image":"https:\/\/dev9.lt.org\/sites\/default\/files\/institution\/dwi_innenhof2_offical.jpg","description":"Research at DWI \u0026ndash; Leibniz-Institut f\u0026uuml;r Interaktive Materialien e.V. (DWI \u0026ndash; Leibniz Institute for Interactive Materials) focuses on the development of materials with active and adaptive properties, after being founded in 1952 with an original emphasis on keratin research and protein chemistry. The capability for active adaptation and interactivity is one of the most profound challenges of today\u0026rsquo;s materials research and will ultimately lead to the evolution of structural via functional to intelligent materials. At DWI scientists with backgrounds in polymer sciences, biotechnology and chemical engineering closely collaborate on mastering this challenge. \r\n\r\n The research approach at DWI is based on integrating molecular components, whose structure and dynamics are orchestrated by complex interactions on various length scales, into macroscopic materials, devices and in the end systems. For exceeding the passive functionalities of existing materials, DWI researches on switchable material properties, the application of memory effects, the integration of energy conversion systems, as well as on internal feedback mechanisms. Beyond materials aspects the DWI team aims at an integration of active characteristics into interacting material systems. The fields of application are diverse, dealing with surface finishing, biomedical technology, biotechnology and sustainable chemical engineering. ( Source ) \r\n"},"bio":{"title":"Bio","description":"Etienne Benson is Director of Department II, Knowledge Systems and Collective Life, at the Max Planck Institute for the History of Science. After completing his PhD at the Massachusetts Institute of Technology (2008), Benson took up a postdoctoral fellowship at Harvard (2008-2010). He subsequently held positions at the Max Planck Institute for the History of Science, New York University-Berlin and the University of Pennsylvania. Benson\u2019s research focuses on the history of science, politics and the environment in Europe and the United States from the eighteenth century onwards. Benson\u2019s book Surroundings: A History of Environments and Environmentalisms was published by the University of Chicago Press in 2020."}}}}'></div>
23
- </div>
24
-
25
- <script type="text/javascript" src="../dist/js/lt-player-main.js"></script>
26
-
27
- <script>
28
- window.addEventListener("load", () => {
29
- // const ltPlayerDiv = document.querySelector('.lt-player-shorts')
30
- // Player.initBySelector(ltPlayerDiv);
31
- });
32
- </script>
33
-
34
- </body>
35
- </html>