react-native-theoplayer 2.8.0 → 2.9.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 (545) hide show
  1. package/CHANGELOG.md +49 -13
  2. package/README.md +16 -2
  3. package/android/src/main/java/com/theoplayer/media/MediaNotificationBuilder.kt +5 -0
  4. package/android/src/main/java/com/theoplayer/media/MediaPlaybackService.kt +31 -8
  5. package/ios/contentprotection/THEOplayerRCTProxyContentProtectionIntegration.swift +19 -29
  6. package/lib/commonjs/api/cast/Chromecast.js.map +1 -1
  7. package/lib/commonjs/index.js +0 -12
  8. package/lib/commonjs/index.js.map +1 -1
  9. package/lib/module/api/cast/Chromecast.js.map +1 -1
  10. package/lib/module/index.js +0 -1
  11. package/lib/module/index.js.map +1 -1
  12. package/lib/typescript/api/cast/Chromecast.d.ts +1 -1
  13. package/lib/typescript/index.d.ts +0 -1
  14. package/package.json +2 -8
  15. package/react-native-theoplayer.podspec +1 -1
  16. package/src/api/cast/Chromecast.ts +1 -1
  17. package/src/index.tsx +0 -1
  18. package/lib/commonjs/ui/THEOplayerDefaultUi.js +0 -82
  19. package/lib/commonjs/ui/THEOplayerDefaultUi.js.map +0 -1
  20. package/lib/commonjs/ui/THEOplayerTheme.js +0 -48
  21. package/lib/commonjs/ui/THEOplayerTheme.js.map +0 -1
  22. package/lib/commonjs/ui/barrel.js +0 -39
  23. package/lib/commonjs/ui/barrel.js.map +0 -1
  24. package/lib/commonjs/ui/components/activityindicator/CenteredDelayedActivityIndicator.js +0 -99
  25. package/lib/commonjs/ui/components/activityindicator/CenteredDelayedActivityIndicator.js.map +0 -1
  26. package/lib/commonjs/ui/components/activityindicator/DelayedActivityIndicator.js +0 -35
  27. package/lib/commonjs/ui/components/activityindicator/DelayedActivityIndicator.js.map +0 -1
  28. package/lib/commonjs/ui/components/activityindicator/barrel.js +0 -28
  29. package/lib/commonjs/ui/components/activityindicator/barrel.js.map +0 -1
  30. package/lib/commonjs/ui/components/barrel.js +0 -105
  31. package/lib/commonjs/ui/components/barrel.js.map +0 -1
  32. package/lib/commonjs/ui/components/button/AirplayButton.js +0 -81
  33. package/lib/commonjs/ui/components/button/AirplayButton.js.map +0 -1
  34. package/lib/commonjs/ui/components/button/ChromecastButton.js +0 -66
  35. package/lib/commonjs/ui/components/button/ChromecastButton.js.map +0 -1
  36. package/lib/commonjs/ui/components/button/ChromecastButton.web.js +0 -82
  37. package/lib/commonjs/ui/components/button/ChromecastButton.web.js.map +0 -1
  38. package/lib/commonjs/ui/components/button/FullscreenButton.js +0 -72
  39. package/lib/commonjs/ui/components/button/FullscreenButton.js.map +0 -1
  40. package/lib/commonjs/ui/components/button/MuteButton.js +0 -66
  41. package/lib/commonjs/ui/components/button/MuteButton.js.map +0 -1
  42. package/lib/commonjs/ui/components/button/PipButton.js +0 -72
  43. package/lib/commonjs/ui/components/button/PipButton.js.map +0 -1
  44. package/lib/commonjs/ui/components/button/PlayButton.js +0 -113
  45. package/lib/commonjs/ui/components/button/PlayButton.js.map +0 -1
  46. package/lib/commonjs/ui/components/button/SkipButton.js +0 -122
  47. package/lib/commonjs/ui/components/button/SkipButton.js.map +0 -1
  48. package/lib/commonjs/ui/components/button/actionbutton/ActionButton.js +0 -82
  49. package/lib/commonjs/ui/components/button/actionbutton/ActionButton.js.map +0 -1
  50. package/lib/commonjs/ui/components/button/barrel.js +0 -105
  51. package/lib/commonjs/ui/components/button/barrel.js.map +0 -1
  52. package/lib/commonjs/ui/components/button/svg/AirplaySvg.js +0 -22
  53. package/lib/commonjs/ui/components/button/svg/AirplaySvg.js.map +0 -1
  54. package/lib/commonjs/ui/components/button/svg/ArrowForwardSvg.js +0 -22
  55. package/lib/commonjs/ui/components/button/svg/ArrowForwardSvg.js.map +0 -1
  56. package/lib/commonjs/ui/components/button/svg/BackSvg.js +0 -22
  57. package/lib/commonjs/ui/components/button/svg/BackSvg.js.map +0 -1
  58. package/lib/commonjs/ui/components/button/svg/BackwardSvg.js +0 -22
  59. package/lib/commonjs/ui/components/button/svg/BackwardSvg.js.map +0 -1
  60. package/lib/commonjs/ui/components/button/svg/ChromecastSvg.js +0 -22
  61. package/lib/commonjs/ui/components/button/svg/ChromecastSvg.js.map +0 -1
  62. package/lib/commonjs/ui/components/button/svg/ErrorSvg.js +0 -22
  63. package/lib/commonjs/ui/components/button/svg/ErrorSvg.js.map +0 -1
  64. package/lib/commonjs/ui/components/button/svg/ForwardSvg.js +0 -22
  65. package/lib/commonjs/ui/components/button/svg/ForwardSvg.js.map +0 -1
  66. package/lib/commonjs/ui/components/button/svg/FullscreenEnterSvg.js +0 -22
  67. package/lib/commonjs/ui/components/button/svg/FullscreenEnterSvg.js.map +0 -1
  68. package/lib/commonjs/ui/components/button/svg/FullscreenExitSvg.js +0 -22
  69. package/lib/commonjs/ui/components/button/svg/FullscreenExitSvg.js.map +0 -1
  70. package/lib/commonjs/ui/components/button/svg/LanguageSvg.js +0 -22
  71. package/lib/commonjs/ui/components/button/svg/LanguageSvg.js.map +0 -1
  72. package/lib/commonjs/ui/components/button/svg/ListSvg.js +0 -22
  73. package/lib/commonjs/ui/components/button/svg/ListSvg.js.map +0 -1
  74. package/lib/commonjs/ui/components/button/svg/PauseSvg.js +0 -22
  75. package/lib/commonjs/ui/components/button/svg/PauseSvg.js.map +0 -1
  76. package/lib/commonjs/ui/components/button/svg/PipEnterSvg.js +0 -22
  77. package/lib/commonjs/ui/components/button/svg/PipEnterSvg.js.map +0 -1
  78. package/lib/commonjs/ui/components/button/svg/PipExitSvg.js +0 -22
  79. package/lib/commonjs/ui/components/button/svg/PipExitSvg.js.map +0 -1
  80. package/lib/commonjs/ui/components/button/svg/PlaySvg.js +0 -22
  81. package/lib/commonjs/ui/components/button/svg/PlaySvg.js.map +0 -1
  82. package/lib/commonjs/ui/components/button/svg/ReplaySvg.js +0 -22
  83. package/lib/commonjs/ui/components/button/svg/ReplaySvg.js.map +0 -1
  84. package/lib/commonjs/ui/components/button/svg/SettingsSvg.js +0 -22
  85. package/lib/commonjs/ui/components/button/svg/SettingsSvg.js.map +0 -1
  86. package/lib/commonjs/ui/components/button/svg/SvgUtils.js +0 -13
  87. package/lib/commonjs/ui/components/button/svg/SvgUtils.js.map +0 -1
  88. package/lib/commonjs/ui/components/button/svg/VolumeOffSvg.js +0 -22
  89. package/lib/commonjs/ui/components/button/svg/VolumeOffSvg.js.map +0 -1
  90. package/lib/commonjs/ui/components/button/svg/VolumeUpSvg.js +0 -22
  91. package/lib/commonjs/ui/components/button/svg/VolumeUpSvg.js.map +0 -1
  92. package/lib/commonjs/ui/components/button/svg/barrel.js +0 -226
  93. package/lib/commonjs/ui/components/button/svg/barrel.js.map +0 -1
  94. package/lib/commonjs/ui/components/button/svg/res/AirPlayButton.html +0 -6
  95. package/lib/commonjs/ui/components/button/svg/res/Airplay.svg +0 -1
  96. package/lib/commonjs/ui/components/button/svg/res/ChromecastButton.html +0 -25
  97. package/lib/commonjs/ui/components/button/svg/res/arrow_forward.svg +0 -1
  98. package/lib/commonjs/ui/components/button/svg/res/back.svg +0 -1
  99. package/lib/commonjs/ui/components/button/svg/res/backward.svg +0 -1
  100. package/lib/commonjs/ui/components/button/svg/res/chromecast-48px.svg +0 -1
  101. package/lib/commonjs/ui/components/button/svg/res/close.svg +0 -1
  102. package/lib/commonjs/ui/components/button/svg/res/error.svg +0 -1
  103. package/lib/commonjs/ui/components/button/svg/res/forward.svg +0 -1
  104. package/lib/commonjs/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
  105. package/lib/commonjs/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
  106. package/lib/commonjs/ui/components/button/svg/res/language.svg +0 -1
  107. package/lib/commonjs/ui/components/button/svg/res/list.svg +0 -1
  108. package/lib/commonjs/ui/components/button/svg/res/live.svg +0 -1
  109. package/lib/commonjs/ui/components/button/svg/res/pause.svg +0 -1
  110. package/lib/commonjs/ui/components/button/svg/res/pip_enter.svg +0 -1
  111. package/lib/commonjs/ui/components/button/svg/res/pip_exit.svg +0 -1
  112. package/lib/commonjs/ui/components/button/svg/res/play.svg +0 -1
  113. package/lib/commonjs/ui/components/button/svg/res/replay.svg +0 -1
  114. package/lib/commonjs/ui/components/button/svg/res/settings.svg +0 -1
  115. package/lib/commonjs/ui/components/button/svg/res/skip-next.svg +0 -1
  116. package/lib/commonjs/ui/components/button/svg/res/volume-high.svg +0 -1
  117. package/lib/commonjs/ui/components/button/svg/res/volume-low.svg +0 -1
  118. package/lib/commonjs/ui/components/button/svg/res/volume-off.svg +0 -1
  119. package/lib/commonjs/ui/components/controlbar/ControlBar.js +0 -61
  120. package/lib/commonjs/ui/components/controlbar/ControlBar.js.map +0 -1
  121. package/lib/commonjs/ui/components/controlbar/Spacer.js +0 -21
  122. package/lib/commonjs/ui/components/controlbar/Spacer.js.map +0 -1
  123. package/lib/commonjs/ui/components/controlbar/barrel.js +0 -28
  124. package/lib/commonjs/ui/components/controlbar/barrel.js.map +0 -1
  125. package/lib/commonjs/ui/components/menu/LanguageMenuButton.js +0 -175
  126. package/lib/commonjs/ui/components/menu/LanguageMenuButton.js.map +0 -1
  127. package/lib/commonjs/ui/components/menu/PlaybackRateSubMenu.js +0 -91
  128. package/lib/commonjs/ui/components/menu/PlaybackRateSubMenu.js.map +0 -1
  129. package/lib/commonjs/ui/components/menu/QualitySubMenu.js +0 -145
  130. package/lib/commonjs/ui/components/menu/QualitySubMenu.js.map +0 -1
  131. package/lib/commonjs/ui/components/menu/SettingsMenuButton.js +0 -36
  132. package/lib/commonjs/ui/components/menu/SettingsMenuButton.js.map +0 -1
  133. package/lib/commonjs/ui/components/menu/barrel.js +0 -61
  134. package/lib/commonjs/ui/components/menu/barrel.js.map +0 -1
  135. package/lib/commonjs/ui/components/menu/common/MenuButton.js +0 -34
  136. package/lib/commonjs/ui/components/menu/common/MenuButton.js.map +0 -1
  137. package/lib/commonjs/ui/components/menu/common/MenuRadioButton.js +0 -47
  138. package/lib/commonjs/ui/components/menu/common/MenuRadioButton.js.map +0 -1
  139. package/lib/commonjs/ui/components/menu/common/MenuTitle.js +0 -38
  140. package/lib/commonjs/ui/components/menu/common/MenuTitle.js.map +0 -1
  141. package/lib/commonjs/ui/components/menu/common/MenuView.js +0 -75
  142. package/lib/commonjs/ui/components/menu/common/MenuView.js.map +0 -1
  143. package/lib/commonjs/ui/components/menu/common/ScrollableMenu.js +0 -45
  144. package/lib/commonjs/ui/components/menu/common/ScrollableMenu.js.map +0 -1
  145. package/lib/commonjs/ui/components/menu/common/SubMenuWithButton.js +0 -65
  146. package/lib/commonjs/ui/components/menu/common/SubMenuWithButton.js.map +0 -1
  147. package/lib/commonjs/ui/components/menu/common/barrel.js +0 -72
  148. package/lib/commonjs/ui/components/menu/common/barrel.js.map +0 -1
  149. package/lib/commonjs/ui/components/message/CastMessage.js +0 -79
  150. package/lib/commonjs/ui/components/message/CastMessage.js.map +0 -1
  151. package/lib/commonjs/ui/components/message/ErrorDisplay.js +0 -53
  152. package/lib/commonjs/ui/components/message/ErrorDisplay.js.map +0 -1
  153. package/lib/commonjs/ui/components/message/barrel.js +0 -28
  154. package/lib/commonjs/ui/components/message/barrel.js.map +0 -1
  155. package/lib/commonjs/ui/components/seekbar/SeekBar.js +0 -194
  156. package/lib/commonjs/ui/components/seekbar/SeekBar.js.map +0 -1
  157. package/lib/commonjs/ui/components/seekbar/barrel.js +0 -28
  158. package/lib/commonjs/ui/components/seekbar/barrel.js.map +0 -1
  159. package/lib/commonjs/ui/components/seekbar/thumbnail/SingleThumbnailView.js +0 -45
  160. package/lib/commonjs/ui/components/seekbar/thumbnail/SingleThumbnailView.js.map +0 -1
  161. package/lib/commonjs/ui/components/seekbar/thumbnail/Thumbnail.js +0 -18
  162. package/lib/commonjs/ui/components/seekbar/thumbnail/Thumbnail.js.map +0 -1
  163. package/lib/commonjs/ui/components/seekbar/thumbnail/ThumbnailView.js +0 -256
  164. package/lib/commonjs/ui/components/seekbar/thumbnail/ThumbnailView.js.map +0 -1
  165. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.js +0 -17
  166. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.js.map +0 -1
  167. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.web.js +0 -10
  168. package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.web.js.map +0 -1
  169. package/lib/commonjs/ui/components/seekbar/thumbnail/barrel.js +0 -28
  170. package/lib/commonjs/ui/components/seekbar/thumbnail/barrel.js.map +0 -1
  171. package/lib/commonjs/ui/components/timelabel/StaticTimeLabel.js +0 -55
  172. package/lib/commonjs/ui/components/timelabel/StaticTimeLabel.js.map +0 -1
  173. package/lib/commonjs/ui/components/timelabel/TimeLabel.js +0 -88
  174. package/lib/commonjs/ui/components/timelabel/TimeLabel.js.map +0 -1
  175. package/lib/commonjs/ui/components/timelabel/barrel.js +0 -28
  176. package/lib/commonjs/ui/components/timelabel/barrel.js.map +0 -1
  177. package/lib/commonjs/ui/components/uicontroller/UiContainer.js +0 -350
  178. package/lib/commonjs/ui/components/uicontroller/UiContainer.js.map +0 -1
  179. package/lib/commonjs/ui/components/uicontroller/UiControls.js +0 -6
  180. package/lib/commonjs/ui/components/uicontroller/UiControls.js.map +0 -1
  181. package/lib/commonjs/ui/components/uicontroller/barrel.js +0 -28
  182. package/lib/commonjs/ui/components/uicontroller/barrel.js.map +0 -1
  183. package/lib/commonjs/ui/components/util/PlayerContext.js +0 -19
  184. package/lib/commonjs/ui/components/util/PlayerContext.js.map +0 -1
  185. package/lib/commonjs/ui/components/util/TrackUtils.js +0 -69
  186. package/lib/commonjs/ui/components/util/TrackUtils.js.map +0 -1
  187. package/lib/commonjs/ui/components/util/barrel.js +0 -17
  188. package/lib/commonjs/ui/components/util/barrel.js.map +0 -1
  189. package/lib/commonjs/ui/utils/ArrayUtils.js +0 -19
  190. package/lib/commonjs/ui/utils/ArrayUtils.js.map +0 -1
  191. package/lib/commonjs/ui/utils/language/Language.js +0 -38
  192. package/lib/commonjs/ui/utils/language/Language.js.map +0 -1
  193. package/lib/commonjs/ui/utils/language/languages.json +0 -1658
  194. package/lib/module/ui/THEOplayerDefaultUi.js +0 -74
  195. package/lib/module/ui/THEOplayerDefaultUi.js.map +0 -1
  196. package/lib/module/ui/THEOplayerTheme.js +0 -41
  197. package/lib/module/ui/THEOplayerTheme.js.map +0 -1
  198. package/lib/module/ui/barrel.js +0 -4
  199. package/lib/module/ui/barrel.js.map +0 -1
  200. package/lib/module/ui/components/activityindicator/CenteredDelayedActivityIndicator.js +0 -90
  201. package/lib/module/ui/components/activityindicator/CenteredDelayedActivityIndicator.js.map +0 -1
  202. package/lib/module/ui/components/activityindicator/DelayedActivityIndicator.js +0 -26
  203. package/lib/module/ui/components/activityindicator/DelayedActivityIndicator.js.map +0 -1
  204. package/lib/module/ui/components/activityindicator/barrel.js +0 -3
  205. package/lib/module/ui/components/activityindicator/barrel.js.map +0 -1
  206. package/lib/module/ui/components/barrel.js +0 -10
  207. package/lib/module/ui/components/barrel.js.map +0 -1
  208. package/lib/module/ui/components/button/AirplayButton.js +0 -72
  209. package/lib/module/ui/components/button/AirplayButton.js.map +0 -1
  210. package/lib/module/ui/components/button/ChromecastButton.js +0 -56
  211. package/lib/module/ui/components/button/ChromecastButton.js.map +0 -1
  212. package/lib/module/ui/components/button/ChromecastButton.web.js +0 -72
  213. package/lib/module/ui/components/button/ChromecastButton.web.js.map +0 -1
  214. package/lib/module/ui/components/button/FullscreenButton.js +0 -63
  215. package/lib/module/ui/components/button/FullscreenButton.js.map +0 -1
  216. package/lib/module/ui/components/button/MuteButton.js +0 -57
  217. package/lib/module/ui/components/button/MuteButton.js.map +0 -1
  218. package/lib/module/ui/components/button/PipButton.js +0 -63
  219. package/lib/module/ui/components/button/PipButton.js.map +0 -1
  220. package/lib/module/ui/components/button/PlayButton.js +0 -104
  221. package/lib/module/ui/components/button/PlayButton.js.map +0 -1
  222. package/lib/module/ui/components/button/SkipButton.js +0 -113
  223. package/lib/module/ui/components/button/SkipButton.js.map +0 -1
  224. package/lib/module/ui/components/button/actionbutton/ActionButton.js +0 -72
  225. package/lib/module/ui/components/button/actionbutton/ActionButton.js.map +0 -1
  226. package/lib/module/ui/components/button/barrel.js +0 -10
  227. package/lib/module/ui/components/button/barrel.js.map +0 -1
  228. package/lib/module/ui/components/button/svg/AirplaySvg.js +0 -12
  229. package/lib/module/ui/components/button/svg/AirplaySvg.js.map +0 -1
  230. package/lib/module/ui/components/button/svg/ArrowForwardSvg.js +0 -12
  231. package/lib/module/ui/components/button/svg/ArrowForwardSvg.js.map +0 -1
  232. package/lib/module/ui/components/button/svg/BackSvg.js +0 -12
  233. package/lib/module/ui/components/button/svg/BackSvg.js.map +0 -1
  234. package/lib/module/ui/components/button/svg/BackwardSvg.js +0 -12
  235. package/lib/module/ui/components/button/svg/BackwardSvg.js.map +0 -1
  236. package/lib/module/ui/components/button/svg/ChromecastSvg.js +0 -12
  237. package/lib/module/ui/components/button/svg/ChromecastSvg.js.map +0 -1
  238. package/lib/module/ui/components/button/svg/ErrorSvg.js +0 -12
  239. package/lib/module/ui/components/button/svg/ErrorSvg.js.map +0 -1
  240. package/lib/module/ui/components/button/svg/ForwardSvg.js +0 -12
  241. package/lib/module/ui/components/button/svg/ForwardSvg.js.map +0 -1
  242. package/lib/module/ui/components/button/svg/FullscreenEnterSvg.js +0 -12
  243. package/lib/module/ui/components/button/svg/FullscreenEnterSvg.js.map +0 -1
  244. package/lib/module/ui/components/button/svg/FullscreenExitSvg.js +0 -12
  245. package/lib/module/ui/components/button/svg/FullscreenExitSvg.js.map +0 -1
  246. package/lib/module/ui/components/button/svg/LanguageSvg.js +0 -12
  247. package/lib/module/ui/components/button/svg/LanguageSvg.js.map +0 -1
  248. package/lib/module/ui/components/button/svg/ListSvg.js +0 -12
  249. package/lib/module/ui/components/button/svg/ListSvg.js.map +0 -1
  250. package/lib/module/ui/components/button/svg/PauseSvg.js +0 -12
  251. package/lib/module/ui/components/button/svg/PauseSvg.js.map +0 -1
  252. package/lib/module/ui/components/button/svg/PipEnterSvg.js +0 -12
  253. package/lib/module/ui/components/button/svg/PipEnterSvg.js.map +0 -1
  254. package/lib/module/ui/components/button/svg/PipExitSvg.js +0 -12
  255. package/lib/module/ui/components/button/svg/PipExitSvg.js.map +0 -1
  256. package/lib/module/ui/components/button/svg/PlaySvg.js +0 -12
  257. package/lib/module/ui/components/button/svg/PlaySvg.js.map +0 -1
  258. package/lib/module/ui/components/button/svg/ReplaySvg.js +0 -12
  259. package/lib/module/ui/components/button/svg/ReplaySvg.js.map +0 -1
  260. package/lib/module/ui/components/button/svg/SettingsSvg.js +0 -12
  261. package/lib/module/ui/components/button/svg/SettingsSvg.js.map +0 -1
  262. package/lib/module/ui/components/button/svg/SvgUtils.js +0 -5
  263. package/lib/module/ui/components/button/svg/SvgUtils.js.map +0 -1
  264. package/lib/module/ui/components/button/svg/VolumeOffSvg.js +0 -12
  265. package/lib/module/ui/components/button/svg/VolumeOffSvg.js.map +0 -1
  266. package/lib/module/ui/components/button/svg/VolumeUpSvg.js +0 -12
  267. package/lib/module/ui/components/button/svg/VolumeUpSvg.js.map +0 -1
  268. package/lib/module/ui/components/button/svg/barrel.js +0 -21
  269. package/lib/module/ui/components/button/svg/barrel.js.map +0 -1
  270. package/lib/module/ui/components/button/svg/res/AirPlayButton.html +0 -6
  271. package/lib/module/ui/components/button/svg/res/Airplay.svg +0 -1
  272. package/lib/module/ui/components/button/svg/res/ChromecastButton.html +0 -25
  273. package/lib/module/ui/components/button/svg/res/arrow_forward.svg +0 -1
  274. package/lib/module/ui/components/button/svg/res/back.svg +0 -1
  275. package/lib/module/ui/components/button/svg/res/backward.svg +0 -1
  276. package/lib/module/ui/components/button/svg/res/chromecast-48px.svg +0 -1
  277. package/lib/module/ui/components/button/svg/res/close.svg +0 -1
  278. package/lib/module/ui/components/button/svg/res/error.svg +0 -1
  279. package/lib/module/ui/components/button/svg/res/forward.svg +0 -1
  280. package/lib/module/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
  281. package/lib/module/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
  282. package/lib/module/ui/components/button/svg/res/language.svg +0 -1
  283. package/lib/module/ui/components/button/svg/res/list.svg +0 -1
  284. package/lib/module/ui/components/button/svg/res/live.svg +0 -1
  285. package/lib/module/ui/components/button/svg/res/pause.svg +0 -1
  286. package/lib/module/ui/components/button/svg/res/pip_enter.svg +0 -1
  287. package/lib/module/ui/components/button/svg/res/pip_exit.svg +0 -1
  288. package/lib/module/ui/components/button/svg/res/play.svg +0 -1
  289. package/lib/module/ui/components/button/svg/res/replay.svg +0 -1
  290. package/lib/module/ui/components/button/svg/res/settings.svg +0 -1
  291. package/lib/module/ui/components/button/svg/res/skip-next.svg +0 -1
  292. package/lib/module/ui/components/button/svg/res/volume-high.svg +0 -1
  293. package/lib/module/ui/components/button/svg/res/volume-low.svg +0 -1
  294. package/lib/module/ui/components/button/svg/res/volume-off.svg +0 -1
  295. package/lib/module/ui/components/controlbar/ControlBar.js +0 -52
  296. package/lib/module/ui/components/controlbar/ControlBar.js.map +0 -1
  297. package/lib/module/ui/components/controlbar/Spacer.js +0 -14
  298. package/lib/module/ui/components/controlbar/Spacer.js.map +0 -1
  299. package/lib/module/ui/components/controlbar/barrel.js +0 -3
  300. package/lib/module/ui/components/controlbar/barrel.js.map +0 -1
  301. package/lib/module/ui/components/menu/LanguageMenuButton.js +0 -165
  302. package/lib/module/ui/components/menu/LanguageMenuButton.js.map +0 -1
  303. package/lib/module/ui/components/menu/PlaybackRateSubMenu.js +0 -80
  304. package/lib/module/ui/components/menu/PlaybackRateSubMenu.js.map +0 -1
  305. package/lib/module/ui/components/menu/QualitySubMenu.js +0 -135
  306. package/lib/module/ui/components/menu/QualitySubMenu.js.map +0 -1
  307. package/lib/module/ui/components/menu/SettingsMenuButton.js +0 -28
  308. package/lib/module/ui/components/menu/SettingsMenuButton.js.map +0 -1
  309. package/lib/module/ui/components/menu/barrel.js +0 -6
  310. package/lib/module/ui/components/menu/barrel.js.map +0 -1
  311. package/lib/module/ui/components/menu/common/MenuButton.js +0 -26
  312. package/lib/module/ui/components/menu/common/MenuButton.js.map +0 -1
  313. package/lib/module/ui/components/menu/common/MenuRadioButton.js +0 -38
  314. package/lib/module/ui/components/menu/common/MenuRadioButton.js.map +0 -1
  315. package/lib/module/ui/components/menu/common/MenuTitle.js +0 -29
  316. package/lib/module/ui/components/menu/common/MenuTitle.js.map +0 -1
  317. package/lib/module/ui/components/menu/common/MenuView.js +0 -65
  318. package/lib/module/ui/components/menu/common/MenuView.js.map +0 -1
  319. package/lib/module/ui/components/menu/common/ScrollableMenu.js +0 -36
  320. package/lib/module/ui/components/menu/common/ScrollableMenu.js.map +0 -1
  321. package/lib/module/ui/components/menu/common/SubMenuWithButton.js +0 -56
  322. package/lib/module/ui/components/menu/common/SubMenuWithButton.js.map +0 -1
  323. package/lib/module/ui/components/menu/common/barrel.js +0 -7
  324. package/lib/module/ui/components/menu/common/barrel.js.map +0 -1
  325. package/lib/module/ui/components/message/CastMessage.js +0 -70
  326. package/lib/module/ui/components/message/CastMessage.js.map +0 -1
  327. package/lib/module/ui/components/message/ErrorDisplay.js +0 -46
  328. package/lib/module/ui/components/message/ErrorDisplay.js.map +0 -1
  329. package/lib/module/ui/components/message/barrel.js +0 -3
  330. package/lib/module/ui/components/message/barrel.js.map +0 -1
  331. package/lib/module/ui/components/seekbar/SeekBar.js +0 -184
  332. package/lib/module/ui/components/seekbar/SeekBar.js.map +0 -1
  333. package/lib/module/ui/components/seekbar/barrel.js +0 -3
  334. package/lib/module/ui/components/seekbar/barrel.js.map +0 -1
  335. package/lib/module/ui/components/seekbar/thumbnail/SingleThumbnailView.js +0 -37
  336. package/lib/module/ui/components/seekbar/thumbnail/SingleThumbnailView.js.map +0 -1
  337. package/lib/module/ui/components/seekbar/thumbnail/Thumbnail.js +0 -11
  338. package/lib/module/ui/components/seekbar/thumbnail/Thumbnail.js.map +0 -1
  339. package/lib/module/ui/components/seekbar/thumbnail/ThumbnailView.js +0 -246
  340. package/lib/module/ui/components/seekbar/thumbnail/ThumbnailView.js.map +0 -1
  341. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.js +0 -2
  342. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.js.map +0 -1
  343. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.web.js +0 -4
  344. package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.web.js.map +0 -1
  345. package/lib/module/ui/components/seekbar/thumbnail/barrel.js +0 -3
  346. package/lib/module/ui/components/seekbar/thumbnail/barrel.js.map +0 -1
  347. package/lib/module/ui/components/timelabel/StaticTimeLabel.js +0 -48
  348. package/lib/module/ui/components/timelabel/StaticTimeLabel.js.map +0 -1
  349. package/lib/module/ui/components/timelabel/TimeLabel.js +0 -78
  350. package/lib/module/ui/components/timelabel/TimeLabel.js.map +0 -1
  351. package/lib/module/ui/components/timelabel/barrel.js +0 -3
  352. package/lib/module/ui/components/timelabel/barrel.js.map +0 -1
  353. package/lib/module/ui/components/uicontroller/UiContainer.js +0 -336
  354. package/lib/module/ui/components/uicontroller/UiContainer.js.map +0 -1
  355. package/lib/module/ui/components/uicontroller/UiControls.js +0 -2
  356. package/lib/module/ui/components/uicontroller/UiControls.js.map +0 -1
  357. package/lib/module/ui/components/uicontroller/barrel.js +0 -3
  358. package/lib/module/ui/components/uicontroller/barrel.js.map +0 -1
  359. package/lib/module/ui/components/util/PlayerContext.js +0 -11
  360. package/lib/module/ui/components/util/PlayerContext.js.map +0 -1
  361. package/lib/module/ui/components/util/TrackUtils.js +0 -60
  362. package/lib/module/ui/components/util/TrackUtils.js.map +0 -1
  363. package/lib/module/ui/components/util/barrel.js +0 -2
  364. package/lib/module/ui/components/util/barrel.js.map +0 -1
  365. package/lib/module/ui/utils/ArrayUtils.js +0 -12
  366. package/lib/module/ui/utils/ArrayUtils.js.map +0 -1
  367. package/lib/module/ui/utils/language/Language.js +0 -27
  368. package/lib/module/ui/utils/language/Language.js.map +0 -1
  369. package/lib/module/ui/utils/language/languages.json +0 -1658
  370. package/lib/typescript/ui/THEOplayerDefaultUi.d.ts +0 -35
  371. package/lib/typescript/ui/THEOplayerTheme.d.ts +0 -84
  372. package/lib/typescript/ui/barrel.d.ts +0 -3
  373. package/lib/typescript/ui/components/activityindicator/CenteredDelayedActivityIndicator.d.ts +0 -25
  374. package/lib/typescript/ui/components/activityindicator/DelayedActivityIndicator.d.ts +0 -9
  375. package/lib/typescript/ui/components/activityindicator/barrel.d.ts +0 -2
  376. package/lib/typescript/ui/components/barrel.d.ts +0 -9
  377. package/lib/typescript/ui/components/button/AirplayButton.d.ts +0 -18
  378. package/lib/typescript/ui/components/button/ChromecastButton.d.ts +0 -19
  379. package/lib/typescript/ui/components/button/ChromecastButton.web.d.ts +0 -19
  380. package/lib/typescript/ui/components/button/FullscreenButton.d.ts +0 -17
  381. package/lib/typescript/ui/components/button/MuteButton.d.ts +0 -16
  382. package/lib/typescript/ui/components/button/PipButton.d.ts +0 -17
  383. package/lib/typescript/ui/components/button/PlayButton.d.ts +0 -28
  384. package/lib/typescript/ui/components/button/SkipButton.d.ts +0 -33
  385. package/lib/typescript/ui/components/button/actionbutton/ActionButton.d.ts +0 -41
  386. package/lib/typescript/ui/components/button/barrel.d.ts +0 -9
  387. package/lib/typescript/ui/components/button/svg/AirplaySvg.d.ts +0 -3
  388. package/lib/typescript/ui/components/button/svg/ArrowForwardSvg.d.ts +0 -3
  389. package/lib/typescript/ui/components/button/svg/BackSvg.d.ts +0 -3
  390. package/lib/typescript/ui/components/button/svg/BackwardSvg.d.ts +0 -3
  391. package/lib/typescript/ui/components/button/svg/ChromecastSvg.d.ts +0 -3
  392. package/lib/typescript/ui/components/button/svg/ErrorSvg.d.ts +0 -3
  393. package/lib/typescript/ui/components/button/svg/ForwardSvg.d.ts +0 -3
  394. package/lib/typescript/ui/components/button/svg/FullscreenEnterSvg.d.ts +0 -3
  395. package/lib/typescript/ui/components/button/svg/FullscreenExitSvg.d.ts +0 -3
  396. package/lib/typescript/ui/components/button/svg/LanguageSvg.d.ts +0 -3
  397. package/lib/typescript/ui/components/button/svg/ListSvg.d.ts +0 -3
  398. package/lib/typescript/ui/components/button/svg/PauseSvg.d.ts +0 -3
  399. package/lib/typescript/ui/components/button/svg/PipEnterSvg.d.ts +0 -3
  400. package/lib/typescript/ui/components/button/svg/PipExitSvg.d.ts +0 -3
  401. package/lib/typescript/ui/components/button/svg/PlaySvg.d.ts +0 -3
  402. package/lib/typescript/ui/components/button/svg/ReplaySvg.d.ts +0 -3
  403. package/lib/typescript/ui/components/button/svg/SettingsSvg.d.ts +0 -3
  404. package/lib/typescript/ui/components/button/svg/SvgUtils.d.ts +0 -3
  405. package/lib/typescript/ui/components/button/svg/VolumeOffSvg.d.ts +0 -3
  406. package/lib/typescript/ui/components/button/svg/VolumeUpSvg.d.ts +0 -3
  407. package/lib/typescript/ui/components/button/svg/barrel.d.ts +0 -20
  408. package/lib/typescript/ui/components/controlbar/ControlBar.d.ts +0 -39
  409. package/lib/typescript/ui/components/controlbar/Spacer.d.ts +0 -5
  410. package/lib/typescript/ui/components/controlbar/barrel.d.ts +0 -2
  411. package/lib/typescript/ui/components/menu/LanguageMenuButton.d.ts +0 -40
  412. package/lib/typescript/ui/components/menu/PlaybackRateSubMenu.d.ts +0 -36
  413. package/lib/typescript/ui/components/menu/QualitySubMenu.d.ts +0 -29
  414. package/lib/typescript/ui/components/menu/SettingsMenuButton.d.ts +0 -12
  415. package/lib/typescript/ui/components/menu/barrel.d.ts +0 -5
  416. package/lib/typescript/ui/components/menu/common/MenuButton.d.ts +0 -25
  417. package/lib/typescript/ui/components/menu/common/MenuRadioButton.d.ts +0 -33
  418. package/lib/typescript/ui/components/menu/common/MenuTitle.d.ts +0 -20
  419. package/lib/typescript/ui/components/menu/common/MenuView.d.ts +0 -21
  420. package/lib/typescript/ui/components/menu/common/ScrollableMenu.d.ts +0 -23
  421. package/lib/typescript/ui/components/menu/common/SubMenuWithButton.d.ts +0 -29
  422. package/lib/typescript/ui/components/menu/common/barrel.d.ts +0 -6
  423. package/lib/typescript/ui/components/message/CastMessage.d.ts +0 -16
  424. package/lib/typescript/ui/components/message/ErrorDisplay.d.ts +0 -12
  425. package/lib/typescript/ui/components/message/barrel.d.ts +0 -2
  426. package/lib/typescript/ui/components/seekbar/SeekBar.d.ts +0 -41
  427. package/lib/typescript/ui/components/seekbar/barrel.d.ts +0 -2
  428. package/lib/typescript/ui/components/seekbar/thumbnail/SingleThumbnailView.d.ts +0 -8
  429. package/lib/typescript/ui/components/seekbar/thumbnail/Thumbnail.d.ts +0 -56
  430. package/lib/typescript/ui/components/seekbar/thumbnail/ThumbnailView.d.ts +0 -60
  431. package/lib/typescript/ui/components/seekbar/thumbnail/Urlpolyfill.d.ts +0 -1
  432. package/lib/typescript/ui/components/seekbar/thumbnail/Urlpolyfill.web.d.ts +0 -8
  433. package/lib/typescript/ui/components/seekbar/thumbnail/barrel.d.ts +0 -2
  434. package/lib/typescript/ui/components/timelabel/StaticTimeLabel.d.ts +0 -24
  435. package/lib/typescript/ui/components/timelabel/TimeLabel.d.ts +0 -32
  436. package/lib/typescript/ui/components/timelabel/barrel.d.ts +0 -2
  437. package/lib/typescript/ui/components/uicontroller/UiContainer.d.ts +0 -115
  438. package/lib/typescript/ui/components/uicontroller/UiControls.d.ts +0 -14
  439. package/lib/typescript/ui/components/uicontroller/barrel.d.ts +0 -2
  440. package/lib/typescript/ui/components/util/PlayerContext.d.ts +0 -22
  441. package/lib/typescript/ui/components/util/TrackUtils.d.ts +0 -10
  442. package/lib/typescript/ui/components/util/barrel.d.ts +0 -1
  443. package/lib/typescript/ui/utils/ArrayUtils.d.ts +0 -2
  444. package/lib/typescript/ui/utils/language/Language.d.ts +0 -19
  445. package/src/ui/THEOplayerDefaultUi.tsx +0 -108
  446. package/src/ui/THEOplayerTheme.ts +0 -112
  447. package/src/ui/barrel.ts +0 -3
  448. package/src/ui/components/activityindicator/CenteredDelayedActivityIndicator.tsx +0 -96
  449. package/src/ui/components/activityindicator/DelayedActivityIndicator.tsx +0 -32
  450. package/src/ui/components/activityindicator/barrel.ts +0 -2
  451. package/src/ui/components/barrel.ts +0 -9
  452. package/src/ui/components/button/AirplayButton.tsx +0 -64
  453. package/src/ui/components/button/ChromecastButton.tsx +0 -60
  454. package/src/ui/components/button/ChromecastButton.web.tsx +0 -66
  455. package/src/ui/components/button/FullscreenButton.tsx +0 -60
  456. package/src/ui/components/button/MuteButton.tsx +0 -52
  457. package/src/ui/components/button/PipButton.tsx +0 -61
  458. package/src/ui/components/button/PlayButton.tsx +0 -107
  459. package/src/ui/components/button/SkipButton.tsx +0 -112
  460. package/src/ui/components/button/actionbutton/ActionButton.tsx +0 -105
  461. package/src/ui/components/button/barrel.ts +0 -9
  462. package/src/ui/components/button/svg/AirplaySvg.tsx +0 -18
  463. package/src/ui/components/button/svg/ArrowForwardSvg.tsx +0 -18
  464. package/src/ui/components/button/svg/BackSvg.tsx +0 -18
  465. package/src/ui/components/button/svg/BackwardSvg.tsx +0 -18
  466. package/src/ui/components/button/svg/ChromecastSvg.tsx +0 -18
  467. package/src/ui/components/button/svg/ErrorSvg.tsx +0 -18
  468. package/src/ui/components/button/svg/ForwardSvg.tsx +0 -18
  469. package/src/ui/components/button/svg/FullscreenEnterSvg.tsx +0 -18
  470. package/src/ui/components/button/svg/FullscreenExitSvg.tsx +0 -18
  471. package/src/ui/components/button/svg/LanguageSvg.tsx +0 -18
  472. package/src/ui/components/button/svg/ListSvg.tsx +0 -18
  473. package/src/ui/components/button/svg/PauseSvg.tsx +0 -18
  474. package/src/ui/components/button/svg/PipEnterSvg.tsx +0 -18
  475. package/src/ui/components/button/svg/PipExitSvg.tsx +0 -18
  476. package/src/ui/components/button/svg/PlaySvg.tsx +0 -18
  477. package/src/ui/components/button/svg/ReplaySvg.tsx +0 -18
  478. package/src/ui/components/button/svg/SettingsSvg.tsx +0 -18
  479. package/src/ui/components/button/svg/SvgUtils.ts +0 -4
  480. package/src/ui/components/button/svg/VolumeOffSvg.tsx +0 -18
  481. package/src/ui/components/button/svg/VolumeUpSvg.tsx +0 -18
  482. package/src/ui/components/button/svg/barrel.ts +0 -20
  483. package/src/ui/components/button/svg/res/AirPlayButton.html +0 -6
  484. package/src/ui/components/button/svg/res/Airplay.svg +0 -1
  485. package/src/ui/components/button/svg/res/ChromecastButton.html +0 -25
  486. package/src/ui/components/button/svg/res/arrow_forward.svg +0 -1
  487. package/src/ui/components/button/svg/res/back.svg +0 -1
  488. package/src/ui/components/button/svg/res/backward.svg +0 -1
  489. package/src/ui/components/button/svg/res/chromecast-48px.svg +0 -1
  490. package/src/ui/components/button/svg/res/close.svg +0 -1
  491. package/src/ui/components/button/svg/res/error.svg +0 -1
  492. package/src/ui/components/button/svg/res/forward.svg +0 -1
  493. package/src/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
  494. package/src/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
  495. package/src/ui/components/button/svg/res/language.svg +0 -1
  496. package/src/ui/components/button/svg/res/list.svg +0 -1
  497. package/src/ui/components/button/svg/res/live.svg +0 -1
  498. package/src/ui/components/button/svg/res/pause.svg +0 -1
  499. package/src/ui/components/button/svg/res/pip_enter.svg +0 -1
  500. package/src/ui/components/button/svg/res/pip_exit.svg +0 -1
  501. package/src/ui/components/button/svg/res/play.svg +0 -1
  502. package/src/ui/components/button/svg/res/replay.svg +0 -1
  503. package/src/ui/components/button/svg/res/settings.svg +0 -1
  504. package/src/ui/components/button/svg/res/skip-next.svg +0 -1
  505. package/src/ui/components/button/svg/res/volume-high.svg +0 -1
  506. package/src/ui/components/button/svg/res/volume-low.svg +0 -1
  507. package/src/ui/components/button/svg/res/volume-off.svg +0 -1
  508. package/src/ui/components/controlbar/ControlBar.tsx +0 -69
  509. package/src/ui/components/controlbar/Spacer.tsx +0 -9
  510. package/src/ui/components/controlbar/barrel.ts +0 -2
  511. package/src/ui/components/menu/LanguageMenuButton.tsx +0 -192
  512. package/src/ui/components/menu/PlaybackRateSubMenu.tsx +0 -93
  513. package/src/ui/components/menu/QualitySubMenu.tsx +0 -148
  514. package/src/ui/components/menu/SettingsMenuButton.tsx +0 -25
  515. package/src/ui/components/menu/barrel.ts +0 -5
  516. package/src/ui/components/menu/common/MenuButton.tsx +0 -49
  517. package/src/ui/components/menu/common/MenuRadioButton.tsx +0 -65
  518. package/src/ui/components/menu/common/MenuTitle.tsx +0 -37
  519. package/src/ui/components/menu/common/MenuView.tsx +0 -62
  520. package/src/ui/components/menu/common/ScrollableMenu.tsx +0 -43
  521. package/src/ui/components/menu/common/SubMenuWithButton.tsx +0 -58
  522. package/src/ui/components/menu/common/barrel.ts +0 -6
  523. package/src/ui/components/message/CastMessage.tsx +0 -74
  524. package/src/ui/components/message/ErrorDisplay.tsx +0 -43
  525. package/src/ui/components/message/barrel.ts +0 -2
  526. package/src/ui/components/seekbar/SeekBar.tsx +0 -178
  527. package/src/ui/components/seekbar/barrel.ts +0 -2
  528. package/src/ui/components/seekbar/thumbnail/SingleThumbnailView.tsx +0 -38
  529. package/src/ui/components/seekbar/thumbnail/Thumbnail.ts +0 -72
  530. package/src/ui/components/seekbar/thumbnail/ThumbnailView.tsx +0 -266
  531. package/src/ui/components/seekbar/thumbnail/Urlpolyfill.ts +0 -1
  532. package/src/ui/components/seekbar/thumbnail/Urlpolyfill.web.ts +0 -3
  533. package/src/ui/components/seekbar/thumbnail/barrel.ts +0 -2
  534. package/src/ui/components/timelabel/StaticTimeLabel.tsx +0 -63
  535. package/src/ui/components/timelabel/TimeLabel.tsx +0 -79
  536. package/src/ui/components/timelabel/barrel.ts +0 -2
  537. package/src/ui/components/uicontroller/UiContainer.tsx +0 -355
  538. package/src/ui/components/uicontroller/UiControls.ts +0 -31
  539. package/src/ui/components/uicontroller/barrel.ts +0 -2
  540. package/src/ui/components/util/PlayerContext.ts +0 -29
  541. package/src/ui/components/util/TrackUtils.ts +0 -62
  542. package/src/ui/components/util/barrel.ts +0 -1
  543. package/src/ui/utils/ArrayUtils.ts +0 -12
  544. package/src/ui/utils/language/Language.ts +0 -38
  545. package/src/ui/utils/language/languages.json +0 -1658
@@ -1,36 +0,0 @@
1
- /// <reference types="react" />
2
- import type { StyleProp, ViewStyle } from 'react-native';
3
- export interface PlaybackRateValue {
4
- /**
5
- * The playbackRate value.
6
- */
7
- readonly value: number;
8
- /**
9
- * The label of the playbackRate value.
10
- */
11
- readonly label: string;
12
- }
13
- /**
14
- * The default playback rate values for the menu.
15
- */
16
- export declare const DEFAULT_PLAYBACK_RATE_MENU_VALUES: PlaybackRateValue[];
17
- interface PlaybackRateSubMenuProps {
18
- /**
19
- * Overrides for the default playbackRate values.
20
- */
21
- values?: PlaybackRateValue[];
22
- /**
23
- * Overrides for the style of the menu.
24
- */
25
- menuStyle?: StyleProp<ViewStyle>;
26
- }
27
- /**
28
- * A button component that opens a playbackRate selection menu for the `react-native-theoplayer` UI.
29
- */
30
- export declare const PlaybackRateSubMenu: (props: PlaybackRateSubMenuProps) => JSX.Element;
31
- interface PlaybackSelectionViewProps {
32
- menuStyle?: StyleProp<ViewStyle>;
33
- values: PlaybackRateValue[];
34
- }
35
- export declare const PlaybackSelectionView: (props: PlaybackSelectionViewProps) => JSX.Element;
36
- export {};
@@ -1,29 +0,0 @@
1
- import { MediaTrack } from 'react-native-theoplayer';
2
- import { PureComponent } from 'react';
3
- import { StyleProp, ViewStyle } from 'react-native';
4
- export interface QualitySubMenuProps {
5
- /**
6
- * Overrides for the style of the menu.
7
- */
8
- menuStyle?: StyleProp<ViewStyle>;
9
- }
10
- /**
11
- * A button component that opens a playbackRate selection menu for the `react-native-theoplayer` UI.
12
- */
13
- export declare const QualitySubMenu: (props: QualitySubMenuProps) => JSX.Element;
14
- export interface QualitySelectionViewState {
15
- videoTracks: MediaTrack[];
16
- selectedVideoTrack: number | undefined;
17
- targetVideoTrackQuality: number | number[] | undefined;
18
- }
19
- export interface QualitySelectionViewProps {
20
- style?: StyleProp<ViewStyle>;
21
- }
22
- export declare class QualitySelectionView extends PureComponent<QualitySelectionViewProps, QualitySelectionViewState> {
23
- constructor(props: QualitySelectionViewProps);
24
- componentDidMount(): void;
25
- componentWillUnmount(): void;
26
- private onTrackListChanged;
27
- private selectTargetVideoQuality;
28
- render(): JSX.Element;
29
- }
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import type { StyleProp, ViewStyle } from 'react-native';
3
- export interface SettingsMenuButtonProps {
4
- /**
5
- * Overrides for the style of the menu.
6
- */
7
- menuStyle?: StyleProp<ViewStyle>;
8
- }
9
- /**
10
- * A button component that opens a settings menu containing all children for the `react-native-theoplayer` UI.
11
- */
12
- export declare const SettingsMenuButton: (props: React.PropsWithChildren<SettingsMenuButtonProps>) => JSX.Element;
@@ -1,5 +0,0 @@
1
- export * from './common/barrel';
2
- export * from './LanguageMenuButton';
3
- export * from './PlaybackRateSubMenu';
4
- export * from './QualitySubMenu';
5
- export * from './SettingsMenuButton';
@@ -1,25 +0,0 @@
1
- import type { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
2
- import { ReactNode } from 'react';
3
- import type { MenuConstructor } from '../../uicontroller/UiControls';
4
- export interface MenuButtonProps {
5
- /**
6
- * The image that will be used in the button.
7
- */
8
- icon?: ImageSourcePropType;
9
- /**
10
- * The SVG that will be used in the button. Takes priority over images.
11
- */
12
- svg?: ReactNode;
13
- /**
14
- * The style overrides for the menu button.
15
- */
16
- style?: StyleProp<ViewStyle>;
17
- /**
18
- * The menu that will be constructed when the button is pressed.
19
- */
20
- menuConstructor?: MenuConstructor;
21
- }
22
- /**
23
- * A menu button that opens a fullscreen menu for in the `react-native-theoplayer` UI.
24
- */
25
- export declare const MenuButton: (props: MenuButtonProps) => JSX.Element;
@@ -1,33 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyleProp, TextStyle } from 'react-native';
3
- export interface MenuRadioButtonProps {
4
- /**
5
- * The label for the button.
6
- */
7
- label: string;
8
- /**
9
- * The uid used in the callback when the button is pressed.
10
- */
11
- uid: number | undefined;
12
- /**
13
- * Whether the radio button is selected.
14
- */
15
- selected?: boolean;
16
- /**
17
- * The callback that is called when the button is pressed.
18
- * @param id The uid prop.
19
- */
20
- onSelect: (id: number | undefined) => void;
21
- /**
22
- * The style overrides for the radio button.
23
- */
24
- style?: StyleProp<TextStyle>;
25
- }
26
- /**
27
- * The default style for the menu button.
28
- */
29
- export declare const DEFAULT_MENU_BUTTON_STYLE: TextStyle;
30
- /**
31
- * The default radio button that can be used in menus for the `react-native-theoplayer` UI.
32
- */
33
- export declare const MenuRadioButton: (props: MenuRadioButtonProps) => JSX.Element;
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyleProp, TextStyle } from 'react-native';
3
- export interface MenuTitleProps {
4
- /**
5
- * The label of the menu title component.
6
- */
7
- label: string;
8
- /**
9
- * The style overrides.
10
- */
11
- style?: StyleProp<TextStyle>;
12
- }
13
- /**
14
- * The default style for the menu title.
15
- */
16
- export declare const DEFAULT_MENU_TITLE_STYLE: TextStyle;
17
- /**
18
- * The title placed at the top of the fullscreen menu.
19
- */
20
- export declare const MenuTitle: (props: MenuTitleProps) => JSX.Element;
@@ -1,21 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- interface MenuViewProps {
4
- /**
5
- * The menu to render inside the menu view.
6
- */
7
- menu: ReactNode;
8
- /**
9
- * The style overrides for the menu view.
10
- */
11
- style?: StyleProp<ViewStyle>;
12
- }
13
- /**
14
- * The default style for the menu view.
15
- */
16
- export declare const DEFAULT_MENU_VIEW_STYLE: ViewStyle;
17
- /**
18
- * A component to render a fullscreen menu with a title and back button for the `react-native-theoplayer` UI.
19
- */
20
- export declare const MenuView: (props: MenuViewProps) => JSX.Element;
21
- export {};
@@ -1,23 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { ViewStyle } from 'react-native';
3
- interface ScrollableMenuProps {
4
- /**
5
- * The title of the scrollable menu.
6
- */
7
- title: string;
8
- /**
9
- * The items to be put in the scrollable menu.
10
- */
11
- items?: ReactNode;
12
- }
13
- /**
14
- * The default style for the scrollable menu.
15
- */
16
- export declare const DEFAULT_SCROLLABLE_MENU_STYLE: ViewStyle;
17
- /**
18
- * A menu component that provides a ScrollView for menu items for the `react-native-theoplayer` UI.
19
- * @param props
20
- * @constructor
21
- */
22
- export declare const ScrollableMenu: (props: ScrollableMenuProps) => JSX.Element;
23
- export {};
@@ -1,29 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
- import type { MenuConstructor } from '../../uicontroller/UiControls';
4
- export interface SubMenuButtonProps {
5
- /**
6
- * The style overrides.
7
- */
8
- style?: StyleProp<ViewStyle>;
9
- /**
10
- * The style overrides for the text components.
11
- */
12
- textStyle?: StyleProp<TextStyle>;
13
- /**
14
- * The sub menu that will be opened.
15
- */
16
- menuConstructor: MenuConstructor;
17
- /**
18
- * The label for the sub menu button.
19
- */
20
- label: string;
21
- /**
22
- * A preview for the currently selected value before opening the sub menu.
23
- */
24
- preview: string;
25
- }
26
- /**
27
- * A component that can be put inside a SettingsMenuButton to create a sub menu.
28
- */
29
- export declare const SubMenuWithButton: (props: SubMenuButtonProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- export * from './MenuButton';
2
- export * from './MenuTitle';
3
- export * from './MenuView';
4
- export * from './MenuRadioButton';
5
- export * from './ScrollableMenu';
6
- export * from './SubMenuWithButton';
@@ -1,16 +0,0 @@
1
- import { PureComponent } from 'react';
2
- interface CastMessageState {
3
- message: string | undefined;
4
- }
5
- /**
6
- * A simple cast message showing the current state of casting for the `react-native-theoplayer` UI.
7
- */
8
- export declare class CastMessage extends PureComponent<unknown, CastMessageState> {
9
- constructor(props: unknown);
10
- componentDidMount(): void;
11
- componentWillUnmount(): void;
12
- private _processCastState;
13
- private onCastEvent;
14
- render(): JSX.Element;
15
- }
16
- export {};
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PlayerError } from 'react-native-theoplayer';
3
- export interface ErrorDisplayProps {
4
- /**
5
- * The error that will be displayed.
6
- */
7
- error: PlayerError;
8
- }
9
- /**
10
- * A fullscreen error component for the `react-native-theoplayer` UI.
11
- */
12
- export declare function ErrorDisplay(props: ErrorDisplayProps): JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './CastMessage';
2
- export * from './ErrorDisplay';
@@ -1,41 +0,0 @@
1
- import { PureComponent } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { TimeRange } from 'react-native-theoplayer';
4
- export interface SeekBarProps {
5
- /**
6
- * Optional style applied to the SeekBar.
7
- */
8
- style?: StyleProp<ViewStyle>;
9
- }
10
- interface SeekBarState {
11
- ignoreTimeupdate: boolean;
12
- isSeeking: boolean;
13
- pausedDueToScrubbing: boolean;
14
- seekable: TimeRange[];
15
- duration: number;
16
- sliderTime: number;
17
- width: number;
18
- }
19
- /**
20
- * The default seek bar component for the `react-native-theoplayer` UI.
21
- */
22
- export declare class SeekBar extends PureComponent<SeekBarProps, SeekBarState> {
23
- private static initialState;
24
- private _seekBlockingTimeout;
25
- private _clearIsScrubbingTimout;
26
- constructor(props: SeekBarProps);
27
- componentDidMount(): void;
28
- componentWillUnmount(): void;
29
- private _onTimeUpdate;
30
- private _onLoadedMetadata;
31
- private _onDurationChange;
32
- private _onProgress;
33
- private _onSlidingStart;
34
- private _onValueChange;
35
- private _onSlidingComplete;
36
- private readonly _prepareSeekStart;
37
- private readonly _finishSeek;
38
- private debounceSeek;
39
- render(): JSX.Element;
40
- }
41
- export {};
@@ -1,2 +0,0 @@
1
- export * from './SeekBar';
2
- export * from './thumbnail/barrel';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ThumbnailViewProps {
3
- seekableStart: number;
4
- seekableEnd: number;
5
- currentTime: number;
6
- seekBarWidth: number;
7
- }
8
- export declare function SingleThumbnailView(props: ThumbnailViewProps): JSX.Element;
@@ -1,56 +0,0 @@
1
- export declare function isTileMapThumbnail(thumbnail: Thumbnail): thumbnail is TileMapThumbnail;
2
- export declare function isImageThumbnail(thumbnail: Thumbnail): thumbnail is ImageThumbnail;
3
- /**
4
- * Description of a thumbnail, which can be either a full image or part of a tile map.
5
- */
6
- export interface Thumbnail {
7
- /**
8
- * The url of the thumbnail image.
9
- */
10
- url: string;
11
- /**
12
- * Horizontal offset within the tile map in case the thumbnail is part of tile map.
13
- */
14
- tileX?: number;
15
- /**
16
- * Vertical offset within the tile map in case the thumbnail is part of tile map.
17
- */
18
- tileY?: number;
19
- /**
20
- * Width of a tile in case the thumbnail is part of tile map.
21
- */
22
- tileWidth?: number;
23
- /**
24
- * Height of a tile in case the thumbnail is part of tile map.
25
- */
26
- tileHeight?: number;
27
- }
28
- /**
29
- * Description of a tile-map thumbnail.
30
- */
31
- export interface TileMapThumbnail extends Thumbnail {
32
- /**
33
- * The url of the thumbnail image.
34
- */
35
- url: string;
36
- /**
37
- * Horizontal offset within the tile map in case the thumbnail is part of tile map.
38
- */
39
- tileX: number;
40
- /**
41
- * Vertical offset within the tile map in case the thumbnail is part of tile map.
42
- */
43
- tileY: number;
44
- /**
45
- * Width of a tile in case the thumbnail is part of tile map.
46
- */
47
- tileWidth: number;
48
- /**
49
- * Height of a tile in case the thumbnail is part of tile map.
50
- */
51
- tileHeight: number;
52
- }
53
- /**
54
- * Description of a tile-map thumbnail.
55
- */
56
- export declare type ImageThumbnail = Thumbnail;
@@ -1,60 +0,0 @@
1
- import { PureComponent } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { TextTrack } from 'react-native-theoplayer';
4
- interface ThumbnailViewState {
5
- imageWidth: number;
6
- imageHeight: number;
7
- renderWidth: number;
8
- renderHeight: number;
9
- }
10
- export interface ThumbnailViewProps {
11
- /**
12
- * Thumbnail track. A valid thumbnail track should have properties:
13
- * <br/> - `'kind'` equals `'metadata'`.
14
- * <br/> - `'label'` equals `'thumbnails'`.
15
- */
16
- thumbnailTrack: TextTrack;
17
- /**
18
- * Current time.
19
- */
20
- time: number;
21
- /**
22
- * Stream duration
23
- */
24
- duration: number;
25
- /**
26
- * Whether to show a time label.
27
- */
28
- showTimeLabel: boolean;
29
- /**
30
- * Used to set the width of the rendered thumbnail. The height will be calculated according to the image's aspect ratio.
31
- */
32
- size: number;
33
- /**
34
- * Optional style applied to the time label.
35
- */
36
- timeLabelStyle?: StyleProp<ViewStyle>;
37
- }
38
- export declare const DEFAULT_THUMBNAIL_VIEW_STYLE: ThumbnailStyle;
39
- export interface ThumbnailStyle {
40
- containerThumbnail: ViewStyle;
41
- thumbnail: ViewStyle;
42
- }
43
- export declare class ThumbnailView extends PureComponent<ThumbnailViewProps, ThumbnailViewState> {
44
- static defaultProps: {
45
- showTimeLabel: boolean;
46
- };
47
- private _ismounted;
48
- constructor(props: ThumbnailViewProps);
49
- componentDidMount(): void;
50
- componentWillUnmount(): void;
51
- private getCueIndexAtTime;
52
- private resolveThumbnailUrl;
53
- private getThumbnailImageForCue;
54
- private onTileImageLoad;
55
- private onImageLoadError;
56
- private onImageLoad;
57
- private renderThumbnail;
58
- render(): JSX.Element;
59
- }
60
- export {};
@@ -1 +0,0 @@
1
- export * from 'react-native-url-polyfill';
@@ -1,8 +0,0 @@
1
- import 'url-polyfill';
2
- declare const URL: {
3
- new (url: string | URL, base?: string | URL | undefined): URL;
4
- prototype: URL;
5
- createObjectURL(obj: Blob | MediaSource): string;
6
- revokeObjectURL(url: string): void;
7
- };
8
- export { URL };
@@ -1,2 +0,0 @@
1
- export * from './SingleThumbnailView';
2
- export * from './Thumbnail';
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyleProp, TextStyle } from 'react-native';
3
- export interface StaticTimeLabelProps {
4
- /**
5
- * Whether to show the duration of the current source.
6
- */
7
- showDuration: boolean;
8
- /**
9
- * The style overrides.
10
- */
11
- style?: StyleProp<TextStyle>;
12
- /**
13
- * The current time of the player
14
- */
15
- time: number;
16
- /**
17
- * The duration of the current source.
18
- */
19
- duration: number;
20
- }
21
- /**
22
- * A static time label for the `react-native-theoplayer` UI.
23
- */
24
- export declare function StaticTimeLabel(props: StaticTimeLabelProps): JSX.Element;
@@ -1,32 +0,0 @@
1
- import type { StyleProp, TextStyle } from 'react-native';
2
- import { PureComponent } from 'react';
3
- export interface TimeLabelProps {
4
- /**
5
- * Whether to show the duration of the player.
6
- */
7
- showDuration: boolean;
8
- /**
9
- * The style overrides.
10
- */
11
- style?: StyleProp<TextStyle>;
12
- }
13
- export interface TimeLabelState {
14
- currentTime: number;
15
- duration: number;
16
- }
17
- /**
18
- * The default style for the time label.
19
- */
20
- export declare const DEFAULT_TIME_LABEL_STYLE: TextStyle;
21
- /**
22
- * The default time label component for the `react-native-theoplayer` UI.
23
- */
24
- export declare class TimeLabel extends PureComponent<TimeLabelProps, TimeLabelState> {
25
- private static initialState;
26
- constructor(props: TimeLabelProps);
27
- componentDidMount(): void;
28
- componentWillUnmount(): void;
29
- private onTimeUpdate;
30
- private onDurationChange;
31
- render(): JSX.Element;
32
- }
@@ -1,2 +0,0 @@
1
- export * from './StaticTimeLabel';
2
- export * from './TimeLabel';
@@ -1,115 +0,0 @@
1
- import React, { PureComponent, ReactNode } from 'react';
2
- import { Animated, StyleProp, ViewStyle } from 'react-native';
3
- import type { THEOplayer } from 'react-native-theoplayer';
4
- import { PlayerError } from 'react-native-theoplayer';
5
- import type { THEOplayerTheme } from '../../THEOplayerTheme';
6
- import type { UiControls } from './UiControls';
7
- interface UiContainerProps {
8
- /**
9
- * The player that is provided to all children using PlayerContext.
10
- */
11
- player: THEOplayer;
12
- /**
13
- * The theme that is provided to all children using PlayerContext.
14
- */
15
- theme: THEOplayerTheme;
16
- /**
17
- * The style of the container.
18
- */
19
- style?: StyleProp<ViewStyle>;
20
- /**
21
- * The style of the top slot.
22
- */
23
- topStyle?: StyleProp<ViewStyle>;
24
- /**
25
- * The style of the center slot.
26
- */
27
- centerStyle?: StyleProp<ViewStyle>;
28
- /**
29
- * The style of the button slot.
30
- */
31
- bottomStyle?: StyleProp<ViewStyle>;
32
- /**
33
- * The components to be put in the top slot.
34
- */
35
- top?: ReactNode;
36
- /**
37
- * The components to be put in the center slot.
38
- */
39
- center?: ReactNode;
40
- /**
41
- * The components to be put in the bottom slot.
42
- */
43
- bottom?: ReactNode;
44
- /**
45
- * A slot to put components behind the UI background.
46
- */
47
- behind?: ReactNode;
48
- }
49
- /**
50
- * The default style for a fullscreen centered view.
51
- */
52
- export declare const FULLSCREEN_CENTER_STYLE: ViewStyle;
53
- /**
54
- * The default style for the center container.
55
- */
56
- export declare const UI_CONTAINER_STYLE: ViewStyle;
57
- /**
58
- * The default style for the top container.
59
- */
60
- export declare const TOP_UI_CONTAINER_STYLE: ViewStyle;
61
- /**
62
- * The default style for the center container.
63
- */
64
- export declare const CENTER_UI_CONTAINER_STYLE: ViewStyle;
65
- /**
66
- * The default style for the bottom container.
67
- */
68
- export declare const BOTTOM_UI_CONTAINER_STYLE: ViewStyle;
69
- interface UiContainerState {
70
- fadeAnimation: Animated.Value;
71
- currentMenu: ReactNode | undefined;
72
- showing: boolean;
73
- buttonsEnabled: boolean;
74
- error: PlayerError | undefined;
75
- firstPlay: boolean;
76
- paused: boolean;
77
- casting: boolean;
78
- pip: boolean;
79
- }
80
- /**
81
- * A component that does all the coordination between UI components.
82
- * - It provides all UI components with the PlayerContext, so they can access the styling and player.
83
- * - It provides slots for UI components to be places in the top/center/bottom positions.
84
- * - It uses animations to fade the UI in and out when applicable.
85
- */
86
- export declare class UiContainer extends PureComponent<React.PropsWithChildren<UiContainerProps>, UiContainerState> implements UiControls {
87
- private _currentFadeOutTimeout;
88
- private _menus;
89
- static initialState: UiContainerState;
90
- constructor(props: UiContainerProps);
91
- componentDidMount(): void;
92
- componentWillUnmount(): void;
93
- private onPlay;
94
- private onPause;
95
- private onSourceChange;
96
- private onLoadStart;
97
- private onError;
98
- private onCastEvent;
99
- private onEnded;
100
- private onPresentationModeChange;
101
- get buttonsEnabled_(): boolean;
102
- /**
103
- * Request to show the UI due to user input.
104
- */
105
- onUserAction_: () => void;
106
- openMenu_: (menuConstructor: () => ReactNode) => void;
107
- closeCurrentMenu_: () => void;
108
- private stopAnimationsAndShowUi_;
109
- private resumeAnimationsIfPossible_;
110
- private doFadeIn_;
111
- private doFadeOut_;
112
- private get animationsBlocked_();
113
- render(): JSX.Element;
114
- }
115
- export {};
@@ -1,14 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- /**
3
- * A callback function to render a menu when needed.
4
- */
5
- export declare type MenuConstructor = () => ReactNode;
6
- /**
7
- * The API provided to all UI components in `react-native-theoplayer` so they can communicate with the UI.
8
- */
9
- export interface UiControls {
10
- readonly buttonsEnabled_: boolean;
11
- onUserAction_: () => void;
12
- openMenu_: (menuConstructor: MenuConstructor) => void;
13
- closeCurrentMenu_: () => void;
14
- }
@@ -1,2 +0,0 @@
1
- export * from './UiContainer';
2
- export * from './UiControls';