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,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const PauseSvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 24 24'} {...context} {...props}>
12
- <Path d="M2.108 1.914Q2.108.5 3.522.5h4.171q1.415 0 1.415 1.414v20.172q0 1.414-1.415 1.414H3.522q-1.414 0-1.414-1.414zm12.784 0Q14.892.5 16.307.5h4.171q1.414 0 1.414 1.414v20.172q0 1.414-1.414 1.414h-4.171q-1.415 0-1.415-1.414z" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const PipEnterSvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 48 48'} {...context} {...props}>
12
- <Path d="M22.3 25.85h16.75V13H22.3ZM7 40q-1.2 0-2.1-.9Q4 38.2 4 37V11q0-1.2.9-2.1Q5.8 8 7 8h34q1.25 0 2.125.9T44 11v26q0 1.2-.875 2.1-.875.9-2.125.9Zm0-3V11v26Zm0 0h34V11H7v26Zm18.3-14.15V16h10.75v6.85Z" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const PipExitSvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 48 48'} {...context} {...props}>
12
- <Path d="M7 40q-1.2 0-2.1-.9Q4 38.2 4 37V22h3v15h34V11H22V8h19q1.2 0 2.1.9.9.9.9 2.1v26q0 1.2-.9 2.1-.9.9-2.1.9Zm27.85-7L37 30.85l-7.55-7.5h5.9v-3h-11v11h3V25.5ZM4 19V8h15v11Zm20 5Z" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const PlaySvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 90 90'} {...context} {...props}>
12
- <Path d="M77.504 50.868c-7.236 5.156-16.584 10.914-28.04 17.269-11.044 6.207-20.729 11.081-29.053 14.625l-9.224 3.43c-.581-2.493-1.125-6.188-1.632-11.08-1.143-9.75-1.715-20.513-1.715-32.288 0-10.781.777-20.858 2.333-30.234l2.251-10.772 9.787 3.29c8.476 3.375 17.663 8.166 27.563 14.373 10.48 6.562 19.472 12.805 26.97 18.73 3.749 2.982 6.449 5.279 8.099 6.891l-7.339 5.766" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const ReplaySvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 24 24'} {...context} {...props}>
12
- <Path d="M12 23q-3.725 0-6.438-2.375Q2.85 18.25 2.275 14.7q-.1-.625.325-1.088.425-.462 1.125-.462.6 0 1.087.437.488.438.663 1.113.5 2.225 2.313 3.688Q9.6 19.85 12 19.85q2.8 0 4.75-1.963 1.95-1.962 1.95-4.762t-1.962-4.75q-1.963-1.95-4.763-1.95H11.8l.525.525q.375.375.363.85-.013.475-.363.825t-.85.363q-.5.012-.85-.338l-2.7-2.7q-.225-.225-.337-.513-.113-.287-.113-.587t.113-.588q.112-.287.337-.512L10.6 1.075q.35-.35.875-.363.525-.012.875.363.35.35.338.85-.013.5-.363.85l-.5.5h.15q2.05 0 3.85.775 1.8.775 3.15 2.112Q20.325 7.5 21.1 9.287q.775 1.788.775 3.838t-.775 3.85q-.775 1.8-2.112 3.137-1.338 1.338-3.138 2.113Q14.05 23 12 23Z" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const SettingsSvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 24 24'} {...context} {...props}>
12
- <Path d="M14 22.475h-4q-.475 0-.863-.337-.387-.338-.437-.813l-.3-2.2q-.2-.075-.4-.2t-.375-.25l-2.05.85q-.475.2-.937.05-.463-.15-.738-.6l-1.975-3.45q-.25-.45-.162-.95.087-.5.487-.775l1.775-1.35Q4 12.325 4 12.225v-.45q0-.1.025-.225L2.25 10.2q-.4-.3-.487-.8-.088-.5.162-.925L3.9 5.025q.25-.45.725-.588.475-.137.95.038l2.075.875q.175-.15.363-.263.187-.112.387-.187l.3-2.225q.05-.5.425-.825.375-.325.875-.325h4q.5 0 .875.325t.425.825l.3 2.225q.2.075.4.187.2.113.375.263l2.05-.875q.475-.175.938-.025.462.15.737.575l2 3.45q.25.45.15.95-.1.5-.5.775l-1.775 1.35v.675q0 .1-.025.225l1.775 1.35q.4.275.487.775.088.5-.162.95l-2 3.45q-.25.425-.725.587-.475.163-.95-.037l-2.025-.85q-.175.125-.362.25-.188.125-.388.2l-.3 2.2q-.05.475-.425.813-.375.337-.875.337ZM12 15.5q1.45 0 2.475-1.025Q15.5 13.45 15.5 12q0-1.45-1.025-2.475Q13.45 8.5 12 8.5q-1.45 0-2.475 1.025Q8.5 10.55 8.5 12q0 1.45 1.025 2.475Q10.55 15.5 12 15.5Z" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { SvgProps } from 'react-native-svg';
3
-
4
- export const SvgContext = React.createContext<SvgProps>({ fill: 'white' });
@@ -1,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const VolumeOffSvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 24 24'} {...context} {...props}>
12
- <Path d="m19.225 22.55-2.25-2.275q-.175.1-.35.187-.175.088-.375.163-.525.2-1.075-.138-.55-.337-.55-1.062 0-.225.088-.425.087-.2.287-.325.05-.025.138-.088.087-.062.137-.087l-2.65-2.7v2.425q0 1.05-.962 1.463-.963.412-1.713-.338l-3.5-3.5H3.525q-.65 0-1.112-.463-.463-.462-.463-1.112v-4.55q0-.65.463-1.113.462-.462 1.112-.462H5.2L1.35 4.2Q1 3.85 1 3.375t.35-.825q.35-.35.85-.35t.85.35L20.9 20.9q.35.35.35.825t-.35.825q-.35.35-.838.35-.487 0-.837-.35ZM16.25 3.325q2.6 1.1 4.188 3.425 1.587 2.325 1.587 5.225 0 1.425-.4 2.7-.4 1.275-1.125 2.4L18.775 15.3q.425-.75.638-1.588.212-.837.212-1.737 0-2.125-1.175-3.875t-3.1-2.575q-.325-.125-.525-.4t-.2-.625q0-.65.525-1.038.525-.387 1.1-.137Zm.925 10.35-2.55-2.6V7.65q1.275.6 2.088 1.762.812 1.163.812 2.588 0 .45-.087.875-.088.425-.263.8ZM12.625 9l-3.45-3.575.775-.775q.75-.75 1.713-.338.962.413.962 1.463Z" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,18 +0,0 @@
1
- import type { SvgProps } from 'react-native-svg';
2
- import Svg, { Path } from 'react-native-svg';
3
- import React from 'react';
4
- import { SvgContext } from './SvgUtils';
5
-
6
- export const VolumeUpSvg = (props: SvgProps) => {
7
- return (
8
- <SvgContext.Consumer>
9
- {(context) => (
10
- <>
11
- <Svg viewBox={'0 0 24 24'} {...context} {...props}>
12
- <Path d="M16.275 20.625q-.575.25-1.1-.15-.525-.4-.525-1.05 0-.35.188-.613.187-.262.512-.387 1.925-.825 3.113-2.575 1.187-1.75 1.187-3.875T18.463 8.1q-1.188-1.75-3.113-2.575-.325-.125-.512-.4-.188-.275-.188-.625 0-.65.525-1.038.525-.387 1.1-.137 2.6 1.1 4.175 3.425 1.575 2.325 1.575 5.225 0 2.9-1.575 5.225-1.575 2.325-4.175 3.425ZM3.55 15.85q-.65 0-1.112-.463-.463-.462-.463-1.112v-4.55q0-.65.463-1.113Q2.9 8.15 3.55 8.15h2.925l3.5-3.5q.75-.75 1.713-.338.962.413.962 1.463v12.45q0 1.05-.962 1.463-.963.412-1.713-.338l-3.5-3.5Zm11.1.45V7.65q1.3.625 2.088 1.8.787 1.175.787 2.55 0 1.375-.787 2.525-.788 1.15-2.088 1.775Z" />
13
- </Svg>
14
- </>
15
- )}
16
- </SvgContext.Consumer>
17
- );
18
- };
@@ -1,20 +0,0 @@
1
- export * from './AirplaySvg';
2
- export * from './ArrowForwardSvg';
3
- export * from './BackSvg';
4
- export * from './BackwardSvg';
5
- export * from './ChromecastSvg';
6
- export * from './ErrorSvg';
7
- export * from './ForwardSvg';
8
- export * from './FullscreenEnterSvg';
9
- export * from './FullscreenExitSvg';
10
- export * from './LanguageSvg';
11
- export * from './ListSvg';
12
- export * from './PauseSvg';
13
- export * from './PipEnterSvg';
14
- export * from './PipExitSvg';
15
- export * from './PlaySvg';
16
- export * from './ReplaySvg';
17
- export * from './SettingsSvg';
18
- export * from './SvgUtils';
19
- export * from './VolumeOffSvg';
20
- export * from './VolumeUpSvg';
@@ -1,6 +0,0 @@
1
- <span part="icon">
2
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24">
3
- <path class="theoplayer-airplay-inner" d="M5 7h14v8H5z" />
4
- <path d="M6 22h12l-6-6zM21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V5h18v12h-4v2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" />
5
- </svg>
6
- </span>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 96 960 960" width="48"><path d="m273 936 207-206 206 206H273Zm-133-80q-24 0-42-18t-18-42V276q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H631v-60h189V276H140v520h189v60H140Zm340-290Z"/></svg>
@@ -1,25 +0,0 @@
1
- <span part="icon">
2
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" height="24" width="24">
3
- <defs>
4
- <clipPath id="theoplayer-chromecast-rings-mask">
5
- <path d="M0-36h44V0H0z" />
6
- </clipPath>
7
- </defs>
8
- <path class="theoplayer-chromecast-outer" d="M2 10a4 4 0 0 1 4-4h36a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H28v-4h14V10H6v6H2z" />
9
- <path class="theoplayer-chromecast-inner" d="M10 14h28v20H26.74A26 26 0 0 0 10 17.26z" />
10
- <g
11
- class="theoplayer-chromecast-rings"
12
- fill="none"
13
- stroke="currentColor"
14
- stroke-width="4"
15
- transform="translate(2 42)"
16
- clip-path="url(#theoplayer-chromecast-rings-mask)"
17
- >
18
- <circle stroke="none" cx="0" cy="0" r="30" />
19
- <circle class="theoplayer-chromecast-ring theoplayer-chromecast-ring1" stroke-width="6" cx="0" cy="0" r="3" />
20
- <circle class="theoplayer-chromecast-ring theoplayer-chromecast-ring2" cx="0" cy="0" r="12" />
21
- <circle class="theoplayer-chromecast-ring theoplayer-chromecast-ring3" cx="0" cy="0" r="20" />
22
- <path class="theoplayer-chromecast-ring theoplayer-chromecast-ring4" stroke-linecap="round" d="M0-20A20 20 0 0 1 20 0" />
23
- </g>
24
- </svg>
25
- </span>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M6.925 21.325q-.45-.45-.45-1.113 0-.662.45-1.112l7.1-7.1L6.9 4.875q-.45-.45-.462-1.1-.013-.65.462-1.125.475-.45 1.125-.45t1.1.45l8.425 8.425q.2.2.287.437.088.238.088.488t-.088.488q-.087.237-.287.437L9.125 21.35q-.45.45-1.087.45-.638 0-1.113-.475Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="m10.525 19.275-6.375-6.35q-.175-.2-.262-.437Q3.8 12.25 3.8 12t.088-.488q.087-.237.262-.437l6.375-6.35q.375-.375.925-.388.55-.012.95.388.375.4.388.937.012.538-.363.938l-4.1 4.075H18.35q.55 0 .938.387.387.388.387.938 0 .55-.387.938-.388.387-.938.387H8.325l4.1 4.075q.35.375.363.925.012.55-.363.95-.4.4-.95.4-.55 0-.95-.4Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 96 960 960" width="48"><path d="M480 983.174q-144.567 0-248.316-95.478T115.5 651.022q-1.478-13.674 8.098-23.87 9.576-10.195 24.59-10.195 13.334 0 23.149 9.576 9.815 9.576 12.533 24.489 12.195 112.608 96.235 188.195Q364.144 914.804 480 914.804q124.104 0 210.976-86.921 86.872-86.922 86.872-210.926 0-124.283-84.402-211.066-84.403-86.782-208.685-86.782h-22l49.369 49.369q9.718 9.718 9.598 22.196-.119 12.478-9.682 21.717-9.309 9.479-21.788 9.598-12.478.12-22.041-9.359L362.5 306.674q-5.478-5.239-7.837-11.076-2.359-5.837-2.359-12.674t2.37-12.662q2.369-5.825 7.826-11.327l106.478-106.479q8.718-8.478 21.315-8.597 12.598-.12 22.077 8.597 8.478 9.416 8.358 22.045-.119 12.629-8.598 20.869l-55.369 55.369h23q76.326 0 143.076 28.478 66.75 28.479 116.587 78.316t78.315 116.437q28.479 66.6 28.479 142.891T817.79 759.822q-28.427 66.67-78.333 116.58-49.906 49.911-116.569 78.342-66.662 28.43-142.888 28.43Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 96 960 960" width="48"><path d="M86.956 910.131h65.699q9.171 0 14.801-6.413 5.631-6.413 4.076-14.067-6.099-32.801-29.132-57.242-23.033-24.442-55.051-30.941-7.654-1.555-14.067 4.076-6.413 5.63-6.413 15.164v69.336q0 8.487 5.8 14.287 5.8 5.8 14.287 5.8Zm179.365 0q14.288 0 23.635-9.565 9.348-9.565 7.348-23.261-10.944-78.191-65.681-134.428-54.737-56.237-131.928-67.181-13.696-2-23.26 7.415-9.566 9.416-9.566 23.411 0 12.13 9.311 23.059 9.312 10.929 24.08 13.332 49.566 9.566 84.913 46.696 35.348 37.131 44.914 87.131 2.403 14.768 12.595 24.08 10.192 9.311 23.639 9.311Zm127.147 0q13.904 0 23.261-9.563 9.358-9.563 8.358-23.444-5.819-64.393-33.105-122.128-27.286-57.735-70.589-101.784-43.303-44.049-100.088-71.892-56.784-27.842-121.43-33.407-13.88-1-23.443 8.53-9.563 9.531-9.563 23.377 0 13.615 9.072 23.615 9.072 10 23.62 12.19 103.526 11.636 174.956 85.018 71.43 73.382 82.858 176.796 1.801 14.298 11.995 23.495 10.195 9.197 24.098 9.197ZM123.477 241.304h692.436q31.74 0 55.762 24.021 24.021 24.022 24.021 55.762v509.826q0 31.507-24.021 55.362-24.022 23.856-55.762 23.856H525.696q-16.706 0-28.158-11.501-11.451-11.502-11.451-28.283 0-16.782 11.451-28.108 11.452-11.326 28.158-11.326h290.217V321.087H146.087v146q-6.783 6.348-16.595 11.674-9.813 5.326-23.514 5.326-16.457 0-27.783-11.452-11.326-11.451-11.326-28.158v-146q0-21.834 16.838-39.504 16.837-17.669 39.77-17.669Zm317.914 363Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="m12 14.2-4.5 4.5q-.45.45-1.1.45-.65 0-1.1-.45-.45-.45-.45-1.1 0-.65.45-1.1L9.8 12 5.3 7.5q-.45-.45-.45-1.1 0-.65.45-1.1.45-.45 1.1-.45.65 0 1.1.45L12 9.8l4.5-4.5q.45-.45 1.1-.45.65 0 1.1.45.45.45.45 1.1 0 .65-.45 1.1L14.2 12l4.5 4.5q.45.45.45 1.1 0 .65-.45 1.1-.45.45-1.1.45-.65 0-1.1-.45Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" height="48" width="48"><path d="M24.15 26.4q.85 0 1.425-.575.575-.575.575-1.425v-9.2q0-.8-.6-1.375t-1.4-.575q-.85 0-1.425.575-.575.575-.575 1.425v9.2q0 .8.6 1.375t1.4.575ZM24 34.7q1 0 1.625-.625t.625-1.625q0-.95-.625-1.625T24 30.15q-1 0-1.625.675t-.625 1.625q0 1 .625 1.625T24 34.7Zm0 10q-4.4 0-8.175-1.575Q12.05 41.55 9.25 38.75q-2.8-2.8-4.375-6.575Q3.3 28.4 3.3 24q0-4.35 1.575-8.125Q6.45 12.1 9.25 9.3q2.8-2.8 6.575-4.425Q19.6 3.25 24 3.25q4.35 0 8.125 1.625Q35.9 6.5 38.7 9.3q2.8 2.8 4.425 6.575Q44.75 19.65 44.75 24q0 4.4-1.625 8.175Q41.5 35.95 38.7 38.75q-2.8 2.8-6.575 4.375Q28.35 44.7 24 44.7Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 96 960 960" width="48"><path d="M480 983.174q-76.26 0-142.952-28.965-66.693-28.965-116.12-78.435-49.428-49.47-78.287-116.078-28.859-66.608-28.859-142.772 0-76.163 28.979-142.859 28.978-66.695 78.435-116.032 49.456-49.337 116.141-78.316 66.685-28.978 142.936-28.978h22.966l-53.456-53.456q-9.435-9.256-9.055-23.4.381-14.144 9.816-23.579 9.227-9.232 23.505-9.094 14.277.138 23.473 9.333l107.63 108.392q10.196 10.435 10.196 24.108 0 13.674-10.196 23.87l-107.63 107.391q-9.957 10.196-24.131 10.316-14.173.119-23.608-10.076-10.196-10.228-9.696-23.886t10.696-24.093l47.695-47.456h-23.239q-123.104 0-208.095 86.859-84.992 86.86-84.992 210.946t86.872 210.988Q355.896 914.804 480 914.804q114.213 0 199.408-75.994 85.196-75.994 97.201-189.223 2.239-14.196 12.174-23.413 9.934-9.217 23.301-9.217 14.845 0 24.489 9.837 9.645 9.836 8.645 23.032-12.104 142.982-117.324 238.165Q622.674 983.174 480 983.174Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M5.9 19.225q-.475 0-.8-.325-.325-.325-.325-.8V15q0-.475.325-.812.325-.338.8-.338.5 0 .825.338.325.337.325.812v1.95H9q.475 0 .812.325.338.325.338.825 0 .475-.338.8-.337.325-.812.325Zm0-9.075q-.475 0-.8-.338-.325-.337-.325-.812V5.9q0-.475.325-.8.325-.325.8-.325H9q.475 0 .812.325.338.325.338.8 0 .5-.338.825-.337.325-.812.325H7.05V9q0 .475-.325.812-.325.338-.825.338Zm9.1 9.075q-.475 0-.812-.325-.338-.325-.338-.8 0-.5.338-.825.337-.325.812-.325h1.95V15q0-.475.325-.812.325-.338.825-.338.475 0 .8.338.325.337.325.812v3.1q0 .475-.325.8-.325.325-.8.325Zm3.1-9.075q-.5 0-.825-.338-.325-.337-.325-.812V7.05H15q-.475 0-.812-.325-.338-.325-.338-.825 0-.475.338-.8.337-.325.812-.325h3.1q.475 0 .8.325.325.325.325.8V9q0 .475-.325.812-.325.338-.8.338Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M9 19.225q-.475 0-.812-.325-.338-.325-.338-.8v-1.95H5.9q-.475 0-.8-.338-.325-.337-.325-.812 0-.475.325-.812.325-.338.8-.338H9q.475 0 .812.338.338.337.338.812v3.1q0 .475-.338.8-.337.325-.812.325ZM5.9 10.15q-.475 0-.8-.338-.325-.337-.325-.812 0-.475.325-.813.325-.337.8-.337h1.95V5.9q0-.475.338-.8.337-.325.812-.325.475 0 .812.325.338.325.338.8V9q0 .475-.338.812-.337.338-.812.338Zm9.1 9.075q-.475 0-.812-.325-.338-.325-.338-.8V15q0-.475.338-.812.337-.338.812-.338h3.1q.475 0 .8.338.325.337.325.812 0 .475-.325.812-.325.338-.8.338h-1.95v1.95q0 .475-.337.8-.338.325-.813.325Zm0-9.075q-.475 0-.812-.338-.338-.337-.338-.812V5.9q0-.475.338-.8.337-.325.812-.325.475 0 .813.325.337.325.337.8v1.95h1.95q.475 0 .8.337.325.338.325.813 0 .475-.325.812-.325.338-.8.338Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M17.469 15.446a6.892 6.892 310 1 0-4.772 3.342l2.872.986q1.9.626 1.9-1.374v-2.954l2.598 1.5V22q0 2-1.899 1.374l-4.95-1.632a9.892 9.892 310 1 1 6.849-4.796zM7 10a1 1 180 1 0 0 2 1 1 180 1 0 0-2zm4 0a1 1 180 1 0 0 2h5a1 1 180 1 0 0-2zm-3 4a1 1 180 1 0 0 2h3a1 1 180 1 0 0-2zm7 0a1 1 180 1 0 0 2 1 1 180 1 0 0-2z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 96 960 960" width="24"><path d="M400 856q-17 0-28.5-11.5T360 816q0-17 11.5-28.5T400 776h400q17 0 28.5 11.5T840 816q0 17-11.5 28.5T800 856H400Zm0-240q-17 0-28.5-11.5T360 576q0-17 11.5-28.5T400 536h400q17 0 28.5 11.5T840 576q0 17-11.5 28.5T800 616H400Zm0-240q-17 0-28.5-11.5T360 336q0-17 11.5-28.5T400 296h400q17 0 28.5 11.5T840 336q0 17-11.5 28.5T800 376H400ZM200 896q-33 0-56.5-23.5T120 816q0-33 23.5-56.5T200 736q33 0 56.5 23.5T280 816q0 33-23.5 56.5T200 896Zm0-240q-33 0-56.5-23.5T120 576q0-33 23.5-56.5T200 496q33 0 56.5 23.5T280 576q0 33-23.5 56.5T200 656Zm0-240q-33 0-56.5-23.5T120 336q0-33 23.5-56.5T200 256q33 0 56.5 23.5T280 336q0 33-23.5 56.5T200 416Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><circle cx="12" cy="12" r="7"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M2.108 1.914Q2.108.5 3.522.5h4.171q1.415 0 1.415 1.414v20.172q0 1.414-1.415 1.414H3.522q-1.414 0-1.414-1.414zm12.784 0Q14.892.5 16.307.5h4.171q1.414 0 1.414 1.414v20.172q0 1.414-1.414 1.414h-4.171q-1.415 0-1.415-1.414z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M22.3 25.85h16.75V13H22.3ZM7 40q-1.2 0-2.1-.9Q4 38.2 4 37V11q0-1.2.9-2.1Q5.8 8 7 8h34q1.25 0 2.125.9T44 11v26q0 1.2-.875 2.1-.875.9-2.125.9Zm0-3V11v26Zm0 0h34V11H7v26Zm18.3-14.15V16h10.75v6.85Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M7 40q-1.2 0-2.1-.9Q4 38.2 4 37V22h3v15h34V11H22V8h19q1.2 0 2.1.9.9.9.9 2.1v26q0 1.2-.9 2.1-.9.9-2.1.9Zm27.85-7L37 30.85l-7.55-7.5h5.9v-3h-11v11h3V25.5ZM4 19V8h15v11Zm20 5Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90" width="24" height="24"><path d="M77.504 50.868c-7.236 5.156-16.584 10.914-28.04 17.269-11.044 6.207-20.729 11.081-29.053 14.625l-9.224 3.43c-.581-2.493-1.125-6.188-1.632-11.08-1.143-9.75-1.715-20.513-1.715-32.288 0-10.781.777-20.858 2.333-30.234l2.251-10.772 9.787 3.29c8.476 3.375 17.663 8.166 27.563 14.373 10.48 6.562 19.472 12.805 26.97 18.73 3.749 2.982 6.449 5.279 8.099 6.891l-7.339 5.766"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M12 23q-3.725 0-6.438-2.375Q2.85 18.25 2.275 14.7q-.1-.625.325-1.088.425-.462 1.125-.462.6 0 1.087.437.488.438.663 1.113.5 2.225 2.313 3.688Q9.6 19.85 12 19.85q2.8 0 4.75-1.963 1.95-1.962 1.95-4.762t-1.962-4.75q-1.963-1.95-4.763-1.95H11.8l.525.525q.375.375.363.85-.013.475-.363.825t-.85.363q-.5.012-.85-.338l-2.7-2.7q-.225-.225-.337-.513-.113-.287-.113-.587t.113-.588q.112-.287.337-.512L10.6 1.075q.35-.35.875-.363.525-.012.875.363.35.35.338.85-.013.5-.363.85l-.5.5h.15q2.05 0 3.85.775 1.8.775 3.15 2.112Q20.325 7.5 21.1 9.287q.775 1.788.775 3.838t-.775 3.85q-.775 1.8-2.112 3.137-1.338 1.338-3.138 2.113Q14.05 23 12 23Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M14 22.475h-4q-.475 0-.863-.337-.387-.338-.437-.813l-.3-2.2q-.2-.075-.4-.2t-.375-.25l-2.05.85q-.475.2-.937.05-.463-.15-.738-.6l-1.975-3.45q-.25-.45-.162-.95.087-.5.487-.775l1.775-1.35Q4 12.325 4 12.225v-.45q0-.1.025-.225L2.25 10.2q-.4-.3-.487-.8-.088-.5.162-.925L3.9 5.025q.25-.45.725-.588.475-.137.95.038l2.075.875q.175-.15.363-.263.187-.112.387-.187l.3-2.225q.05-.5.425-.825.375-.325.875-.325h4q.5 0 .875.325t.425.825l.3 2.225q.2.075.4.187.2.113.375.263l2.05-.875q.475-.175.938-.025.462.15.737.575l2 3.45q.25.45.15.95-.1.5-.5.775l-1.775 1.35v.675q0 .1-.025.225l1.775 1.35q.4.275.487.775.088.5-.162.95l-2 3.45q-.25.425-.725.587-.475.163-.95-.037l-2.025-.85q-.175.125-.362.25-.188.125-.388.2l-.3 2.2q-.05.475-.425.813-.375.337-.875.337ZM12 15.5q1.45 0 2.475-1.025Q15.5 13.45 15.5 12q0-1.45-1.025-2.475Q13.45 8.5 12 8.5q-1.45 0-2.475 1.025Q8.5 10.55 8.5 12q0 1.45 1.025 2.475Q10.55 15.5 12 15.5Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M17.5 18q-.425 0-.712-.288-.288-.287-.288-.712V7q0-.425.288-.713Q17.075 6 17.5 6t.712.287q.288.288.288.713v10q0 .425-.288.712-.287.288-.712.288ZM7.05 16.975q-.5.35-1.025.05-.525-.3-.525-.9v-8.25q0-.6.525-.888.525-.287 1.025.038l6.2 4.15q.45.3.45.825 0 .525-.45.825Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M16.275 20.625q-.575.25-1.1-.15-.525-.4-.525-1.05 0-.35.188-.613.187-.262.512-.387 1.925-.825 3.113-2.575 1.187-1.75 1.187-3.875T18.463 8.1q-1.188-1.75-3.113-2.575-.325-.125-.512-.4-.188-.275-.188-.625 0-.65.525-1.038.525-.387 1.1-.137 2.6 1.1 4.175 3.425 1.575 2.325 1.575 5.225 0 2.9-1.575 5.225-1.575 2.325-4.175 3.425ZM3.55 15.85q-.65 0-1.112-.463-.463-.462-.463-1.112v-4.55q0-.65.463-1.113Q2.9 8.15 3.55 8.15h2.925l3.5-3.5q.75-.75 1.713-.338.962.413.962 1.463v12.45q0 1.05-.962 1.463-.963.412-1.713-.338l-3.5-3.5Zm11.1.45V7.65q1.3.625 2.088 1.8.787 1.175.787 2.55 0 1.375-.787 2.525-.788 1.15-2.088 1.775Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="M3.55 15.85q-.65 0-1.112-.463-.463-.462-.463-1.112v-4.55q0-.65.463-1.113Q2.9 8.15 3.55 8.15h2.925l3.5-3.5q.75-.75 1.713-.338.962.413.962 1.463v12.45q0 1.05-.962 1.463-.963.412-1.713-.338l-3.5-3.5Zm11.1.45V7.65q1.3.625 2.088 1.8.787 1.175.787 2.55 0 1.375-.787 2.525-.788 1.15-2.088 1.775Z"/></svg>
@@ -1 +0,0 @@
1
- <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24"><path d="m19.225 22.55-2.25-2.275q-.175.1-.35.187-.175.088-.375.163-.525.2-1.075-.138-.55-.337-.55-1.062 0-.225.088-.425.087-.2.287-.325.05-.025.138-.088.087-.062.137-.087l-2.65-2.7v2.425q0 1.05-.962 1.463-.963.412-1.713-.338l-3.5-3.5H3.525q-.65 0-1.112-.463-.463-.462-.463-1.112v-4.55q0-.65.463-1.113.462-.462 1.112-.462H5.2L1.35 4.2Q1 3.85 1 3.375t.35-.825q.35-.35.85-.35t.85.35L20.9 20.9q.35.35.35.825t-.35.825q-.35.35-.838.35-.487 0-.837-.35ZM16.25 3.325q2.6 1.1 4.188 3.425 1.587 2.325 1.587 5.225 0 1.425-.4 2.7-.4 1.275-1.125 2.4L18.775 15.3q.425-.75.638-1.588.212-.837.212-1.737 0-2.125-1.175-3.875t-3.1-2.575q-.325-.125-.525-.4t-.2-.625q0-.65.525-1.038.525-.387 1.1-.137Zm.925 10.35-2.55-2.6V7.65q1.275.6 2.088 1.762.812 1.163.812 2.588 0 .45-.087.875-.088.425-.263.8ZM12.625 9l-3.45-3.575.775-.775q.75-.75 1.713-.338.962.413.962 1.463Z"/></svg>
@@ -1,69 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { StyleProp, View, ViewStyle } from 'react-native';
3
- import { PlayerContext, UiContext } from '../util/PlayerContext';
4
-
5
- /**
6
- * The default style for the control bar.
7
- */
8
- export const DEFAULT_CONTROL_BAR_STYLE: ViewStyle = {
9
- flexDirection: 'row',
10
- justifyContent: 'flex-end',
11
- };
12
-
13
- interface ControlBarProps {
14
- /**
15
- * The style overrides for the control bar.
16
- */
17
- style?: StyleProp<ViewStyle>;
18
- }
19
-
20
- /**
21
- * A control bar component that renders all children horizontally.
22
- */
23
- export const ControlBar = (props: React.PropsWithChildren<ControlBarProps>) => {
24
- const { style, children } = props;
25
- return (
26
- <PlayerContext.Consumer>
27
- {(context: UiContext) => (
28
- <View style={[DEFAULT_CONTROL_BAR_STYLE, { height: context.style.dimensions.controlBarHeight }, style]}>{children}</View>
29
- )}
30
- </PlayerContext.Consumer>
31
- );
32
- };
33
-
34
- interface CenteredControlBarProps {
35
- /**
36
- * The style overrides for the control bar.
37
- */
38
- style?: StyleProp<ViewStyle>;
39
- /**
40
- * The component that will be placed in the left slot.
41
- */
42
- left?: ReactNode;
43
- /**
44
- * The component that will be placed in the middle slot.
45
- */
46
- middle?: ReactNode;
47
- /**
48
- * The component that will be placed in the right slot.
49
- */
50
- right?: ReactNode;
51
- }
52
-
53
- /**
54
- * A control bar that can only render 3 properties in the left/middle/right. This is used to create controls in the center of the player.
55
- */
56
- export const CenteredControlBar = (props: CenteredControlBarProps) => {
57
- const { style, middle, left, right } = props;
58
- return (
59
- <PlayerContext.Consumer>
60
- {(context: UiContext) => (
61
- <ControlBar style={[{ height: context.style.dimensions.centerControlBarHeight, width: '100%', justifyContent: 'space-between' }, style]}>
62
- <View style={{ height: context.style.dimensions.centerControlBarHeight }}>{left}</View>
63
- {middle}
64
- <View style={{ height: context.style.dimensions.centerControlBarHeight }}>{right}</View>
65
- </ControlBar>
66
- )}
67
- </PlayerContext.Consumer>
68
- );
69
- };
@@ -1,9 +0,0 @@
1
- import { View } from 'react-native';
2
- import React from 'react';
3
-
4
- /**
5
- * A spacer that can be used with the control bar to space out components left and right.
6
- */
7
- export const Spacer = () => {
8
- return <View style={{ flexGrow: 1 }} />;
9
- };
@@ -1,2 +0,0 @@
1
- export * from './ControlBar';
2
- export * from './Spacer';
@@ -1,192 +0,0 @@
1
- import React, { PureComponent } from 'react';
2
- import type { MediaTrack } from 'react-native-theoplayer';
3
- import { PlayerEventType, TextTrack } from 'react-native-theoplayer';
4
- import { PlayerContext, UiContext } from '../util/PlayerContext';
5
- import { LanguageSvg } from '../button/svg/LanguageSvg';
6
- import { ScrollableMenu } from './common/ScrollableMenu';
7
- import { MenuRadioButton } from './common/MenuRadioButton';
8
- import { MenuButton } from './common/MenuButton';
9
- import { filterRenderableTracks, getTrackLabel } from '../util/TrackUtils';
10
- import { MenuView } from './common/MenuView';
11
- import type { StyleProp, ViewStyle } from 'react-native';
12
-
13
- export interface LanguageMenuButtonState {
14
- audioTracks: MediaTrack[];
15
- textTracks: TextTrack[];
16
- }
17
-
18
- export interface LanguageMenuButtonProps {
19
- /**
20
- * The style overrides.
21
- */
22
- menuStyle?: StyleProp<ViewStyle>;
23
- }
24
-
25
- /**
26
- * A button component that opens a language selection menu (audio/text) for the `react-native-theoplayer` UI.
27
- */
28
- export class LanguageMenuButton extends PureComponent<LanguageMenuButtonProps, LanguageMenuButtonState> {
29
- constructor(props: LanguageMenuButtonProps) {
30
- super(props);
31
- this.state = { audioTracks: [], textTracks: [] };
32
- }
33
-
34
- componentDidMount() {
35
- const player = (this.context as UiContext).player;
36
- player.addEventListener(PlayerEventType.MEDIA_TRACK_LIST, this._updateTrackLists);
37
- player.addEventListener(PlayerEventType.TEXT_TRACK_LIST, this._updateTrackLists);
38
- this._updateTrackLists();
39
- }
40
-
41
- componentWillUnmount() {
42
- const player = (this.context as UiContext).player;
43
- player.removeEventListener(PlayerEventType.MEDIA_TRACK_LIST, this._updateTrackLists);
44
- player.removeEventListener(PlayerEventType.TEXT_TRACK_LIST, this._updateTrackLists);
45
- }
46
-
47
- private _updateTrackLists = () => {
48
- const player = (this.context as UiContext).player;
49
- this.setState({
50
- audioTracks: player.audioTracks,
51
- textTracks: player.textTracks,
52
- });
53
- };
54
-
55
- render() {
56
- const { audioTracks, textTracks } = this.state;
57
- const { menuStyle } = this.props;
58
-
59
- const selectableTextTracks = filterRenderableTracks(textTracks);
60
-
61
- if (audioTracks.length < 2 && selectableTextTracks.length === 0) {
62
- return <></>;
63
- }
64
-
65
- const createMenu = () => {
66
- return <LanguageMenuView style={menuStyle} />;
67
- };
68
-
69
- return <MenuButton svg={<LanguageSvg />} menuConstructor={createMenu} />;
70
- }
71
- }
72
-
73
- export interface LanguageMenuViewState extends LanguageMenuButtonState {
74
- selectedAudioTrack: number | undefined;
75
- selectedTextTrack: number | undefined;
76
- }
77
-
78
- export interface LanguageMenuViewProps {
79
- style?: StyleProp<ViewStyle>;
80
- }
81
-
82
- export class LanguageMenuView extends PureComponent<LanguageMenuViewProps, LanguageMenuViewState> {
83
- constructor(props: LanguageMenuViewProps) {
84
- super(props);
85
- this.state = {
86
- audioTracks: [],
87
- textTracks: [],
88
- selectedAudioTrack: undefined,
89
- selectedTextTrack: undefined,
90
- };
91
- }
92
-
93
- private _updateTrackLists = () => {
94
- const player = (this.context as UiContext).player;
95
- this.setState({
96
- audioTracks: player.audioTracks,
97
- textTracks: player.textTracks,
98
- selectedAudioTrack: player.selectedAudioTrack,
99
- selectedTextTrack: player.selectedTextTrack,
100
- });
101
- };
102
-
103
- componentDidMount() {
104
- const player = (this.context as UiContext).player;
105
- // The track lists might change while the menu is open, so we need to monitor them.
106
- player.addEventListener(PlayerEventType.MEDIA_TRACK_LIST, this._updateTrackLists);
107
- player.addEventListener(PlayerEventType.TEXT_TRACK_LIST, this._updateTrackLists);
108
- this._updateTrackLists();
109
- }
110
-
111
- componentWillUnmount() {
112
- const player = (this.context as UiContext).player;
113
- player.removeEventListener(PlayerEventType.MEDIA_TRACK_LIST, this._updateTrackLists);
114
- player.removeEventListener(PlayerEventType.TEXT_TRACK_LIST, this._updateTrackLists);
115
- }
116
-
117
- private onSelectTextTrack = (uid: number | undefined) => {
118
- const { textTracks } = this.state;
119
- const textTrack = textTracks.find((track) => track.uid === uid);
120
- const context = this.context as UiContext;
121
- context.player.selectedTextTrack = textTrack?.uid;
122
- this.setState({ selectedTextTrack: textTrack?.uid });
123
- };
124
-
125
- private selectAudioTrack = (uid: number | undefined) => {
126
- const { audioTracks } = this.state;
127
- const audioTrack = audioTracks.find((track) => track.uid === uid);
128
- if (audioTrack) {
129
- const context = this.context as UiContext;
130
- context.player.selectedAudioTrack = audioTrack.uid;
131
- this.setState({ selectedAudioTrack: audioTrack.uid });
132
- }
133
- };
134
-
135
- render() {
136
- const { style } = this.props;
137
- const { audioTracks, textTracks, selectedAudioTrack, selectedTextTrack } = this.state;
138
- // The sort is needed because tracks are returned in different order on the native SDKs.
139
- const selectableTextTracks = filterRenderableTracks(textTracks).sort((first, second) => first.uid - second.uid);
140
- const selectableAudioTracks = audioTracks.sort((first, second) => first.uid - second.uid);
141
- return (
142
- <MenuView
143
- style={style}
144
- menu={
145
- <>
146
- {selectableAudioTracks.length > 1 && (
147
- <ScrollableMenu
148
- title={'Audio'}
149
- items={selectableAudioTracks.map((track, id) => (
150
- <MenuRadioButton
151
- key={id}
152
- label={getTrackLabel(track)}
153
- uid={track.uid}
154
- onSelect={this.selectAudioTrack}
155
- selected={track.uid === selectedAudioTrack}></MenuRadioButton>
156
- ))}
157
- />
158
- )}
159
- {selectableTextTracks.length > 0 && (
160
- <ScrollableMenu
161
- title={'Subtitles'}
162
- items={
163
- <>
164
- <MenuRadioButton
165
- key={0}
166
- label={'off'}
167
- uid={undefined}
168
- onSelect={this.onSelectTextTrack}
169
- selected={selectedTextTrack === undefined}
170
- />
171
- {selectableTextTracks.map((track, id) => (
172
- <MenuRadioButton
173
- key={id + 1}
174
- label={getTrackLabel(track)}
175
- uid={track.uid}
176
- onSelect={this.onSelectTextTrack}
177
- selected={track.uid === selectedTextTrack}
178
- />
179
- ))}
180
- </>
181
- }
182
- />
183
- )}
184
- </>
185
- }
186
- />
187
- );
188
- }
189
- }
190
-
191
- LanguageMenuButton.contextType = PlayerContext;
192
- LanguageMenuView.contextType = PlayerContext;