react-native-theoplayer 2.8.0 → 2.10.0

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 (589) hide show
  1. package/CHANGELOG.md +66 -13
  2. package/README.md +16 -2
  3. package/android/src/main/AndroidManifest.xml +1 -1
  4. package/android/src/main/java/com/theoplayer/PlayerEventEmitter.kt +8 -3
  5. package/android/src/main/java/com/theoplayer/ReactTHEOplayerContext.kt +15 -7
  6. package/android/src/main/java/com/theoplayer/media/MediaNotificationBuilder.kt +5 -0
  7. package/android/src/main/java/com/theoplayer/media/MediaPlaybackService.kt +31 -8
  8. package/android/src/main/java/com/theoplayer/player/PlayerModule.kt +1 -0
  9. package/android/src/main/java/com/theoplayer/presentation/PipUtils.kt +2 -2
  10. package/ios/THEOplayerRCTView.swift +8 -1
  11. package/ios/contentprotection/THEOplayerRCTProxyContentProtectionIntegration.swift +19 -29
  12. package/lib/commonjs/api/cast/Chromecast.js.map +1 -1
  13. package/lib/commonjs/api/player/PlayerVersion.js +2 -0
  14. package/lib/commonjs/api/player/PlayerVersion.js.map +1 -0
  15. package/lib/commonjs/api/player/THEOplayer.js.map +1 -1
  16. package/lib/commonjs/api/player/barrel.js +11 -0
  17. package/lib/commonjs/api/player/barrel.js.map +1 -1
  18. package/lib/commonjs/index.js +0 -12
  19. package/lib/commonjs/index.js.map +1 -1
  20. package/lib/commonjs/internal/THEOplayerView.js +2 -3
  21. package/lib/commonjs/internal/THEOplayerView.js.map +1 -1
  22. package/lib/commonjs/internal/adapter/THEOplayerAdapter.js +10 -3
  23. package/lib/commonjs/internal/adapter/THEOplayerAdapter.js.map +1 -1
  24. package/lib/commonjs/internal/adapter/THEOplayerWebAdapter.js +9 -0
  25. package/lib/commonjs/internal/adapter/THEOplayerWebAdapter.js.map +1 -1
  26. package/lib/commonjs/internal/adapter/event/native/NativePlayerEvent.js.map +1 -1
  27. package/lib/module/api/cast/Chromecast.js.map +1 -1
  28. package/lib/module/api/player/PlayerVersion.js +2 -0
  29. package/lib/module/api/player/PlayerVersion.js.map +1 -0
  30. package/lib/module/api/player/THEOplayer.js.map +1 -1
  31. package/lib/module/api/player/barrel.js +1 -0
  32. package/lib/module/api/player/barrel.js.map +1 -1
  33. package/lib/module/index.js +0 -1
  34. package/lib/module/index.js.map +1 -1
  35. package/lib/module/internal/THEOplayerView.js +2 -3
  36. package/lib/module/internal/THEOplayerView.js.map +1 -1
  37. package/lib/module/internal/adapter/THEOplayerAdapter.js +10 -3
  38. package/lib/module/internal/adapter/THEOplayerAdapter.js.map +1 -1
  39. package/lib/module/internal/adapter/THEOplayerWebAdapter.js +7 -0
  40. package/lib/module/internal/adapter/THEOplayerWebAdapter.js.map +1 -1
  41. package/lib/module/internal/adapter/event/native/NativePlayerEvent.js.map +1 -1
  42. package/lib/typescript/api/cast/Chromecast.d.ts +1 -1
  43. package/lib/typescript/api/player/PlayerVersion.d.ts +14 -0
  44. package/lib/typescript/api/player/THEOplayer.d.ts +5 -0
  45. package/lib/typescript/api/player/barrel.d.ts +1 -0
  46. package/lib/typescript/index.d.ts +0 -1
  47. package/lib/typescript/internal/adapter/THEOplayerAdapter.d.ts +4 -2
  48. package/lib/typescript/internal/adapter/THEOplayerWebAdapter.d.ts +3 -2
  49. package/lib/typescript/internal/adapter/event/native/NativePlayerEvent.d.ts +2 -1
  50. package/package.json +2 -8
  51. package/react-native-theoplayer.podspec +1 -1
  52. package/src/api/cast/Chromecast.ts +1 -1
  53. package/src/api/player/PlayerVersion.ts +15 -0
  54. package/src/api/player/THEOplayer.ts +6 -0
  55. package/src/api/player/barrel.ts +1 -0
  56. package/src/index.tsx +0 -1
  57. package/src/internal/THEOplayerView.tsx +2 -4
  58. package/src/internal/adapter/THEOplayerAdapter.ts +12 -3
  59. package/src/internal/adapter/THEOplayerWebAdapter.ts +9 -1
  60. package/src/internal/adapter/event/native/NativePlayerEvent.ts +11 -1
  61. package/android/src/main/java/com/theoplayer/media/CustomMediaButtonReceiver.kt +0 -25
  62. package/lib/commonjs/ui/THEOplayerDefaultUi.js +0 -82
  63. package/lib/commonjs/ui/THEOplayerDefaultUi.js.map +0 -1
  64. package/lib/commonjs/ui/THEOplayerTheme.js +0 -48
  65. package/lib/commonjs/ui/THEOplayerTheme.js.map +0 -1
  66. package/lib/commonjs/ui/barrel.js +0 -39
  67. package/lib/commonjs/ui/barrel.js.map +0 -1
  68. package/lib/commonjs/ui/components/activityindicator/CenteredDelayedActivityIndicator.js +0 -99
  69. package/lib/commonjs/ui/components/activityindicator/CenteredDelayedActivityIndicator.js.map +0 -1
  70. package/lib/commonjs/ui/components/activityindicator/DelayedActivityIndicator.js +0 -35
  71. package/lib/commonjs/ui/components/activityindicator/DelayedActivityIndicator.js.map +0 -1
  72. package/lib/commonjs/ui/components/activityindicator/barrel.js +0 -28
  73. package/lib/commonjs/ui/components/activityindicator/barrel.js.map +0 -1
  74. package/lib/commonjs/ui/components/barrel.js +0 -105
  75. package/lib/commonjs/ui/components/barrel.js.map +0 -1
  76. package/lib/commonjs/ui/components/button/AirplayButton.js +0 -81
  77. package/lib/commonjs/ui/components/button/AirplayButton.js.map +0 -1
  78. package/lib/commonjs/ui/components/button/ChromecastButton.js +0 -66
  79. package/lib/commonjs/ui/components/button/ChromecastButton.js.map +0 -1
  80. package/lib/commonjs/ui/components/button/ChromecastButton.web.js +0 -82
  81. package/lib/commonjs/ui/components/button/ChromecastButton.web.js.map +0 -1
  82. package/lib/commonjs/ui/components/button/FullscreenButton.js +0 -72
  83. package/lib/commonjs/ui/components/button/FullscreenButton.js.map +0 -1
  84. package/lib/commonjs/ui/components/button/MuteButton.js +0 -66
  85. package/lib/commonjs/ui/components/button/MuteButton.js.map +0 -1
  86. package/lib/commonjs/ui/components/button/PipButton.js +0 -72
  87. package/lib/commonjs/ui/components/button/PipButton.js.map +0 -1
  88. package/lib/commonjs/ui/components/button/PlayButton.js +0 -113
  89. package/lib/commonjs/ui/components/button/PlayButton.js.map +0 -1
  90. package/lib/commonjs/ui/components/button/SkipButton.js +0 -122
  91. package/lib/commonjs/ui/components/button/SkipButton.js.map +0 -1
  92. package/lib/commonjs/ui/components/button/actionbutton/ActionButton.js +0 -82
  93. package/lib/commonjs/ui/components/button/actionbutton/ActionButton.js.map +0 -1
  94. package/lib/commonjs/ui/components/button/barrel.js +0 -105
  95. package/lib/commonjs/ui/components/button/barrel.js.map +0 -1
  96. package/lib/commonjs/ui/components/button/svg/AirplaySvg.js +0 -22
  97. package/lib/commonjs/ui/components/button/svg/AirplaySvg.js.map +0 -1
  98. package/lib/commonjs/ui/components/button/svg/ArrowForwardSvg.js +0 -22
  99. package/lib/commonjs/ui/components/button/svg/ArrowForwardSvg.js.map +0 -1
  100. package/lib/commonjs/ui/components/button/svg/BackSvg.js +0 -22
  101. package/lib/commonjs/ui/components/button/svg/BackSvg.js.map +0 -1
  102. package/lib/commonjs/ui/components/button/svg/BackwardSvg.js +0 -22
  103. package/lib/commonjs/ui/components/button/svg/BackwardSvg.js.map +0 -1
  104. package/lib/commonjs/ui/components/button/svg/ChromecastSvg.js +0 -22
  105. package/lib/commonjs/ui/components/button/svg/ChromecastSvg.js.map +0 -1
  106. package/lib/commonjs/ui/components/button/svg/ErrorSvg.js +0 -22
  107. package/lib/commonjs/ui/components/button/svg/ErrorSvg.js.map +0 -1
  108. package/lib/commonjs/ui/components/button/svg/ForwardSvg.js +0 -22
  109. package/lib/commonjs/ui/components/button/svg/ForwardSvg.js.map +0 -1
  110. package/lib/commonjs/ui/components/button/svg/FullscreenEnterSvg.js +0 -22
  111. package/lib/commonjs/ui/components/button/svg/FullscreenEnterSvg.js.map +0 -1
  112. package/lib/commonjs/ui/components/button/svg/FullscreenExitSvg.js +0 -22
  113. package/lib/commonjs/ui/components/button/svg/FullscreenExitSvg.js.map +0 -1
  114. package/lib/commonjs/ui/components/button/svg/LanguageSvg.js +0 -22
  115. package/lib/commonjs/ui/components/button/svg/LanguageSvg.js.map +0 -1
  116. package/lib/commonjs/ui/components/button/svg/ListSvg.js +0 -22
  117. package/lib/commonjs/ui/components/button/svg/ListSvg.js.map +0 -1
  118. package/lib/commonjs/ui/components/button/svg/PauseSvg.js +0 -22
  119. package/lib/commonjs/ui/components/button/svg/PauseSvg.js.map +0 -1
  120. package/lib/commonjs/ui/components/button/svg/PipEnterSvg.js +0 -22
  121. package/lib/commonjs/ui/components/button/svg/PipEnterSvg.js.map +0 -1
  122. package/lib/commonjs/ui/components/button/svg/PipExitSvg.js +0 -22
  123. package/lib/commonjs/ui/components/button/svg/PipExitSvg.js.map +0 -1
  124. package/lib/commonjs/ui/components/button/svg/PlaySvg.js +0 -22
  125. package/lib/commonjs/ui/components/button/svg/PlaySvg.js.map +0 -1
  126. package/lib/commonjs/ui/components/button/svg/ReplaySvg.js +0 -22
  127. package/lib/commonjs/ui/components/button/svg/ReplaySvg.js.map +0 -1
  128. package/lib/commonjs/ui/components/button/svg/SettingsSvg.js +0 -22
  129. package/lib/commonjs/ui/components/button/svg/SettingsSvg.js.map +0 -1
  130. package/lib/commonjs/ui/components/button/svg/SvgUtils.js +0 -13
  131. package/lib/commonjs/ui/components/button/svg/SvgUtils.js.map +0 -1
  132. package/lib/commonjs/ui/components/button/svg/VolumeOffSvg.js +0 -22
  133. package/lib/commonjs/ui/components/button/svg/VolumeOffSvg.js.map +0 -1
  134. package/lib/commonjs/ui/components/button/svg/VolumeUpSvg.js +0 -22
  135. package/lib/commonjs/ui/components/button/svg/VolumeUpSvg.js.map +0 -1
  136. package/lib/commonjs/ui/components/button/svg/barrel.js +0 -226
  137. package/lib/commonjs/ui/components/button/svg/barrel.js.map +0 -1
  138. package/lib/commonjs/ui/components/button/svg/res/AirPlayButton.html +0 -6
  139. package/lib/commonjs/ui/components/button/svg/res/Airplay.svg +0 -1
  140. package/lib/commonjs/ui/components/button/svg/res/ChromecastButton.html +0 -25
  141. package/lib/commonjs/ui/components/button/svg/res/arrow_forward.svg +0 -1
  142. package/lib/commonjs/ui/components/button/svg/res/back.svg +0 -1
  143. package/lib/commonjs/ui/components/button/svg/res/backward.svg +0 -1
  144. package/lib/commonjs/ui/components/button/svg/res/chromecast-48px.svg +0 -1
  145. package/lib/commonjs/ui/components/button/svg/res/close.svg +0 -1
  146. package/lib/commonjs/ui/components/button/svg/res/error.svg +0 -1
  147. package/lib/commonjs/ui/components/button/svg/res/forward.svg +0 -1
  148. package/lib/commonjs/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
  149. package/lib/commonjs/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
  150. package/lib/commonjs/ui/components/button/svg/res/language.svg +0 -1
  151. package/lib/commonjs/ui/components/button/svg/res/list.svg +0 -1
  152. package/lib/commonjs/ui/components/button/svg/res/live.svg +0 -1
  153. package/lib/commonjs/ui/components/button/svg/res/pause.svg +0 -1
  154. package/lib/commonjs/ui/components/button/svg/res/pip_enter.svg +0 -1
  155. package/lib/commonjs/ui/components/button/svg/res/pip_exit.svg +0 -1
  156. package/lib/commonjs/ui/components/button/svg/res/play.svg +0 -1
  157. package/lib/commonjs/ui/components/button/svg/res/replay.svg +0 -1
  158. package/lib/commonjs/ui/components/button/svg/res/settings.svg +0 -1
  159. package/lib/commonjs/ui/components/button/svg/res/skip-next.svg +0 -1
  160. package/lib/commonjs/ui/components/button/svg/res/volume-high.svg +0 -1
  161. package/lib/commonjs/ui/components/button/svg/res/volume-low.svg +0 -1
  162. package/lib/commonjs/ui/components/button/svg/res/volume-off.svg +0 -1
  163. package/lib/commonjs/ui/components/controlbar/ControlBar.js +0 -61
  164. package/lib/commonjs/ui/components/controlbar/ControlBar.js.map +0 -1
  165. package/lib/commonjs/ui/components/controlbar/Spacer.js +0 -21
  166. package/lib/commonjs/ui/components/controlbar/Spacer.js.map +0 -1
  167. package/lib/commonjs/ui/components/controlbar/barrel.js +0 -28
  168. package/lib/commonjs/ui/components/controlbar/barrel.js.map +0 -1
  169. package/lib/commonjs/ui/components/menu/LanguageMenuButton.js +0 -175
  170. package/lib/commonjs/ui/components/menu/LanguageMenuButton.js.map +0 -1
  171. package/lib/commonjs/ui/components/menu/PlaybackRateSubMenu.js +0 -91
  172. package/lib/commonjs/ui/components/menu/PlaybackRateSubMenu.js.map +0 -1
  173. package/lib/commonjs/ui/components/menu/QualitySubMenu.js +0 -145
  174. package/lib/commonjs/ui/components/menu/QualitySubMenu.js.map +0 -1
  175. package/lib/commonjs/ui/components/menu/SettingsMenuButton.js +0 -36
  176. package/lib/commonjs/ui/components/menu/SettingsMenuButton.js.map +0 -1
  177. package/lib/commonjs/ui/components/menu/barrel.js +0 -61
  178. package/lib/commonjs/ui/components/menu/barrel.js.map +0 -1
  179. package/lib/commonjs/ui/components/menu/common/MenuButton.js +0 -34
  180. package/lib/commonjs/ui/components/menu/common/MenuButton.js.map +0 -1
  181. package/lib/commonjs/ui/components/menu/common/MenuRadioButton.js +0 -47
  182. package/lib/commonjs/ui/components/menu/common/MenuRadioButton.js.map +0 -1
  183. package/lib/commonjs/ui/components/menu/common/MenuTitle.js +0 -38
  184. package/lib/commonjs/ui/components/menu/common/MenuTitle.js.map +0 -1
  185. package/lib/commonjs/ui/components/menu/common/MenuView.js +0 -75
  186. package/lib/commonjs/ui/components/menu/common/MenuView.js.map +0 -1
  187. package/lib/commonjs/ui/components/menu/common/ScrollableMenu.js +0 -45
  188. package/lib/commonjs/ui/components/menu/common/ScrollableMenu.js.map +0 -1
  189. package/lib/commonjs/ui/components/menu/common/SubMenuWithButton.js +0 -65
  190. package/lib/commonjs/ui/components/menu/common/SubMenuWithButton.js.map +0 -1
  191. package/lib/commonjs/ui/components/menu/common/barrel.js +0 -72
  192. package/lib/commonjs/ui/components/menu/common/barrel.js.map +0 -1
  193. package/lib/commonjs/ui/components/message/CastMessage.js +0 -79
  194. package/lib/commonjs/ui/components/message/CastMessage.js.map +0 -1
  195. package/lib/commonjs/ui/components/message/ErrorDisplay.js +0 -53
  196. package/lib/commonjs/ui/components/message/ErrorDisplay.js.map +0 -1
  197. package/lib/commonjs/ui/components/message/barrel.js +0 -28
  198. package/lib/commonjs/ui/components/message/barrel.js.map +0 -1
  199. package/lib/commonjs/ui/components/seekbar/SeekBar.js +0 -194
  200. package/lib/commonjs/ui/components/seekbar/SeekBar.js.map +0 -1
  201. package/lib/commonjs/ui/components/seekbar/barrel.js +0 -28
  202. package/lib/commonjs/ui/components/seekbar/barrel.js.map +0 -1
  203. package/lib/commonjs/ui/components/seekbar/thumbnail/SingleThumbnailView.js +0 -45
  204. package/lib/commonjs/ui/components/seekbar/thumbnail/SingleThumbnailView.js.map +0 -1
  205. package/lib/commonjs/ui/components/seekbar/thumbnail/Thumbnail.js +0 -18
  206. package/lib/commonjs/ui/components/seekbar/thumbnail/Thumbnail.js.map +0 -1
  207. package/lib/commonjs/ui/components/seekbar/thumbnail/ThumbnailView.js +0 -256
  208. package/lib/commonjs/ui/components/seekbar/thumbnail/ThumbnailView.js.map +0 -1
  209. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.js +0 -17
  210. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.js.map +0 -1
  211. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.web.js +0 -10
  212. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.web.js.map +0 -1
  213. package/lib/commonjs/ui/components/seekbar/thumbnail/barrel.js +0 -28
  214. package/lib/commonjs/ui/components/seekbar/thumbnail/barrel.js.map +0 -1
  215. package/lib/commonjs/ui/components/timelabel/StaticTimeLabel.js +0 -55
  216. package/lib/commonjs/ui/components/timelabel/StaticTimeLabel.js.map +0 -1
  217. package/lib/commonjs/ui/components/timelabel/TimeLabel.js +0 -88
  218. package/lib/commonjs/ui/components/timelabel/TimeLabel.js.map +0 -1
  219. package/lib/commonjs/ui/components/timelabel/barrel.js +0 -28
  220. package/lib/commonjs/ui/components/timelabel/barrel.js.map +0 -1
  221. package/lib/commonjs/ui/components/uicontroller/UiContainer.js +0 -350
  222. package/lib/commonjs/ui/components/uicontroller/UiContainer.js.map +0 -1
  223. package/lib/commonjs/ui/components/uicontroller/UiControls.js +0 -6
  224. package/lib/commonjs/ui/components/uicontroller/UiControls.js.map +0 -1
  225. package/lib/commonjs/ui/components/uicontroller/barrel.js +0 -28
  226. package/lib/commonjs/ui/components/uicontroller/barrel.js.map +0 -1
  227. package/lib/commonjs/ui/components/util/PlayerContext.js +0 -19
  228. package/lib/commonjs/ui/components/util/PlayerContext.js.map +0 -1
  229. package/lib/commonjs/ui/components/util/TrackUtils.js +0 -69
  230. package/lib/commonjs/ui/components/util/TrackUtils.js.map +0 -1
  231. package/lib/commonjs/ui/components/util/barrel.js +0 -17
  232. package/lib/commonjs/ui/components/util/barrel.js.map +0 -1
  233. package/lib/commonjs/ui/utils/ArrayUtils.js +0 -19
  234. package/lib/commonjs/ui/utils/ArrayUtils.js.map +0 -1
  235. package/lib/commonjs/ui/utils/language/Language.js +0 -38
  236. package/lib/commonjs/ui/utils/language/Language.js.map +0 -1
  237. package/lib/commonjs/ui/utils/language/languages.json +0 -1658
  238. package/lib/module/ui/THEOplayerDefaultUi.js +0 -74
  239. package/lib/module/ui/THEOplayerDefaultUi.js.map +0 -1
  240. package/lib/module/ui/THEOplayerTheme.js +0 -41
  241. package/lib/module/ui/THEOplayerTheme.js.map +0 -1
  242. package/lib/module/ui/barrel.js +0 -4
  243. package/lib/module/ui/barrel.js.map +0 -1
  244. package/lib/module/ui/components/activityindicator/CenteredDelayedActivityIndicator.js +0 -90
  245. package/lib/module/ui/components/activityindicator/CenteredDelayedActivityIndicator.js.map +0 -1
  246. package/lib/module/ui/components/activityindicator/DelayedActivityIndicator.js +0 -26
  247. package/lib/module/ui/components/activityindicator/DelayedActivityIndicator.js.map +0 -1
  248. package/lib/module/ui/components/activityindicator/barrel.js +0 -3
  249. package/lib/module/ui/components/activityindicator/barrel.js.map +0 -1
  250. package/lib/module/ui/components/barrel.js +0 -10
  251. package/lib/module/ui/components/barrel.js.map +0 -1
  252. package/lib/module/ui/components/button/AirplayButton.js +0 -72
  253. package/lib/module/ui/components/button/AirplayButton.js.map +0 -1
  254. package/lib/module/ui/components/button/ChromecastButton.js +0 -56
  255. package/lib/module/ui/components/button/ChromecastButton.js.map +0 -1
  256. package/lib/module/ui/components/button/ChromecastButton.web.js +0 -72
  257. package/lib/module/ui/components/button/ChromecastButton.web.js.map +0 -1
  258. package/lib/module/ui/components/button/FullscreenButton.js +0 -63
  259. package/lib/module/ui/components/button/FullscreenButton.js.map +0 -1
  260. package/lib/module/ui/components/button/MuteButton.js +0 -57
  261. package/lib/module/ui/components/button/MuteButton.js.map +0 -1
  262. package/lib/module/ui/components/button/PipButton.js +0 -63
  263. package/lib/module/ui/components/button/PipButton.js.map +0 -1
  264. package/lib/module/ui/components/button/PlayButton.js +0 -104
  265. package/lib/module/ui/components/button/PlayButton.js.map +0 -1
  266. package/lib/module/ui/components/button/SkipButton.js +0 -113
  267. package/lib/module/ui/components/button/SkipButton.js.map +0 -1
  268. package/lib/module/ui/components/button/actionbutton/ActionButton.js +0 -72
  269. package/lib/module/ui/components/button/actionbutton/ActionButton.js.map +0 -1
  270. package/lib/module/ui/components/button/barrel.js +0 -10
  271. package/lib/module/ui/components/button/barrel.js.map +0 -1
  272. package/lib/module/ui/components/button/svg/AirplaySvg.js +0 -12
  273. package/lib/module/ui/components/button/svg/AirplaySvg.js.map +0 -1
  274. package/lib/module/ui/components/button/svg/ArrowForwardSvg.js +0 -12
  275. package/lib/module/ui/components/button/svg/ArrowForwardSvg.js.map +0 -1
  276. package/lib/module/ui/components/button/svg/BackSvg.js +0 -12
  277. package/lib/module/ui/components/button/svg/BackSvg.js.map +0 -1
  278. package/lib/module/ui/components/button/svg/BackwardSvg.js +0 -12
  279. package/lib/module/ui/components/button/svg/BackwardSvg.js.map +0 -1
  280. package/lib/module/ui/components/button/svg/ChromecastSvg.js +0 -12
  281. package/lib/module/ui/components/button/svg/ChromecastSvg.js.map +0 -1
  282. package/lib/module/ui/components/button/svg/ErrorSvg.js +0 -12
  283. package/lib/module/ui/components/button/svg/ErrorSvg.js.map +0 -1
  284. package/lib/module/ui/components/button/svg/ForwardSvg.js +0 -12
  285. package/lib/module/ui/components/button/svg/ForwardSvg.js.map +0 -1
  286. package/lib/module/ui/components/button/svg/FullscreenEnterSvg.js +0 -12
  287. package/lib/module/ui/components/button/svg/FullscreenEnterSvg.js.map +0 -1
  288. package/lib/module/ui/components/button/svg/FullscreenExitSvg.js +0 -12
  289. package/lib/module/ui/components/button/svg/FullscreenExitSvg.js.map +0 -1
  290. package/lib/module/ui/components/button/svg/LanguageSvg.js +0 -12
  291. package/lib/module/ui/components/button/svg/LanguageSvg.js.map +0 -1
  292. package/lib/module/ui/components/button/svg/ListSvg.js +0 -12
  293. package/lib/module/ui/components/button/svg/ListSvg.js.map +0 -1
  294. package/lib/module/ui/components/button/svg/PauseSvg.js +0 -12
  295. package/lib/module/ui/components/button/svg/PauseSvg.js.map +0 -1
  296. package/lib/module/ui/components/button/svg/PipEnterSvg.js +0 -12
  297. package/lib/module/ui/components/button/svg/PipEnterSvg.js.map +0 -1
  298. package/lib/module/ui/components/button/svg/PipExitSvg.js +0 -12
  299. package/lib/module/ui/components/button/svg/PipExitSvg.js.map +0 -1
  300. package/lib/module/ui/components/button/svg/PlaySvg.js +0 -12
  301. package/lib/module/ui/components/button/svg/PlaySvg.js.map +0 -1
  302. package/lib/module/ui/components/button/svg/ReplaySvg.js +0 -12
  303. package/lib/module/ui/components/button/svg/ReplaySvg.js.map +0 -1
  304. package/lib/module/ui/components/button/svg/SettingsSvg.js +0 -12
  305. package/lib/module/ui/components/button/svg/SettingsSvg.js.map +0 -1
  306. package/lib/module/ui/components/button/svg/SvgUtils.js +0 -5
  307. package/lib/module/ui/components/button/svg/SvgUtils.js.map +0 -1
  308. package/lib/module/ui/components/button/svg/VolumeOffSvg.js +0 -12
  309. package/lib/module/ui/components/button/svg/VolumeOffSvg.js.map +0 -1
  310. package/lib/module/ui/components/button/svg/VolumeUpSvg.js +0 -12
  311. package/lib/module/ui/components/button/svg/VolumeUpSvg.js.map +0 -1
  312. package/lib/module/ui/components/button/svg/barrel.js +0 -21
  313. package/lib/module/ui/components/button/svg/barrel.js.map +0 -1
  314. package/lib/module/ui/components/button/svg/res/AirPlayButton.html +0 -6
  315. package/lib/module/ui/components/button/svg/res/Airplay.svg +0 -1
  316. package/lib/module/ui/components/button/svg/res/ChromecastButton.html +0 -25
  317. package/lib/module/ui/components/button/svg/res/arrow_forward.svg +0 -1
  318. package/lib/module/ui/components/button/svg/res/back.svg +0 -1
  319. package/lib/module/ui/components/button/svg/res/backward.svg +0 -1
  320. package/lib/module/ui/components/button/svg/res/chromecast-48px.svg +0 -1
  321. package/lib/module/ui/components/button/svg/res/close.svg +0 -1
  322. package/lib/module/ui/components/button/svg/res/error.svg +0 -1
  323. package/lib/module/ui/components/button/svg/res/forward.svg +0 -1
  324. package/lib/module/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
  325. package/lib/module/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
  326. package/lib/module/ui/components/button/svg/res/language.svg +0 -1
  327. package/lib/module/ui/components/button/svg/res/list.svg +0 -1
  328. package/lib/module/ui/components/button/svg/res/live.svg +0 -1
  329. package/lib/module/ui/components/button/svg/res/pause.svg +0 -1
  330. package/lib/module/ui/components/button/svg/res/pip_enter.svg +0 -1
  331. package/lib/module/ui/components/button/svg/res/pip_exit.svg +0 -1
  332. package/lib/module/ui/components/button/svg/res/play.svg +0 -1
  333. package/lib/module/ui/components/button/svg/res/replay.svg +0 -1
  334. package/lib/module/ui/components/button/svg/res/settings.svg +0 -1
  335. package/lib/module/ui/components/button/svg/res/skip-next.svg +0 -1
  336. package/lib/module/ui/components/button/svg/res/volume-high.svg +0 -1
  337. package/lib/module/ui/components/button/svg/res/volume-low.svg +0 -1
  338. package/lib/module/ui/components/button/svg/res/volume-off.svg +0 -1
  339. package/lib/module/ui/components/controlbar/ControlBar.js +0 -52
  340. package/lib/module/ui/components/controlbar/ControlBar.js.map +0 -1
  341. package/lib/module/ui/components/controlbar/Spacer.js +0 -14
  342. package/lib/module/ui/components/controlbar/Spacer.js.map +0 -1
  343. package/lib/module/ui/components/controlbar/barrel.js +0 -3
  344. package/lib/module/ui/components/controlbar/barrel.js.map +0 -1
  345. package/lib/module/ui/components/menu/LanguageMenuButton.js +0 -165
  346. package/lib/module/ui/components/menu/LanguageMenuButton.js.map +0 -1
  347. package/lib/module/ui/components/menu/PlaybackRateSubMenu.js +0 -80
  348. package/lib/module/ui/components/menu/PlaybackRateSubMenu.js.map +0 -1
  349. package/lib/module/ui/components/menu/QualitySubMenu.js +0 -135
  350. package/lib/module/ui/components/menu/QualitySubMenu.js.map +0 -1
  351. package/lib/module/ui/components/menu/SettingsMenuButton.js +0 -28
  352. package/lib/module/ui/components/menu/SettingsMenuButton.js.map +0 -1
  353. package/lib/module/ui/components/menu/barrel.js +0 -6
  354. package/lib/module/ui/components/menu/barrel.js.map +0 -1
  355. package/lib/module/ui/components/menu/common/MenuButton.js +0 -26
  356. package/lib/module/ui/components/menu/common/MenuButton.js.map +0 -1
  357. package/lib/module/ui/components/menu/common/MenuRadioButton.js +0 -38
  358. package/lib/module/ui/components/menu/common/MenuRadioButton.js.map +0 -1
  359. package/lib/module/ui/components/menu/common/MenuTitle.js +0 -29
  360. package/lib/module/ui/components/menu/common/MenuTitle.js.map +0 -1
  361. package/lib/module/ui/components/menu/common/MenuView.js +0 -65
  362. package/lib/module/ui/components/menu/common/MenuView.js.map +0 -1
  363. package/lib/module/ui/components/menu/common/ScrollableMenu.js +0 -36
  364. package/lib/module/ui/components/menu/common/ScrollableMenu.js.map +0 -1
  365. package/lib/module/ui/components/menu/common/SubMenuWithButton.js +0 -56
  366. package/lib/module/ui/components/menu/common/SubMenuWithButton.js.map +0 -1
  367. package/lib/module/ui/components/menu/common/barrel.js +0 -7
  368. package/lib/module/ui/components/menu/common/barrel.js.map +0 -1
  369. package/lib/module/ui/components/message/CastMessage.js +0 -70
  370. package/lib/module/ui/components/message/CastMessage.js.map +0 -1
  371. package/lib/module/ui/components/message/ErrorDisplay.js +0 -46
  372. package/lib/module/ui/components/message/ErrorDisplay.js.map +0 -1
  373. package/lib/module/ui/components/message/barrel.js +0 -3
  374. package/lib/module/ui/components/message/barrel.js.map +0 -1
  375. package/lib/module/ui/components/seekbar/SeekBar.js +0 -184
  376. package/lib/module/ui/components/seekbar/SeekBar.js.map +0 -1
  377. package/lib/module/ui/components/seekbar/barrel.js +0 -3
  378. package/lib/module/ui/components/seekbar/barrel.js.map +0 -1
  379. package/lib/module/ui/components/seekbar/thumbnail/SingleThumbnailView.js +0 -37
  380. package/lib/module/ui/components/seekbar/thumbnail/SingleThumbnailView.js.map +0 -1
  381. package/lib/module/ui/components/seekbar/thumbnail/Thumbnail.js +0 -11
  382. package/lib/module/ui/components/seekbar/thumbnail/Thumbnail.js.map +0 -1
  383. package/lib/module/ui/components/seekbar/thumbnail/ThumbnailView.js +0 -246
  384. package/lib/module/ui/components/seekbar/thumbnail/ThumbnailView.js.map +0 -1
  385. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.js +0 -2
  386. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.js.map +0 -1
  387. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.web.js +0 -4
  388. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.web.js.map +0 -1
  389. package/lib/module/ui/components/seekbar/thumbnail/barrel.js +0 -3
  390. package/lib/module/ui/components/seekbar/thumbnail/barrel.js.map +0 -1
  391. package/lib/module/ui/components/timelabel/StaticTimeLabel.js +0 -48
  392. package/lib/module/ui/components/timelabel/StaticTimeLabel.js.map +0 -1
  393. package/lib/module/ui/components/timelabel/TimeLabel.js +0 -78
  394. package/lib/module/ui/components/timelabel/TimeLabel.js.map +0 -1
  395. package/lib/module/ui/components/timelabel/barrel.js +0 -3
  396. package/lib/module/ui/components/timelabel/barrel.js.map +0 -1
  397. package/lib/module/ui/components/uicontroller/UiContainer.js +0 -336
  398. package/lib/module/ui/components/uicontroller/UiContainer.js.map +0 -1
  399. package/lib/module/ui/components/uicontroller/UiControls.js +0 -2
  400. package/lib/module/ui/components/uicontroller/UiControls.js.map +0 -1
  401. package/lib/module/ui/components/uicontroller/barrel.js +0 -3
  402. package/lib/module/ui/components/uicontroller/barrel.js.map +0 -1
  403. package/lib/module/ui/components/util/PlayerContext.js +0 -11
  404. package/lib/module/ui/components/util/PlayerContext.js.map +0 -1
  405. package/lib/module/ui/components/util/TrackUtils.js +0 -60
  406. package/lib/module/ui/components/util/TrackUtils.js.map +0 -1
  407. package/lib/module/ui/components/util/barrel.js +0 -2
  408. package/lib/module/ui/components/util/barrel.js.map +0 -1
  409. package/lib/module/ui/utils/ArrayUtils.js +0 -12
  410. package/lib/module/ui/utils/ArrayUtils.js.map +0 -1
  411. package/lib/module/ui/utils/language/Language.js +0 -27
  412. package/lib/module/ui/utils/language/Language.js.map +0 -1
  413. package/lib/module/ui/utils/language/languages.json +0 -1658
  414. package/lib/typescript/ui/THEOplayerDefaultUi.d.ts +0 -35
  415. package/lib/typescript/ui/THEOplayerTheme.d.ts +0 -84
  416. package/lib/typescript/ui/barrel.d.ts +0 -3
  417. package/lib/typescript/ui/components/activityindicator/CenteredDelayedActivityIndicator.d.ts +0 -25
  418. package/lib/typescript/ui/components/activityindicator/DelayedActivityIndicator.d.ts +0 -9
  419. package/lib/typescript/ui/components/activityindicator/barrel.d.ts +0 -2
  420. package/lib/typescript/ui/components/barrel.d.ts +0 -9
  421. package/lib/typescript/ui/components/button/AirplayButton.d.ts +0 -18
  422. package/lib/typescript/ui/components/button/ChromecastButton.d.ts +0 -19
  423. package/lib/typescript/ui/components/button/ChromecastButton.web.d.ts +0 -19
  424. package/lib/typescript/ui/components/button/FullscreenButton.d.ts +0 -17
  425. package/lib/typescript/ui/components/button/MuteButton.d.ts +0 -16
  426. package/lib/typescript/ui/components/button/PipButton.d.ts +0 -17
  427. package/lib/typescript/ui/components/button/PlayButton.d.ts +0 -28
  428. package/lib/typescript/ui/components/button/SkipButton.d.ts +0 -33
  429. package/lib/typescript/ui/components/button/actionbutton/ActionButton.d.ts +0 -41
  430. package/lib/typescript/ui/components/button/barrel.d.ts +0 -9
  431. package/lib/typescript/ui/components/button/svg/AirplaySvg.d.ts +0 -3
  432. package/lib/typescript/ui/components/button/svg/ArrowForwardSvg.d.ts +0 -3
  433. package/lib/typescript/ui/components/button/svg/BackSvg.d.ts +0 -3
  434. package/lib/typescript/ui/components/button/svg/BackwardSvg.d.ts +0 -3
  435. package/lib/typescript/ui/components/button/svg/ChromecastSvg.d.ts +0 -3
  436. package/lib/typescript/ui/components/button/svg/ErrorSvg.d.ts +0 -3
  437. package/lib/typescript/ui/components/button/svg/ForwardSvg.d.ts +0 -3
  438. package/lib/typescript/ui/components/button/svg/FullscreenEnterSvg.d.ts +0 -3
  439. package/lib/typescript/ui/components/button/svg/FullscreenExitSvg.d.ts +0 -3
  440. package/lib/typescript/ui/components/button/svg/LanguageSvg.d.ts +0 -3
  441. package/lib/typescript/ui/components/button/svg/ListSvg.d.ts +0 -3
  442. package/lib/typescript/ui/components/button/svg/PauseSvg.d.ts +0 -3
  443. package/lib/typescript/ui/components/button/svg/PipEnterSvg.d.ts +0 -3
  444. package/lib/typescript/ui/components/button/svg/PipExitSvg.d.ts +0 -3
  445. package/lib/typescript/ui/components/button/svg/PlaySvg.d.ts +0 -3
  446. package/lib/typescript/ui/components/button/svg/ReplaySvg.d.ts +0 -3
  447. package/lib/typescript/ui/components/button/svg/SettingsSvg.d.ts +0 -3
  448. package/lib/typescript/ui/components/button/svg/SvgUtils.d.ts +0 -3
  449. package/lib/typescript/ui/components/button/svg/VolumeOffSvg.d.ts +0 -3
  450. package/lib/typescript/ui/components/button/svg/VolumeUpSvg.d.ts +0 -3
  451. package/lib/typescript/ui/components/button/svg/barrel.d.ts +0 -20
  452. package/lib/typescript/ui/components/controlbar/ControlBar.d.ts +0 -39
  453. package/lib/typescript/ui/components/controlbar/Spacer.d.ts +0 -5
  454. package/lib/typescript/ui/components/controlbar/barrel.d.ts +0 -2
  455. package/lib/typescript/ui/components/menu/LanguageMenuButton.d.ts +0 -40
  456. package/lib/typescript/ui/components/menu/PlaybackRateSubMenu.d.ts +0 -36
  457. package/lib/typescript/ui/components/menu/QualitySubMenu.d.ts +0 -29
  458. package/lib/typescript/ui/components/menu/SettingsMenuButton.d.ts +0 -12
  459. package/lib/typescript/ui/components/menu/barrel.d.ts +0 -5
  460. package/lib/typescript/ui/components/menu/common/MenuButton.d.ts +0 -25
  461. package/lib/typescript/ui/components/menu/common/MenuRadioButton.d.ts +0 -33
  462. package/lib/typescript/ui/components/menu/common/MenuTitle.d.ts +0 -20
  463. package/lib/typescript/ui/components/menu/common/MenuView.d.ts +0 -21
  464. package/lib/typescript/ui/components/menu/common/ScrollableMenu.d.ts +0 -23
  465. package/lib/typescript/ui/components/menu/common/SubMenuWithButton.d.ts +0 -29
  466. package/lib/typescript/ui/components/menu/common/barrel.d.ts +0 -6
  467. package/lib/typescript/ui/components/message/CastMessage.d.ts +0 -16
  468. package/lib/typescript/ui/components/message/ErrorDisplay.d.ts +0 -12
  469. package/lib/typescript/ui/components/message/barrel.d.ts +0 -2
  470. package/lib/typescript/ui/components/seekbar/SeekBar.d.ts +0 -41
  471. package/lib/typescript/ui/components/seekbar/barrel.d.ts +0 -2
  472. package/lib/typescript/ui/components/seekbar/thumbnail/SingleThumbnailView.d.ts +0 -8
  473. package/lib/typescript/ui/components/seekbar/thumbnail/Thumbnail.d.ts +0 -56
  474. package/lib/typescript/ui/components/seekbar/thumbnail/ThumbnailView.d.ts +0 -60
  475. package/lib/typescript/ui/components/seekbar/thumbnail/Urlpolyfill.d.ts +0 -1
  476. package/lib/typescript/ui/components/seekbar/thumbnail/Urlpolyfill.web.d.ts +0 -8
  477. package/lib/typescript/ui/components/seekbar/thumbnail/barrel.d.ts +0 -2
  478. package/lib/typescript/ui/components/timelabel/StaticTimeLabel.d.ts +0 -24
  479. package/lib/typescript/ui/components/timelabel/TimeLabel.d.ts +0 -32
  480. package/lib/typescript/ui/components/timelabel/barrel.d.ts +0 -2
  481. package/lib/typescript/ui/components/uicontroller/UiContainer.d.ts +0 -115
  482. package/lib/typescript/ui/components/uicontroller/UiControls.d.ts +0 -14
  483. package/lib/typescript/ui/components/uicontroller/barrel.d.ts +0 -2
  484. package/lib/typescript/ui/components/util/PlayerContext.d.ts +0 -22
  485. package/lib/typescript/ui/components/util/TrackUtils.d.ts +0 -10
  486. package/lib/typescript/ui/components/util/barrel.d.ts +0 -1
  487. package/lib/typescript/ui/utils/ArrayUtils.d.ts +0 -2
  488. package/lib/typescript/ui/utils/language/Language.d.ts +0 -19
  489. package/src/ui/THEOplayerDefaultUi.tsx +0 -108
  490. package/src/ui/THEOplayerTheme.ts +0 -112
  491. package/src/ui/barrel.ts +0 -3
  492. package/src/ui/components/activityindicator/CenteredDelayedActivityIndicator.tsx +0 -96
  493. package/src/ui/components/activityindicator/DelayedActivityIndicator.tsx +0 -32
  494. package/src/ui/components/activityindicator/barrel.ts +0 -2
  495. package/src/ui/components/barrel.ts +0 -9
  496. package/src/ui/components/button/AirplayButton.tsx +0 -64
  497. package/src/ui/components/button/ChromecastButton.tsx +0 -60
  498. package/src/ui/components/button/ChromecastButton.web.tsx +0 -66
  499. package/src/ui/components/button/FullscreenButton.tsx +0 -60
  500. package/src/ui/components/button/MuteButton.tsx +0 -52
  501. package/src/ui/components/button/PipButton.tsx +0 -61
  502. package/src/ui/components/button/PlayButton.tsx +0 -107
  503. package/src/ui/components/button/SkipButton.tsx +0 -112
  504. package/src/ui/components/button/actionbutton/ActionButton.tsx +0 -105
  505. package/src/ui/components/button/barrel.ts +0 -9
  506. package/src/ui/components/button/svg/AirplaySvg.tsx +0 -18
  507. package/src/ui/components/button/svg/ArrowForwardSvg.tsx +0 -18
  508. package/src/ui/components/button/svg/BackSvg.tsx +0 -18
  509. package/src/ui/components/button/svg/BackwardSvg.tsx +0 -18
  510. package/src/ui/components/button/svg/ChromecastSvg.tsx +0 -18
  511. package/src/ui/components/button/svg/ErrorSvg.tsx +0 -18
  512. package/src/ui/components/button/svg/ForwardSvg.tsx +0 -18
  513. package/src/ui/components/button/svg/FullscreenEnterSvg.tsx +0 -18
  514. package/src/ui/components/button/svg/FullscreenExitSvg.tsx +0 -18
  515. package/src/ui/components/button/svg/LanguageSvg.tsx +0 -18
  516. package/src/ui/components/button/svg/ListSvg.tsx +0 -18
  517. package/src/ui/components/button/svg/PauseSvg.tsx +0 -18
  518. package/src/ui/components/button/svg/PipEnterSvg.tsx +0 -18
  519. package/src/ui/components/button/svg/PipExitSvg.tsx +0 -18
  520. package/src/ui/components/button/svg/PlaySvg.tsx +0 -18
  521. package/src/ui/components/button/svg/ReplaySvg.tsx +0 -18
  522. package/src/ui/components/button/svg/SettingsSvg.tsx +0 -18
  523. package/src/ui/components/button/svg/SvgUtils.ts +0 -4
  524. package/src/ui/components/button/svg/VolumeOffSvg.tsx +0 -18
  525. package/src/ui/components/button/svg/VolumeUpSvg.tsx +0 -18
  526. package/src/ui/components/button/svg/barrel.ts +0 -20
  527. package/src/ui/components/button/svg/res/AirPlayButton.html +0 -6
  528. package/src/ui/components/button/svg/res/Airplay.svg +0 -1
  529. package/src/ui/components/button/svg/res/ChromecastButton.html +0 -25
  530. package/src/ui/components/button/svg/res/arrow_forward.svg +0 -1
  531. package/src/ui/components/button/svg/res/back.svg +0 -1
  532. package/src/ui/components/button/svg/res/backward.svg +0 -1
  533. package/src/ui/components/button/svg/res/chromecast-48px.svg +0 -1
  534. package/src/ui/components/button/svg/res/close.svg +0 -1
  535. package/src/ui/components/button/svg/res/error.svg +0 -1
  536. package/src/ui/components/button/svg/res/forward.svg +0 -1
  537. package/src/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
  538. package/src/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
  539. package/src/ui/components/button/svg/res/language.svg +0 -1
  540. package/src/ui/components/button/svg/res/list.svg +0 -1
  541. package/src/ui/components/button/svg/res/live.svg +0 -1
  542. package/src/ui/components/button/svg/res/pause.svg +0 -1
  543. package/src/ui/components/button/svg/res/pip_enter.svg +0 -1
  544. package/src/ui/components/button/svg/res/pip_exit.svg +0 -1
  545. package/src/ui/components/button/svg/res/play.svg +0 -1
  546. package/src/ui/components/button/svg/res/replay.svg +0 -1
  547. package/src/ui/components/button/svg/res/settings.svg +0 -1
  548. package/src/ui/components/button/svg/res/skip-next.svg +0 -1
  549. package/src/ui/components/button/svg/res/volume-high.svg +0 -1
  550. package/src/ui/components/button/svg/res/volume-low.svg +0 -1
  551. package/src/ui/components/button/svg/res/volume-off.svg +0 -1
  552. package/src/ui/components/controlbar/ControlBar.tsx +0 -69
  553. package/src/ui/components/controlbar/Spacer.tsx +0 -9
  554. package/src/ui/components/controlbar/barrel.ts +0 -2
  555. package/src/ui/components/menu/LanguageMenuButton.tsx +0 -192
  556. package/src/ui/components/menu/PlaybackRateSubMenu.tsx +0 -93
  557. package/src/ui/components/menu/QualitySubMenu.tsx +0 -148
  558. package/src/ui/components/menu/SettingsMenuButton.tsx +0 -25
  559. package/src/ui/components/menu/barrel.ts +0 -5
  560. package/src/ui/components/menu/common/MenuButton.tsx +0 -49
  561. package/src/ui/components/menu/common/MenuRadioButton.tsx +0 -65
  562. package/src/ui/components/menu/common/MenuTitle.tsx +0 -37
  563. package/src/ui/components/menu/common/MenuView.tsx +0 -62
  564. package/src/ui/components/menu/common/ScrollableMenu.tsx +0 -43
  565. package/src/ui/components/menu/common/SubMenuWithButton.tsx +0 -58
  566. package/src/ui/components/menu/common/barrel.ts +0 -6
  567. package/src/ui/components/message/CastMessage.tsx +0 -74
  568. package/src/ui/components/message/ErrorDisplay.tsx +0 -43
  569. package/src/ui/components/message/barrel.ts +0 -2
  570. package/src/ui/components/seekbar/SeekBar.tsx +0 -178
  571. package/src/ui/components/seekbar/barrel.ts +0 -2
  572. package/src/ui/components/seekbar/thumbnail/SingleThumbnailView.tsx +0 -38
  573. package/src/ui/components/seekbar/thumbnail/Thumbnail.ts +0 -72
  574. package/src/ui/components/seekbar/thumbnail/ThumbnailView.tsx +0 -266
  575. package/src/ui/components/seekbar/thumbnail/Urlpolyfill.ts +0 -1
  576. package/src/ui/components/seekbar/thumbnail/Urlpolyfill.web.ts +0 -3
  577. package/src/ui/components/seekbar/thumbnail/barrel.ts +0 -2
  578. package/src/ui/components/timelabel/StaticTimeLabel.tsx +0 -63
  579. package/src/ui/components/timelabel/TimeLabel.tsx +0 -79
  580. package/src/ui/components/timelabel/barrel.ts +0 -2
  581. package/src/ui/components/uicontroller/UiContainer.tsx +0 -355
  582. package/src/ui/components/uicontroller/UiControls.ts +0 -31
  583. package/src/ui/components/uicontroller/barrel.ts +0 -2
  584. package/src/ui/components/util/PlayerContext.ts +0 -29
  585. package/src/ui/components/util/TrackUtils.ts +0 -62
  586. package/src/ui/components/util/barrel.ts +0 -1
  587. package/src/ui/utils/ArrayUtils.ts +0 -12
  588. package/src/ui/utils/language/Language.ts +0 -38
  589. package/src/ui/utils/language/languages.json +0 -1658
package/CHANGELOG.md CHANGED
@@ -5,6 +5,42 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.10.0] - 23-07-25
9
+
10
+ ### Fixed
11
+
12
+ - Fixed an issue on Android where the media button receiver would not accept button events in case multiple receivers are registered.
13
+ - Fixed an issue on Android where `react-native-theoplayer` would not build when depending on Android player SDK v5.6.0.
14
+ - Fixed an issue on Android where a `pause` event would not be dispatched when putting the app to the background during play-out of an ad, while background playback is enabled. The ad would also restart when bringing the app back to the foreground.
15
+
16
+ ### Changed
17
+
18
+ - Removed restrictions on media session playback actions for AndroidTV.
19
+ - Upgraded `react-native` version of the example app to `react-native-tvos@0.71.12-0`.
20
+
21
+ ### Added
22
+
23
+ - Added a `version` property to `THEOplayer` for querying the `player` version (e.g., `'5.5.0'`) and `playerSuite` (e.g., `'2023.3.0'`) versions.
24
+
25
+ ## [2.9.0] - 23-06-16
26
+
27
+ ### Changed
28
+
29
+ - Moved React Native UI to separate `@theoplayer/react-native-ui` package.
30
+
31
+ ### Removed
32
+
33
+ - Removed `react-native-theoplayer` dependencies on packages `@react-native-community/slider`, `react-native-google-cast`, `react-native-svg`, `react-native-svg-web`, `react-native-url-polyfill` and `url-polyfill`.
34
+
35
+ ### Added
36
+
37
+ - Added an overview of the available React Native connectors.
38
+
39
+ ### Fixed
40
+
41
+ - Fixed an issue on Android where the background media service would crash the app in case it was started from the background.
42
+ - Fixed an issue on iOS where the delayed contentId extraction resulted in an incorrect value being passed to the license request setup.
43
+
8
44
  ## [2.8.0] - 23-06-01
9
45
 
10
46
  ### Added
@@ -230,13 +266,30 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
230
266
  - Fixed missing `volumechange` events on mobile platforms.
231
267
  - Fixed an issue on iOS where after toggling the mute state during an ad playout, succeeding mute toggles had no effect.
232
268
 
233
- ## [1.8.2]
269
+ ## [1.8.4] - 23-04-27
270
+
271
+ ### Fixed
272
+
273
+ - Fixed an issue on Android where the `pause` event was not dispatched during play-out of an ad.
274
+
275
+ ### Added
276
+
277
+ - Added a `videoAspectRatio` property on the `THEOplayerView` for iOS and Android.
278
+ - Added a `PlayerEventTypes.WAITING` event that is dispatched when play-back stops due to lack of media data.
279
+
280
+ ## [1.8.3] - 23-04-06
281
+
282
+ ### Fixed
283
+
284
+ - Fixed an issue on Android where building the SDK would fail when depending on player SDK v5.x.
285
+
286
+ ## [1.8.2] - 23-04-05
234
287
 
235
288
  ### Fixed
236
289
 
237
290
  - Fixed an issue on Android where building the SDK would fail when depending on player SDK v4.12.0.
238
291
 
239
- ## [1.8.1]
292
+ ## [1.8.1] - 23-02-09
240
293
 
241
294
  ### Changed
242
295
 
@@ -249,7 +302,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
249
302
  - Fixed an issue on iOS where the player was not destroyed correctly on the iOS bridge.
250
303
  - Added support for `DRMConfig` through `SourceDescription` for SSAI sources on iOS.
251
304
 
252
- ## [1.8.0]
305
+ ## [1.8.0] - 23-01-16
253
306
 
254
307
  ### Added
255
308
 
@@ -264,20 +317,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
264
317
  - Upgraded Web SDK to v4.6.0.
265
318
  - Updated the custom build setup to support both iOS and tvOS.
266
319
 
267
- ## [1.7.2]
320
+ ## [1.7.2] - 22-12-05
268
321
 
269
322
  ### Fixed
270
323
 
271
324
  - Fixed an issue on tvOS where a feature flag was incorrectly used for ads-related code.
272
325
 
273
- ## [1.7.1]
326
+ ## [1.7.1] - 22-11-28
274
327
 
275
328
  ### Fixed
276
329
 
277
330
  - Fixed an issue on Android where the player would consider unusable custom drm integrations.
278
331
  - Fixed missing kotlin classpath property on Android.
279
332
 
280
- ## [1.7.0]
333
+ ## [1.7.0] - 22-11-23
281
334
 
282
335
  ### Added
283
336
 
@@ -295,13 +348,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
295
348
  - Fixed an issue in the example app where it would not be possible to select a specific text track.
296
349
  - Fixed conflicting npm dependencies in the example app.
297
350
 
298
- ## [1.6.1]
351
+ ## [1.6.1] - 22-10-07
299
352
 
300
353
  ### Added
301
354
 
302
355
  - Improved source handling for iOS.
303
356
 
304
- ## [1.6.0]
357
+ ## [1.6.0] - 22-09-28
305
358
 
306
359
  ### Fixed
307
360
 
@@ -313,7 +366,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
313
366
  - Excluded folders from bob build config.
314
367
  - Upgraded gradle versions for Android.
315
368
 
316
- ## [1.5.0]
369
+ ## [1.5.0] - 22-09-26
317
370
 
318
371
  ### Fixed
319
372
 
@@ -325,7 +378,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
325
378
  - Support for DRM pre-integrations on Android.
326
379
  - Support for additional source properties on Android: `liveOffset`, `hlsDateRange`, `timeServer` and `hls`.
327
380
 
328
- ## [1.4.0]
381
+ ## [1.4.0] - 22-08-11
329
382
 
330
383
  ### Fixed
331
384
 
@@ -336,7 +389,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
336
389
 
337
390
  - Improved determination of the stream source type on Android.
338
391
 
339
- ## [1.3.0]
392
+ ## [1.3.0] - 22-07-26
340
393
 
341
394
  ### Fixed
342
395
 
@@ -345,7 +398,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
345
398
  - Fixed documentation feature matrix.
346
399
  - Fixed duration scale in loadedmetadata event properties for Web.
347
400
 
348
- ## [1.2.0]
401
+ ## [1.2.0] - 22-06-30
349
402
 
350
403
  ### Fixed
351
404
 
@@ -353,7 +406,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
353
406
  - Fixed a number of broken links in the documentation.
354
407
  - Removed unused files.
355
408
 
356
- ## [1.1.0]
409
+ ## [1.1.0] - 22-06-06
357
410
 
358
411
  ### Added
359
412
 
package/README.md CHANGED
@@ -23,7 +23,8 @@ following platforms:
23
23
  - Web (currently only HTML5 browsers are tested)
24
24
 
25
25
  This document covers the creation of a minimal app including a `THEOplayerView` component,
26
- and an overview of the included example app with the `DefaultTHEOplayerUi`.
26
+ and an overview of the accompanying example app with a user interface provided
27
+ by the `@theoplayer/react-native-ui` package.
27
28
 
28
29
  It also gives a description of the properties of the `THEOplayerView` component, and
29
30
  a list of features and known limitations.
@@ -49,6 +50,20 @@ These are guides on how to use the THEOplayer React Native SDK in your React Nat
49
50
  linearly or by searching the specific section. It is recommended that you have a basic understanding of how
50
51
  React Native works to speed up the way of working with THEOplayer React Native SDK.
51
52
 
53
+ ## Available connectors
54
+
55
+ The `react-native-theoplayer` package can be combined with any number of connectors to provide extra
56
+ functionality. Currently, the following connectors are available:
57
+
58
+ | Package name | Purpose | Registry |
59
+ |------------------------------------------------------------------------------------------------------------------|-------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|
60
+ | [`@theoplayer/react-native-analytics-adobe`](https://github.com/THEOplayer/react-native-theoplayer-analytics) | Adobe analytics connector | [![npm](https://img.shields.io/npm/v/@theoplayer/react-native-analytics-adobe)](https://www.npmjs.com/package/@theoplayer/react-native-analytics-adobe) |
61
+ | [`@theoplayer/react-native-analytics-comscore`](https://github.com/THEOplayer/react-native-theoplayer-analytics) | Comscore analytics connector | [![npm](https://img.shields.io/npm/v/@theoplayer/react-native-analytics-comscore)](https://www.npmjs.com/package/@theoplayer/react-native-analytics-comscore) |
62
+ | [`@theoplayer/react-native-analytics-conviva`](https://github.com/THEOplayer/react-native-theoplayer-analytics) | Conviva analytics connector | [![npm](https://img.shields.io/npm/v/@theoplayer/react-native-analytics-conviva)](https://www.npmjs.com/package/@theoplayer/react-native-analytics-conviva) |
63
+ | [`@theoplayer/react-native-analytics-nielsen`](https://github.com/THEOplayer/react-native-theoplayer-analytics) | Nielsen analytics connector | [![npm](https://img.shields.io/npm/v/@theoplayer/react-native-analytics-nielsen)](https://www.npmjs.com/package/@theoplayer/react-native-analytics-nielsen) |
64
+ | [`@theoplayer/react-native-drm`](https://github.com/THEOplayer/react-native-theoplayer-drm) | Content protection (DRM) connectors | [![npm](https://img.shields.io/npm/v/@theoplayer/react-native-drm)](https://www.npmjs.com/package/@theoplayer/react-native-drm) |
65
+ | [`@theoplayer/react-native-ui`](https://github.com/THEOplayer/react-native-theoplayer-ui) | React Native user interface | [![npm](https://img.shields.io/npm/v/@theoplayer/react-native-ui)](https://www.npmjs.com/package/@theoplayer/react-native-ui) |
66
+
52
67
  ## Getting Started
53
68
 
54
69
  This section starts with creating a minimal demo app that integrates the `react-native-theoplayer` package,
@@ -61,7 +76,6 @@ and discussed in the next section. Finally, an overview of features, limitations
61
76
  - [Getting started on Android](./doc/creating-minimal-app.md#getting-started-on-android)
62
77
  - [Getting started on iOS](./doc/creating-minimal-app.md#getting-started-on-ios-and-tvos)
63
78
  - [Getting started on Web](./doc/creating-minimal-app.md#getting-started-on-web)
64
- - [Getting started with the UI](./doc/ui.md)
65
79
  - [The THEOplayerView component](./doc/theoplayerview-component.md)
66
80
  - [The example application](./doc/example-app.md)
67
81
  - [Features](./doc/features.md)
@@ -40,7 +40,7 @@
40
40
  </intent-filter>
41
41
  </service>
42
42
 
43
- <receiver android:name="com.theoplayer.media.CustomMediaButtonReceiver"
43
+ <receiver android:name="androidx.media.session.MediaButtonReceiver"
44
44
  android:exported="false">
45
45
  <intent-filter>
46
46
  <action android:name="android.intent.action.MEDIA_BUTTON" />
@@ -6,9 +6,11 @@ import androidx.annotation.StringDef
6
6
  import com.facebook.react.bridge.Arguments
7
7
  import com.facebook.react.bridge.ReactApplicationContext
8
8
  import com.facebook.react.bridge.WritableMap
9
+ import com.facebook.react.bridge.WritableNativeMap
9
10
  import com.facebook.react.uimanager.events.ReactEventEmitter
10
11
  import com.theoplayer.ads.AdEventAdapter
11
12
  import com.theoplayer.ads.AdEventAdapter.AdEventEmitter
13
+ import com.theoplayer.android.api.THEOplayerGlobal
12
14
  import com.theoplayer.android.api.error.THEOplayerException
13
15
  import com.theoplayer.android.api.event.EventListener
14
16
  import com.theoplayer.android.api.event.EventType
@@ -76,6 +78,8 @@ private const val EVENT_VOLUMECHANGE = "onNativeVolumeChange"
76
78
 
77
79
  private const val EVENT_PROP_TYPE = "type"
78
80
  private const val EVENT_PROP_STATE = "state"
81
+ private const val EVENT_PROP_VERSION = "version"
82
+ private const val EVENT_PROP_SUITE_VERSION = "playerSuiteVersion"
79
83
 
80
84
  @Suppress("UNCHECKED_CAST")
81
85
  class PlayerEventEmitter internal constructor(
@@ -273,15 +277,12 @@ class PlayerEventEmitter internal constructor(
273
277
  .source(player.source)
274
278
  .currentTime(player.currentTime)
275
279
  .currentProgramDateTime(player.currentProgramDateTime)
276
- // .presentationMode()
277
280
  .paused(player.isPaused)
278
281
  .playbackRate(player.playbackRate)
279
282
  .duration(player.duration)
280
283
  .volume(player.volume, player.isMuted)
281
284
  .seekable(player.seekable)
282
285
  .buffered(player.buffered)
283
- // .error(player.error)
284
- // .readyState(player.readyState)
285
286
  .textTracks(player.textTracks)
286
287
  .audioTracks(player.audioTracks)
287
288
  .videoTracks(player.videoTracks)
@@ -290,6 +291,10 @@ class PlayerEventEmitter internal constructor(
290
291
  .selectedVideoTrack(getSelectedVideoTrack(player))
291
292
  .build()
292
293
  )
294
+ payload.putMap(EVENT_PROP_VERSION, WritableNativeMap().apply {
295
+ putString(EVENT_PROP_VERSION, THEOplayerGlobal.getVersion())
296
+ putString(EVENT_PROP_SUITE_VERSION, THEOplayerGlobal.getPlayerSuiteVersion())
297
+ })
293
298
 
294
299
  // Notify the player is ready
295
300
  receiveEvent(EVENT_PLAYER_READY, payload)
@@ -1,10 +1,12 @@
1
1
  package com.theoplayer
2
2
 
3
+ import android.app.UiModeManager
3
4
  import android.content.ComponentName
4
5
  import android.content.Context
5
6
  import android.content.Intent
6
7
  import android.content.ServiceConnection
7
8
  import android.content.pm.PackageManager
9
+ import android.content.res.Configuration
8
10
  import android.os.Handler
9
11
  import android.os.IBinder
10
12
  import android.os.Looper
@@ -59,6 +61,10 @@ class ReactTHEOplayerContext private constructor(
59
61
  val player: Player
60
62
  get() = playerView.player
61
63
 
64
+ private val uiModeManager by lazy {
65
+ reactContext.getSystemService(Context.UI_MODE_SERVICE) as? UiModeManager
66
+ }
67
+
62
68
  var daiIntegration: GoogleDaiIntegration? = null
63
69
  var imaIntegration: GoogleImaIntegration? = null
64
70
  var castIntegration: CastIntegration? = null
@@ -66,6 +72,8 @@ class ReactTHEOplayerContext private constructor(
66
72
 
67
73
  private val isBackgroundAudioEnabled: Boolean
68
74
  get() = backgroundAudioConfig.enabled
75
+ private val isTV: Boolean
76
+ get() = uiModeManager?.currentModeType == Configuration.UI_MODE_TYPE_TELEVISION
69
77
 
70
78
  companion object {
71
79
  fun create(
@@ -112,6 +120,8 @@ class ReactTHEOplayerContext private constructor(
112
120
  config: BackgroundAudioConfig,
113
121
  prevConfig: BackgroundAudioConfig?
114
122
  ) {
123
+ playerView.settings.setAllowBackgroundPlayback(config.enabled)
124
+
115
125
  if (prevConfig?.enabled == config.enabled) {
116
126
  // No changes
117
127
  return
@@ -136,7 +146,7 @@ class ReactTHEOplayerContext private constructor(
136
146
  // Reduce allowed set of remote control playback actions for ads & live streams.
137
147
  val isLive = player.duration.isInfinite()
138
148
  val isInAd = player.ads.isPlaying
139
- mediaSessionConnector?.enabledPlaybackActions = if (isInAd || isLive) {
149
+ mediaSessionConnector?.enabledPlaybackActions = if (isInAd || isLive && !isTV) {
140
150
  0
141
151
  } else {
142
152
  ALLOWED_PLAYBACK_ACTIONS
@@ -312,9 +322,9 @@ class ReactTHEOplayerContext private constructor(
312
322
  fun onHostPause() {
313
323
  // Keep current playing state when going to background
314
324
  wasPlayingOnHostPause = !player.isPaused
315
-
325
+ playerView.onPause()
316
326
  if (!isBackgroundAudioEnabled) {
317
- playerView.onPause()
327
+ mediaSessionConnector?.setActive(false)
318
328
  }
319
329
  }
320
330
 
@@ -322,10 +332,8 @@ class ReactTHEOplayerContext private constructor(
322
332
  * The host activity is resumed.
323
333
  */
324
334
  fun onHostResume() {
325
- if (!isBackgroundAudioEnabled) {
326
- mediaSessionConnector?.setActive(true)
327
- playerView.onResume()
328
- }
335
+ mediaSessionConnector?.setActive(true)
336
+ playerView.onResume()
329
337
  }
330
338
 
331
339
  fun destroy() {
@@ -11,6 +11,7 @@ import android.support.v4.media.session.MediaSessionCompat
11
11
  import android.support.v4.media.session.PlaybackStateCompat
12
12
  import android.util.Log
13
13
  import androidx.core.app.NotificationCompat
14
+ import androidx.core.app.NotificationCompat.FOREGROUND_SERVICE_IMMEDIATE
14
15
  import androidx.core.content.ContextCompat
15
16
  import androidx.media.session.MediaButtonReceiver
16
17
  import com.facebook.common.executors.UiThreadImmediateExecutorService
@@ -81,6 +82,10 @@ class MediaNotificationBuilder(
81
82
  }
82
83
  builder.apply {
83
84
 
85
+ // Fix for a bug where ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK that was passed
86
+ // with the startForeground call got ignored.
87
+ foregroundServiceBehavior = FOREGROUND_SERVICE_IMMEDIATE
88
+
84
89
  // Add the metadata for the currently playing track
85
90
  mediaSession.controller.metadata?.description?.let {
86
91
  setContentTitle(it.title)
@@ -1,9 +1,8 @@
1
1
  package com.theoplayer.media
2
2
 
3
- import android.app.NotificationManager
4
- import android.app.PendingIntent
5
- import android.app.Service
3
+ import android.app.*
6
4
  import android.content.Intent
5
+ import android.content.pm.ServiceInfo
7
6
  import android.os.Binder
8
7
  import android.os.Build
9
8
  import android.os.Bundle
@@ -12,6 +11,7 @@ import android.support.v4.media.MediaBrowserCompat
12
11
  import android.support.v4.media.session.MediaSessionCompat
13
12
  import android.support.v4.media.session.PlaybackStateCompat
14
13
  import android.text.TextUtils
14
+ import android.util.Log
15
15
  import androidx.core.content.ContextCompat
16
16
  import androidx.media.MediaBrowserServiceCompat
17
17
  import androidx.media.session.MediaButtonReceiver
@@ -85,10 +85,16 @@ class MediaPlaybackService : MediaBrowserServiceCompat() {
85
85
 
86
86
  // This ensures that the service starts and continues to run, even when all
87
87
  // UI MediaBrowser activities that are bound to it unbind.
88
- ContextCompat.startForegroundService(
89
- applicationContext,
90
- Intent(applicationContext, MediaPlaybackService::class.java)
91
- )
88
+ try {
89
+ ContextCompat.startForegroundService(
90
+ applicationContext,
91
+ Intent(applicationContext, MediaPlaybackService::class.java)
92
+ )
93
+ } catch (e: IllegalStateException) {
94
+ // Make sure that app does not crash in case anything goes wrong with starting the service.
95
+ // https://issuetracker.google.com/issues/229000935
96
+ Log.w(TAG, "Failed to start foreground service: ${e.message}")
97
+ }
92
98
 
93
99
  updateNotification(PlaybackStateCompat.STATE_PLAYING)
94
100
  }
@@ -260,7 +266,24 @@ class MediaPlaybackService : MediaBrowserServiceCompat() {
260
266
  // information from the session's metadata.
261
267
  // Fetch large icon asynchronously
262
268
  fetchImageFromUri(mediaSession.controller.metadata?.description?.iconUri) { largeIcon ->
263
- startForeground(NOTIFICATION_ID, notificationBuilder.build(playbackState, largeIcon, enableMediaControls))
269
+ try {
270
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
271
+ startForeground(
272
+ NOTIFICATION_ID,
273
+ notificationBuilder.build(playbackState, largeIcon, enableMediaControls),
274
+ ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK
275
+ )
276
+ } else {
277
+ startForeground(
278
+ NOTIFICATION_ID,
279
+ notificationBuilder.build(playbackState, largeIcon, enableMediaControls)
280
+ )
281
+ }
282
+ } catch (e: IllegalStateException) {
283
+ // Make sure that app does not crash in case anything goes wrong with starting the service.
284
+ // https://issuetracker.google.com/issues/229000935
285
+ Log.w(TAG, "Failed to start foreground service: ${e.message}")
286
+ }
264
287
  }
265
288
  }
266
289
  PlaybackStateCompat.STATE_STOPPED -> {
@@ -17,6 +17,7 @@ import com.theoplayer.util.ViewResolver
17
17
 
18
18
  private const val TAG = "PlayerModule"
19
19
 
20
+ @Suppress("unused")
20
21
  class PlayerModule(context: ReactApplicationContext) : ReactContextBaseJavaModule(context) {
21
22
  private val viewResolver: ViewResolver
22
23
 
@@ -46,8 +46,8 @@ class PipUtils(
46
46
  ) {
47
47
 
48
48
  private var enabled: Boolean = false
49
- private var onPlayerAction: EventListener<PlayerEvent<*>>? = null
50
- private var onAdAction: EventListener<GoogleImaAdEvent>? = null
49
+ private var onPlayerAction: EventListener<PlayerEvent<*>>
50
+ private var onAdAction: EventListener<GoogleImaAdEvent>
51
51
  private val playerEvents = listOf(PlayerEventTypes.PLAY, PlayerEventTypes.PAUSE)
52
52
  private var adEvents = listOf<GoogleImaAdEventType>()
53
53
  private val broadcastReceiver: BroadcastReceiver = buildBroadcastReceiver()
@@ -87,8 +87,15 @@ public class THEOplayerRCTView: UIView {
87
87
 
88
88
  private func notifyNativePlayerReady() {
89
89
  DispatchQueue.main.async {
90
+ let versionString = THEOplayer.version
91
+ let suiteVersionString = THEOplayer.playerSuiteVersion
90
92
  if let forwardedNativeReady = self.onNativePlayerReady {
91
- forwardedNativeReady([:])
93
+ forwardedNativeReady([
94
+ "version": [
95
+ "version" : versionString,
96
+ "playerSuiteVersion": suiteVersionString
97
+ ],
98
+ ])
92
99
  }
93
100
  }
94
101
  }
@@ -23,7 +23,6 @@ class THEOplayerRCTProxyContentProtectionIntegration: THEOplayerSDK.ContentProte
23
23
  private weak var contentProtectionAPI: THEOplayerRCTContentProtectionAPI?
24
24
  private var integrationId: String!
25
25
  private var keySystemId: String!
26
- private var skdUrl: String?
27
26
  private var drmConfig: THEOplayerSDK.DRMConfiguration
28
27
  private var certificateResponseFinal = false
29
28
  private var licenseResponseFinal = false
@@ -87,32 +86,17 @@ class THEOplayerRCTProxyContentProtectionIntegration: THEOplayerSDK.ContentProte
87
86
 
88
87
  func onLicenseRequest(request: LicenseRequest, callback: LicenseRequestCallback) {
89
88
  if DEBUG_CONTENT_PROTECTION_API { print(PROXY_INTEGRATION_TAG, "THEOplayer triggered an onLicenseRequest") }
90
- guard let skdUrl = self.skdUrl else {
91
- callback.error(error: ProxyIntegrationError.licenseRequestHandlingFailed)
92
- return
93
- }
94
89
  self.licenseResponseFinal = false
95
-
96
- // First, extract contentId
97
- self.contentProtectionAPI?.handleExtractFairplayContentId(integrationId: self.integrationId, keySystemId: self.keySystemId, skdUrl: skdUrl) { contentId, error in
90
+ self.contentProtectionAPI?.handleLicenseRequest(integrationId: self.integrationId, keySystemId: self.keySystemId, licenseRequest: request) { licenseData, error in
98
91
  if let error = error {
99
- print(PROXY_INTEGRATION_TAG, "We encountered an issue while extracting the fairplay contentId: \(error.localizedDescription)")
100
- callback.error(error: ProxyIntegrationError.licenseRequestHandlingFailed)
92
+ callback.error(error: error)
93
+ return
94
+ }
95
+ if let data = licenseData {
96
+ self.licenseResponseFinal = true
97
+ callback.respond(license: data)
101
98
  } else {
102
- // Next, handle onLicenseRequest
103
- if DEBUG_CONTENT_PROTECTION_API { print(PROXY_INTEGRATION_TAG, "Received extracted fairplay contentId \(contentId) on RN bridge") }
104
- self.contentProtectionAPI?.handleLicenseRequest(integrationId: self.integrationId, keySystemId: self.keySystemId, licenseRequest: request) { licenseData, error in
105
- if let error = error {
106
- callback.error(error: error)
107
- return
108
- }
109
- if let data = licenseData {
110
- self.licenseResponseFinal = true
111
- callback.respond(license: data)
112
- } else {
113
- callback.error(error: ProxyIntegrationError.licenseRequestHandlingFailed)
114
- }
115
- }
99
+ callback.error(error: ProxyIntegrationError.licenseRequestHandlingFailed)
116
100
  }
117
101
  }
118
102
  }
@@ -139,12 +123,18 @@ class THEOplayerRCTProxyContentProtectionIntegration: THEOplayerSDK.ContentProte
139
123
  }
140
124
  }
141
125
 
142
- func extractFairplayContentId(skdUrl: String) -> String {
126
+ func onExtractFairplayContentId(skdUrl: String, callback: ExtractContentIdCallback) {
143
127
  if DEBUG_CONTENT_PROTECTION_API { print(PROXY_INTEGRATION_TAG, "THEOplayer triggered an extractFairplayContentId") }
144
- if DEBUG_CONTENT_PROTECTION_API { print(PROXY_INTEGRATION_TAG, "Storing skdUrl: \(skdUrl)") }
145
- // We cannot handle this synchronously and store the skdUrl for later, asynchronous contentId extraction
146
- self.skdUrl = skdUrl
147
- return skdUrl
128
+ self.contentProtectionAPI?.handleExtractFairplayContentId(integrationId: self.integrationId, keySystemId: self.keySystemId, skdUrl: skdUrl) { contentId, error in
129
+ if let error = error {
130
+ print(PROXY_INTEGRATION_TAG, "We encountered an issue while extracting the fairplay contentId: \(error.localizedDescription)")
131
+ callback.error(error: error)
132
+ } else {
133
+ // Next, handle onLicenseRequest
134
+ if DEBUG_CONTENT_PROTECTION_API { print(PROXY_INTEGRATION_TAG, "Received extracted fairplay contentId \(contentId) on RN bridge") }
135
+ callback.respond(contentID: contentId.data(using: .utf8))
136
+ }
137
+ }
148
138
  }
149
139
 
150
140
  // MARK: local certificate handling
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["Chromecast.ts"],"sourcesContent":["/**\n * The Airplay API.\n *\n * @public\n */\nimport type { CastState } from './CastState';\n\nexport interface Chromecast {\n /**\n * Whether the player is connected with a chromecast device.\n */\n readonly casting: boolean;\n\n /**\n * The state of the casting process.\n */\n readonly state: CastState;\n\n /**\n * Start a casting session with the player's source.\n *\n * @remarks\n * <br/> - A native browser pop-up will prompt to choose a chromecast device.\n */\n start(): void;\n\n /**\n * Stop the active casting session.\n */\n stop(): void;\n\n /**\n * Join an active casting session.\n */\n join(): void;\n\n /**\n * Leave the active casting session.\n *\n * @remarks\n * <br/> - Does not stop the session when other devices are connected.\n * <br/> - Use {@link stop} to fully stop the session.\n */\n leave(): void;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sources":["Chromecast.ts"],"sourcesContent":["/**\n * The Chromecast API.\n *\n * @public\n */\nimport type { CastState } from './CastState';\n\nexport interface Chromecast {\n /**\n * Whether the player is connected with a chromecast device.\n */\n readonly casting: boolean;\n\n /**\n * The state of the casting process.\n */\n readonly state: CastState;\n\n /**\n * Start a casting session with the player's source.\n *\n * @remarks\n * <br/> - A native browser pop-up will prompt to choose a chromecast device.\n */\n start(): void;\n\n /**\n * Stop the active casting session.\n */\n stop(): void;\n\n /**\n * Join an active casting session.\n */\n join(): void;\n\n /**\n * Leave the active casting session.\n *\n * @remarks\n * <br/> - Does not stop the session when other devices are connected.\n * <br/> - Use {@link stop} to fully stop the session.\n */\n leave(): void;\n}\n"],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=PlayerVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["PlayerVersion.ts"],"sourcesContent":["export interface PlayerVersion {\n /**\n * The version of the THEOplayer SDK.\n *\n * @public\n */\n readonly version: string;\n\n /**\n * The player suite version of the THEOplayer SDK.\n *\n * @public\n */\n readonly playerSuiteVersion: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"names":["AspectRatio","exports"],"sources":["THEOplayer.ts"],"sourcesContent":["import type { EventDispatcher } from '../event/EventDispatcher';\nimport type { PlayerEventMap } from './PlayerEventMap';\nimport type { ABRConfiguration } from '../abr/ABRConfiguration';\nimport type { SourceDescription } from '../source/SourceDescription';\nimport type { AdsAPI } from '../ads/AdsAPI';\nimport type { CastAPI } from '../cast/CastAPI';\nimport type { MediaTrack } from '../track/MediaTrack';\nimport type { TextTrack } from '../track/TextTrack';\nimport type { TimeRange } from '../timeranges/TimeRange';\nimport type { TextTrackStyle } from '../track/TextTrackStyle';\nimport type { PresentationMode } from '../presentation/PresentationMode';\nimport type { PiPConfiguration } from '../pip/PiPConfiguration';\nimport type { BackgroundAudioConfiguration } from '../backgroundAudio/BackgroundAudioConfiguration';\n\nexport type PreloadType = 'none' | 'metadata' | 'auto' | '';\n\n/**\n * Specifies an aspect ratio for the player.\n *\n * <br/> - `FIT` (default): Scales the player so that all content fits inside its bounding box, keeping the original aspect ratio of the content..\n * <br/> - `FILL`: Scales the player so that all content fits inside the bounding box, which will be stretched to fill it entirely.\n * <br/> - `ASPECT_FILL`: Scales the player so that the content fills up the entire bounding box, keeping the original aspect ratio of the content.\n *\n * @public\n * @defaultValue `'FIT'`\n */\nexport enum AspectRatio {\n FIT = 'fit',\n FILL = 'fill',\n ASPECT_FILL = 'aspectFill',\n}\n\nexport type NativeHandleType = unknown;\n\n/**\n * The THEOplayer API.\n */\nexport interface THEOplayer extends EventDispatcher<PlayerEventMap> {\n /**\n * The player's adaptive bitrate (ABR) configuration.\n *\n * @remarks\n * <br/> - This property is supported on Android & Web platforms only.\n */\n readonly abr: ABRConfiguration | undefined;\n\n /**\n * A source description that determines the current media resource.\n */\n source: SourceDescription | undefined;\n\n /**\n * Start or resume playback.\n */\n play(): void;\n\n /**\n * Pause playback.\n */\n pause(): void;\n\n /**\n * Whether the player is paused.\n */\n readonly paused: boolean;\n\n /**\n * Whether the player should immediately start playback after source change.\n */\n autoplay: boolean;\n\n /**\n * The preload setting of the player.\n */\n preload: PreloadType;\n\n /**\n * Returns a list of TimeRanges that represents the ranges of the media resource that are seekable by the player.\n */\n seekable: TimeRange[];\n\n /**\n * Returns a list of TimeRanges that represents the ranges of the media resource that are buffered by the player.\n */\n buffered: TimeRange[];\n\n /**\n * Used to set the playback rate of the media.\n *\n * @example\n * <br/> - `playbackRate = 0.70` will slow down the playback rate of the media by 30%.\n * <br/> - `playbackRate = 1.25` will speed up the playback rate of the media by 25%.\n *\n * @remarks\n * <br/> - Playback rate is represented by a number where `1` is default playback speed.\n * <br/> - Playback rate must be a positive number.\n * <br/> - It is recommended that you limit the range to between 0.5 and 4.\n */\n playbackRate: number;\n\n /**\n * Used to set the volume of the audio.\n *\n * @remarks\n * <br/> - Volume is represented by a floating point number between `0.0` and `1.0`.\n */\n volume: number;\n\n /**\n * Determines whether audio is muted.\n */\n muted: boolean;\n\n /**\n * Whether the player is seeking.\n */\n readonly seeking: boolean;\n\n /**\n * The PresentationMode of the player. Can be switched to: `picture-in-picture`, `fullscreen` or `inline`\n */\n presentationMode: PresentationMode;\n\n /**\n * List of audio tracks of the current source.\n */\n audioTracks: MediaTrack[];\n\n /**\n * List of video tracks of the current source.\n */\n videoTracks: MediaTrack[];\n\n /**\n * List of text tracks of the current source.\n */\n textTracks: TextTrack[];\n\n /**\n * Used to set the current selected text track by passing its `uid`, or `undefined` to select none.\n */\n selectedTextTrack: number | undefined;\n\n /**\n * The text track style API.\n *\n * @remarks\n * Only available for Web.\n */\n readonly textTrackStyle: TextTrackStyle;\n\n /**\n * Used to set the current selected video track by passing its `uid`, or `undefined` to select none.\n */\n selectedVideoTrack: number | undefined;\n\n /**\n * Used to set the current selected video quality by passing its `uid`, or `undefined` to select none.\n */\n targetVideoQuality: number | number[] | undefined;\n\n /**\n * Used to set the current selected audio track by passing its `uid`, or `undefined` to select none.\n */\n selectedAudioTrack: number | undefined;\n\n /**\n * The current playback position of the media, in milliseconds.\n */\n currentTime: number;\n\n /**\n * Used to set the aspect ratio of the player.\n *\n * @remarks\n * Only available for iOS and Android.\n */\n aspectRatio: AspectRatio;\n\n /**\n * The active configuration for PiP.\n */\n pipConfiguration: PiPConfiguration;\n\n /**\n * The active configuration for PiP.\n */\n backgroundAudioConfiguration: BackgroundAudioConfiguration;\n\n /**\n * The duration of the media, in milliseconds.\n */\n readonly duration: number;\n\n /**\n * The API for advertisements.\n */\n readonly ads: AdsAPI;\n\n /**\n * The API for casting devices.\n */\n readonly cast: CastAPI;\n\n /**\n * Native player handle.\n */\n readonly nativeHandle: NativeHandleType;\n}\n"],"mappings":";;;;;;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA,IAUYA,WAAW;AAAAC,OAAA,CAAAD,WAAA,GAAAA,WAAA;AAAA,WAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAAC,OAAA,CAAAD,WAAA,GAAXA,WAAW"}
1
+ {"version":3,"names":["AspectRatio","exports"],"sources":["THEOplayer.ts"],"sourcesContent":["import type { EventDispatcher } from '../event/EventDispatcher';\nimport type { PlayerEventMap } from './PlayerEventMap';\nimport type { ABRConfiguration } from '../abr/ABRConfiguration';\nimport type { SourceDescription } from '../source/SourceDescription';\nimport type { AdsAPI } from '../ads/AdsAPI';\nimport type { CastAPI } from '../cast/CastAPI';\nimport type { MediaTrack } from '../track/MediaTrack';\nimport type { TextTrack } from '../track/TextTrack';\nimport type { TimeRange } from '../timeranges/TimeRange';\nimport type { TextTrackStyle } from '../track/TextTrackStyle';\nimport type { PresentationMode } from '../presentation/PresentationMode';\nimport type { PiPConfiguration } from '../pip/PiPConfiguration';\nimport type { BackgroundAudioConfiguration } from '../backgroundAudio/BackgroundAudioConfiguration';\nimport type { PlayerVersion } from './PlayerVersion';\n\nexport type PreloadType = 'none' | 'metadata' | 'auto' | '';\n\n/**\n * Specifies an aspect ratio for the player.\n *\n * <br/> - `FIT` (default): Scales the player so that all content fits inside its bounding box, keeping the original aspect ratio of the content..\n * <br/> - `FILL`: Scales the player so that all content fits inside the bounding box, which will be stretched to fill it entirely.\n * <br/> - `ASPECT_FILL`: Scales the player so that the content fills up the entire bounding box, keeping the original aspect ratio of the content.\n *\n * @public\n * @defaultValue `'FIT'`\n */\nexport enum AspectRatio {\n FIT = 'fit',\n FILL = 'fill',\n ASPECT_FILL = 'aspectFill',\n}\n\nexport type NativeHandleType = unknown;\n\n/**\n * The THEOplayer API.\n */\nexport interface THEOplayer extends EventDispatcher<PlayerEventMap> {\n /**\n * The player's adaptive bitrate (ABR) configuration.\n *\n * @remarks\n * <br/> - This property is supported on Android & Web platforms only.\n */\n readonly abr: ABRConfiguration | undefined;\n\n /**\n * A source description that determines the current media resource.\n */\n source: SourceDescription | undefined;\n\n /**\n * Start or resume playback.\n */\n play(): void;\n\n /**\n * Pause playback.\n */\n pause(): void;\n\n /**\n * Whether the player is paused.\n */\n readonly paused: boolean;\n\n /**\n * Whether the player should immediately start playback after source change.\n */\n autoplay: boolean;\n\n /**\n * The preload setting of the player.\n */\n preload: PreloadType;\n\n /**\n * Returns a list of TimeRanges that represents the ranges of the media resource that are seekable by the player.\n */\n seekable: TimeRange[];\n\n /**\n * Returns a list of TimeRanges that represents the ranges of the media resource that are buffered by the player.\n */\n buffered: TimeRange[];\n\n /**\n * Used to set the playback rate of the media.\n *\n * @example\n * <br/> - `playbackRate = 0.70` will slow down the playback rate of the media by 30%.\n * <br/> - `playbackRate = 1.25` will speed up the playback rate of the media by 25%.\n *\n * @remarks\n * <br/> - Playback rate is represented by a number where `1` is default playback speed.\n * <br/> - Playback rate must be a positive number.\n * <br/> - It is recommended that you limit the range to between 0.5 and 4.\n */\n playbackRate: number;\n\n /**\n * Used to set the volume of the audio.\n *\n * @remarks\n * <br/> - Volume is represented by a floating point number between `0.0` and `1.0`.\n */\n volume: number;\n\n /**\n * Determines whether audio is muted.\n */\n muted: boolean;\n\n /**\n * Whether the player is seeking.\n */\n readonly seeking: boolean;\n\n /**\n * The PresentationMode of the player. Can be switched to: `picture-in-picture`, `fullscreen` or `inline`\n */\n presentationMode: PresentationMode;\n\n /**\n * List of audio tracks of the current source.\n */\n audioTracks: MediaTrack[];\n\n /**\n * List of video tracks of the current source.\n */\n videoTracks: MediaTrack[];\n\n /**\n * List of text tracks of the current source.\n */\n textTracks: TextTrack[];\n\n /**\n * Used to set the current selected text track by passing its `uid`, or `undefined` to select none.\n */\n selectedTextTrack: number | undefined;\n\n /**\n * The text track style API.\n *\n * @remarks\n * Only available for Web.\n */\n readonly textTrackStyle: TextTrackStyle;\n\n /**\n * Used to set the current selected video track by passing its `uid`, or `undefined` to select none.\n */\n selectedVideoTrack: number | undefined;\n\n /**\n * Used to set the current selected video quality by passing its `uid`, or `undefined` to select none.\n */\n targetVideoQuality: number | number[] | undefined;\n\n /**\n * Used to set the current selected audio track by passing its `uid`, or `undefined` to select none.\n */\n selectedAudioTrack: number | undefined;\n\n /**\n * The current playback position of the media, in milliseconds.\n */\n currentTime: number;\n\n /**\n * Used to set the aspect ratio of the player.\n *\n * @remarks\n * Only available for iOS and Android.\n */\n aspectRatio: AspectRatio;\n\n /**\n * The active configuration for PiP.\n */\n pipConfiguration: PiPConfiguration;\n\n /**\n * The active configuration for PiP.\n */\n backgroundAudioConfiguration: BackgroundAudioConfiguration;\n\n /**\n * The duration of the media, in milliseconds.\n */\n readonly duration: number;\n\n /**\n * The API for advertisements.\n */\n readonly ads: AdsAPI;\n\n /**\n * The API for casting devices.\n */\n readonly cast: CastAPI;\n\n /**\n * The player version.\n */\n readonly version: PlayerVersion;\n\n /**\n * Native player handle.\n */\n readonly nativeHandle: NativeHandleType;\n}\n"],"mappings":";;;;;;AAiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA,IAUYA,WAAW;AAAAC,OAAA,CAAAD,WAAA,GAAAA,WAAA;AAAA,WAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAAC,OAAA,CAAAD,WAAA,GAAXA,WAAW"}
@@ -25,4 +25,15 @@ Object.keys(_PlayerEventMap).forEach(function (key) {
25
25
  }
26
26
  });
27
27
  });
28
+ var _PlayerVersion = require("./PlayerVersion");
29
+ Object.keys(_PlayerVersion).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _PlayerVersion[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _PlayerVersion[key];
36
+ }
37
+ });
38
+ });
28
39
  //# sourceMappingURL=barrel.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_THEOplayer","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_PlayerEventMap"],"sources":["barrel.ts"],"sourcesContent":["export * from './THEOplayer';\nexport * from './PlayerEventMap';\n"],"mappings":";;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,WAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,WAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,eAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,eAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,eAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,eAAA,CAAAL,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["_THEOplayer","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_PlayerEventMap","_PlayerVersion"],"sources":["barrel.ts"],"sourcesContent":["export * from './THEOplayer';\nexport * from './PlayerEventMap';\nexport * from './PlayerVersion';\n"],"mappings":";;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,WAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,WAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,eAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,eAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,eAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,eAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,cAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,cAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,cAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,cAAA,CAAAN,GAAA;IAAA;EAAA;AAAA"}
@@ -31,18 +31,6 @@ Object.keys(_barrel).forEach(function (key) {
31
31
  }
32
32
  });
33
33
  });
34
- var _barrel2 = require("./ui/barrel");
35
- Object.keys(_barrel2).forEach(function (key) {
36
- if (key === "default" || key === "__esModule") return;
37
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
38
- if (key in exports && exports[key] === _barrel2[key]) return;
39
- Object.defineProperty(exports, key, {
40
- enumerable: true,
41
- get: function () {
42
- return _barrel2[key];
43
- }
44
- });
45
- });
46
34
  var _THEOplayerView = require("./internal/THEOplayerView");
47
35
  var _ContentProtectionRegistry = require("./internal/drm/ContentProtectionRegistry");
48
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_barrel","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_barrel2","_THEOplayerView","_ContentProtectionRegistry"],"sources":["index.tsx"],"sourcesContent":["export * from './api/barrel';\nexport * from './ui/barrel';\nexport { THEOplayerView } from './internal/THEOplayerView';\nexport { ContentProtectionRegistry } from './internal/drm/ContentProtectionRegistry';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,OAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,OAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,OAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,QAAA,GAAAb,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAW,QAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAS,QAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,QAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AACA,IAAAU,eAAA,GAAAd,OAAA;AACA,IAAAe,0BAAA,GAAAf,OAAA"}
1
+ {"version":3,"names":["_barrel","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_THEOplayerView","_ContentProtectionRegistry"],"sources":["index.tsx"],"sourcesContent":["export * from './api/barrel';\nexport { THEOplayerView } from './internal/THEOplayerView';\nexport { ContentProtectionRegistry } from './internal/drm/ContentProtectionRegistry';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,OAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,OAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,OAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,eAAA,GAAAb,OAAA;AACA,IAAAc,0BAAA,GAAAd,OAAA"}