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.
- package/CHANGELOG.md +49 -13
- package/README.md +16 -2
- package/android/src/main/java/com/theoplayer/media/MediaNotificationBuilder.kt +5 -0
- package/android/src/main/java/com/theoplayer/media/MediaPlaybackService.kt +31 -8
- package/ios/contentprotection/THEOplayerRCTProxyContentProtectionIntegration.swift +19 -29
- package/lib/commonjs/api/cast/Chromecast.js.map +1 -1
- package/lib/commonjs/index.js +0 -12
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/api/cast/Chromecast.js.map +1 -1
- package/lib/module/index.js +0 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/api/cast/Chromecast.d.ts +1 -1
- package/lib/typescript/index.d.ts +0 -1
- package/package.json +2 -8
- package/react-native-theoplayer.podspec +1 -1
- package/src/api/cast/Chromecast.ts +1 -1
- package/src/index.tsx +0 -1
- package/lib/commonjs/ui/THEOplayerDefaultUi.js +0 -82
- package/lib/commonjs/ui/THEOplayerDefaultUi.js.map +0 -1
- package/lib/commonjs/ui/THEOplayerTheme.js +0 -48
- package/lib/commonjs/ui/THEOplayerTheme.js.map +0 -1
- package/lib/commonjs/ui/barrel.js +0 -39
- package/lib/commonjs/ui/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/activityindicator/CenteredDelayedActivityIndicator.js +0 -99
- package/lib/commonjs/ui/components/activityindicator/CenteredDelayedActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/activityindicator/DelayedActivityIndicator.js +0 -35
- package/lib/commonjs/ui/components/activityindicator/DelayedActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/activityindicator/barrel.js +0 -28
- package/lib/commonjs/ui/components/activityindicator/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/barrel.js +0 -105
- package/lib/commonjs/ui/components/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/button/AirplayButton.js +0 -81
- package/lib/commonjs/ui/components/button/AirplayButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/ChromecastButton.js +0 -66
- package/lib/commonjs/ui/components/button/ChromecastButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/ChromecastButton.web.js +0 -82
- package/lib/commonjs/ui/components/button/ChromecastButton.web.js.map +0 -1
- package/lib/commonjs/ui/components/button/FullscreenButton.js +0 -72
- package/lib/commonjs/ui/components/button/FullscreenButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/MuteButton.js +0 -66
- package/lib/commonjs/ui/components/button/MuteButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/PipButton.js +0 -72
- package/lib/commonjs/ui/components/button/PipButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/PlayButton.js +0 -113
- package/lib/commonjs/ui/components/button/PlayButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/SkipButton.js +0 -122
- package/lib/commonjs/ui/components/button/SkipButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/actionbutton/ActionButton.js +0 -82
- package/lib/commonjs/ui/components/button/actionbutton/ActionButton.js.map +0 -1
- package/lib/commonjs/ui/components/button/barrel.js +0 -105
- package/lib/commonjs/ui/components/button/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/AirplaySvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/AirplaySvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/ArrowForwardSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/ArrowForwardSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/BackSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/BackSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/BackwardSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/BackwardSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/ChromecastSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/ChromecastSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/ErrorSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/ErrorSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/ForwardSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/ForwardSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/FullscreenEnterSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/FullscreenEnterSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/FullscreenExitSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/FullscreenExitSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/LanguageSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/LanguageSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/ListSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/ListSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/PauseSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/PauseSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/PipEnterSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/PipEnterSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/PipExitSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/PipExitSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/PlaySvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/PlaySvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/ReplaySvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/ReplaySvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/SettingsSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/SettingsSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/SvgUtils.js +0 -13
- package/lib/commonjs/ui/components/button/svg/SvgUtils.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/VolumeOffSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/VolumeOffSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/VolumeUpSvg.js +0 -22
- package/lib/commonjs/ui/components/button/svg/VolumeUpSvg.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/barrel.js +0 -226
- package/lib/commonjs/ui/components/button/svg/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/button/svg/res/AirPlayButton.html +0 -6
- package/lib/commonjs/ui/components/button/svg/res/Airplay.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/ChromecastButton.html +0 -25
- package/lib/commonjs/ui/components/button/svg/res/arrow_forward.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/back.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/backward.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/chromecast-48px.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/close.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/error.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/forward.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/language.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/list.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/live.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/pause.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/pip_enter.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/pip_exit.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/play.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/replay.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/settings.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/skip-next.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/volume-high.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/volume-low.svg +0 -1
- package/lib/commonjs/ui/components/button/svg/res/volume-off.svg +0 -1
- package/lib/commonjs/ui/components/controlbar/ControlBar.js +0 -61
- package/lib/commonjs/ui/components/controlbar/ControlBar.js.map +0 -1
- package/lib/commonjs/ui/components/controlbar/Spacer.js +0 -21
- package/lib/commonjs/ui/components/controlbar/Spacer.js.map +0 -1
- package/lib/commonjs/ui/components/controlbar/barrel.js +0 -28
- package/lib/commonjs/ui/components/controlbar/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/menu/LanguageMenuButton.js +0 -175
- package/lib/commonjs/ui/components/menu/LanguageMenuButton.js.map +0 -1
- package/lib/commonjs/ui/components/menu/PlaybackRateSubMenu.js +0 -91
- package/lib/commonjs/ui/components/menu/PlaybackRateSubMenu.js.map +0 -1
- package/lib/commonjs/ui/components/menu/QualitySubMenu.js +0 -145
- package/lib/commonjs/ui/components/menu/QualitySubMenu.js.map +0 -1
- package/lib/commonjs/ui/components/menu/SettingsMenuButton.js +0 -36
- package/lib/commonjs/ui/components/menu/SettingsMenuButton.js.map +0 -1
- package/lib/commonjs/ui/components/menu/barrel.js +0 -61
- package/lib/commonjs/ui/components/menu/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/menu/common/MenuButton.js +0 -34
- package/lib/commonjs/ui/components/menu/common/MenuButton.js.map +0 -1
- package/lib/commonjs/ui/components/menu/common/MenuRadioButton.js +0 -47
- package/lib/commonjs/ui/components/menu/common/MenuRadioButton.js.map +0 -1
- package/lib/commonjs/ui/components/menu/common/MenuTitle.js +0 -38
- package/lib/commonjs/ui/components/menu/common/MenuTitle.js.map +0 -1
- package/lib/commonjs/ui/components/menu/common/MenuView.js +0 -75
- package/lib/commonjs/ui/components/menu/common/MenuView.js.map +0 -1
- package/lib/commonjs/ui/components/menu/common/ScrollableMenu.js +0 -45
- package/lib/commonjs/ui/components/menu/common/ScrollableMenu.js.map +0 -1
- package/lib/commonjs/ui/components/menu/common/SubMenuWithButton.js +0 -65
- package/lib/commonjs/ui/components/menu/common/SubMenuWithButton.js.map +0 -1
- package/lib/commonjs/ui/components/menu/common/barrel.js +0 -72
- package/lib/commonjs/ui/components/menu/common/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/message/CastMessage.js +0 -79
- package/lib/commonjs/ui/components/message/CastMessage.js.map +0 -1
- package/lib/commonjs/ui/components/message/ErrorDisplay.js +0 -53
- package/lib/commonjs/ui/components/message/ErrorDisplay.js.map +0 -1
- package/lib/commonjs/ui/components/message/barrel.js +0 -28
- package/lib/commonjs/ui/components/message/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/SeekBar.js +0 -194
- package/lib/commonjs/ui/components/seekbar/SeekBar.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/barrel.js +0 -28
- package/lib/commonjs/ui/components/seekbar/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/thumbnail/SingleThumbnailView.js +0 -45
- package/lib/commonjs/ui/components/seekbar/thumbnail/SingleThumbnailView.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/thumbnail/Thumbnail.js +0 -18
- package/lib/commonjs/ui/components/seekbar/thumbnail/Thumbnail.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/thumbnail/ThumbnailView.js +0 -256
- package/lib/commonjs/ui/components/seekbar/thumbnail/ThumbnailView.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.js +0 -17
- package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.web.js +0 -10
- package/lib/commonjs/ui/components/seekbar/thumbnail/Urlpolyfill.web.js.map +0 -1
- package/lib/commonjs/ui/components/seekbar/thumbnail/barrel.js +0 -28
- package/lib/commonjs/ui/components/seekbar/thumbnail/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/timelabel/StaticTimeLabel.js +0 -55
- package/lib/commonjs/ui/components/timelabel/StaticTimeLabel.js.map +0 -1
- package/lib/commonjs/ui/components/timelabel/TimeLabel.js +0 -88
- package/lib/commonjs/ui/components/timelabel/TimeLabel.js.map +0 -1
- package/lib/commonjs/ui/components/timelabel/barrel.js +0 -28
- package/lib/commonjs/ui/components/timelabel/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/uicontroller/UiContainer.js +0 -350
- package/lib/commonjs/ui/components/uicontroller/UiContainer.js.map +0 -1
- package/lib/commonjs/ui/components/uicontroller/UiControls.js +0 -6
- package/lib/commonjs/ui/components/uicontroller/UiControls.js.map +0 -1
- package/lib/commonjs/ui/components/uicontroller/barrel.js +0 -28
- package/lib/commonjs/ui/components/uicontroller/barrel.js.map +0 -1
- package/lib/commonjs/ui/components/util/PlayerContext.js +0 -19
- package/lib/commonjs/ui/components/util/PlayerContext.js.map +0 -1
- package/lib/commonjs/ui/components/util/TrackUtils.js +0 -69
- package/lib/commonjs/ui/components/util/TrackUtils.js.map +0 -1
- package/lib/commonjs/ui/components/util/barrel.js +0 -17
- package/lib/commonjs/ui/components/util/barrel.js.map +0 -1
- package/lib/commonjs/ui/utils/ArrayUtils.js +0 -19
- package/lib/commonjs/ui/utils/ArrayUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/language/Language.js +0 -38
- package/lib/commonjs/ui/utils/language/Language.js.map +0 -1
- package/lib/commonjs/ui/utils/language/languages.json +0 -1658
- package/lib/module/ui/THEOplayerDefaultUi.js +0 -74
- package/lib/module/ui/THEOplayerDefaultUi.js.map +0 -1
- package/lib/module/ui/THEOplayerTheme.js +0 -41
- package/lib/module/ui/THEOplayerTheme.js.map +0 -1
- package/lib/module/ui/barrel.js +0 -4
- package/lib/module/ui/barrel.js.map +0 -1
- package/lib/module/ui/components/activityindicator/CenteredDelayedActivityIndicator.js +0 -90
- package/lib/module/ui/components/activityindicator/CenteredDelayedActivityIndicator.js.map +0 -1
- package/lib/module/ui/components/activityindicator/DelayedActivityIndicator.js +0 -26
- package/lib/module/ui/components/activityindicator/DelayedActivityIndicator.js.map +0 -1
- package/lib/module/ui/components/activityindicator/barrel.js +0 -3
- package/lib/module/ui/components/activityindicator/barrel.js.map +0 -1
- package/lib/module/ui/components/barrel.js +0 -10
- package/lib/module/ui/components/barrel.js.map +0 -1
- package/lib/module/ui/components/button/AirplayButton.js +0 -72
- package/lib/module/ui/components/button/AirplayButton.js.map +0 -1
- package/lib/module/ui/components/button/ChromecastButton.js +0 -56
- package/lib/module/ui/components/button/ChromecastButton.js.map +0 -1
- package/lib/module/ui/components/button/ChromecastButton.web.js +0 -72
- package/lib/module/ui/components/button/ChromecastButton.web.js.map +0 -1
- package/lib/module/ui/components/button/FullscreenButton.js +0 -63
- package/lib/module/ui/components/button/FullscreenButton.js.map +0 -1
- package/lib/module/ui/components/button/MuteButton.js +0 -57
- package/lib/module/ui/components/button/MuteButton.js.map +0 -1
- package/lib/module/ui/components/button/PipButton.js +0 -63
- package/lib/module/ui/components/button/PipButton.js.map +0 -1
- package/lib/module/ui/components/button/PlayButton.js +0 -104
- package/lib/module/ui/components/button/PlayButton.js.map +0 -1
- package/lib/module/ui/components/button/SkipButton.js +0 -113
- package/lib/module/ui/components/button/SkipButton.js.map +0 -1
- package/lib/module/ui/components/button/actionbutton/ActionButton.js +0 -72
- package/lib/module/ui/components/button/actionbutton/ActionButton.js.map +0 -1
- package/lib/module/ui/components/button/barrel.js +0 -10
- package/lib/module/ui/components/button/barrel.js.map +0 -1
- package/lib/module/ui/components/button/svg/AirplaySvg.js +0 -12
- package/lib/module/ui/components/button/svg/AirplaySvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/ArrowForwardSvg.js +0 -12
- package/lib/module/ui/components/button/svg/ArrowForwardSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/BackSvg.js +0 -12
- package/lib/module/ui/components/button/svg/BackSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/BackwardSvg.js +0 -12
- package/lib/module/ui/components/button/svg/BackwardSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/ChromecastSvg.js +0 -12
- package/lib/module/ui/components/button/svg/ChromecastSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/ErrorSvg.js +0 -12
- package/lib/module/ui/components/button/svg/ErrorSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/ForwardSvg.js +0 -12
- package/lib/module/ui/components/button/svg/ForwardSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/FullscreenEnterSvg.js +0 -12
- package/lib/module/ui/components/button/svg/FullscreenEnterSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/FullscreenExitSvg.js +0 -12
- package/lib/module/ui/components/button/svg/FullscreenExitSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/LanguageSvg.js +0 -12
- package/lib/module/ui/components/button/svg/LanguageSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/ListSvg.js +0 -12
- package/lib/module/ui/components/button/svg/ListSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/PauseSvg.js +0 -12
- package/lib/module/ui/components/button/svg/PauseSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/PipEnterSvg.js +0 -12
- package/lib/module/ui/components/button/svg/PipEnterSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/PipExitSvg.js +0 -12
- package/lib/module/ui/components/button/svg/PipExitSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/PlaySvg.js +0 -12
- package/lib/module/ui/components/button/svg/PlaySvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/ReplaySvg.js +0 -12
- package/lib/module/ui/components/button/svg/ReplaySvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/SettingsSvg.js +0 -12
- package/lib/module/ui/components/button/svg/SettingsSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/SvgUtils.js +0 -5
- package/lib/module/ui/components/button/svg/SvgUtils.js.map +0 -1
- package/lib/module/ui/components/button/svg/VolumeOffSvg.js +0 -12
- package/lib/module/ui/components/button/svg/VolumeOffSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/VolumeUpSvg.js +0 -12
- package/lib/module/ui/components/button/svg/VolumeUpSvg.js.map +0 -1
- package/lib/module/ui/components/button/svg/barrel.js +0 -21
- package/lib/module/ui/components/button/svg/barrel.js.map +0 -1
- package/lib/module/ui/components/button/svg/res/AirPlayButton.html +0 -6
- package/lib/module/ui/components/button/svg/res/Airplay.svg +0 -1
- package/lib/module/ui/components/button/svg/res/ChromecastButton.html +0 -25
- package/lib/module/ui/components/button/svg/res/arrow_forward.svg +0 -1
- package/lib/module/ui/components/button/svg/res/back.svg +0 -1
- package/lib/module/ui/components/button/svg/res/backward.svg +0 -1
- package/lib/module/ui/components/button/svg/res/chromecast-48px.svg +0 -1
- package/lib/module/ui/components/button/svg/res/close.svg +0 -1
- package/lib/module/ui/components/button/svg/res/error.svg +0 -1
- package/lib/module/ui/components/button/svg/res/forward.svg +0 -1
- package/lib/module/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
- package/lib/module/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
- package/lib/module/ui/components/button/svg/res/language.svg +0 -1
- package/lib/module/ui/components/button/svg/res/list.svg +0 -1
- package/lib/module/ui/components/button/svg/res/live.svg +0 -1
- package/lib/module/ui/components/button/svg/res/pause.svg +0 -1
- package/lib/module/ui/components/button/svg/res/pip_enter.svg +0 -1
- package/lib/module/ui/components/button/svg/res/pip_exit.svg +0 -1
- package/lib/module/ui/components/button/svg/res/play.svg +0 -1
- package/lib/module/ui/components/button/svg/res/replay.svg +0 -1
- package/lib/module/ui/components/button/svg/res/settings.svg +0 -1
- package/lib/module/ui/components/button/svg/res/skip-next.svg +0 -1
- package/lib/module/ui/components/button/svg/res/volume-high.svg +0 -1
- package/lib/module/ui/components/button/svg/res/volume-low.svg +0 -1
- package/lib/module/ui/components/button/svg/res/volume-off.svg +0 -1
- package/lib/module/ui/components/controlbar/ControlBar.js +0 -52
- package/lib/module/ui/components/controlbar/ControlBar.js.map +0 -1
- package/lib/module/ui/components/controlbar/Spacer.js +0 -14
- package/lib/module/ui/components/controlbar/Spacer.js.map +0 -1
- package/lib/module/ui/components/controlbar/barrel.js +0 -3
- package/lib/module/ui/components/controlbar/barrel.js.map +0 -1
- package/lib/module/ui/components/menu/LanguageMenuButton.js +0 -165
- package/lib/module/ui/components/menu/LanguageMenuButton.js.map +0 -1
- package/lib/module/ui/components/menu/PlaybackRateSubMenu.js +0 -80
- package/lib/module/ui/components/menu/PlaybackRateSubMenu.js.map +0 -1
- package/lib/module/ui/components/menu/QualitySubMenu.js +0 -135
- package/lib/module/ui/components/menu/QualitySubMenu.js.map +0 -1
- package/lib/module/ui/components/menu/SettingsMenuButton.js +0 -28
- package/lib/module/ui/components/menu/SettingsMenuButton.js.map +0 -1
- package/lib/module/ui/components/menu/barrel.js +0 -6
- package/lib/module/ui/components/menu/barrel.js.map +0 -1
- package/lib/module/ui/components/menu/common/MenuButton.js +0 -26
- package/lib/module/ui/components/menu/common/MenuButton.js.map +0 -1
- package/lib/module/ui/components/menu/common/MenuRadioButton.js +0 -38
- package/lib/module/ui/components/menu/common/MenuRadioButton.js.map +0 -1
- package/lib/module/ui/components/menu/common/MenuTitle.js +0 -29
- package/lib/module/ui/components/menu/common/MenuTitle.js.map +0 -1
- package/lib/module/ui/components/menu/common/MenuView.js +0 -65
- package/lib/module/ui/components/menu/common/MenuView.js.map +0 -1
- package/lib/module/ui/components/menu/common/ScrollableMenu.js +0 -36
- package/lib/module/ui/components/menu/common/ScrollableMenu.js.map +0 -1
- package/lib/module/ui/components/menu/common/SubMenuWithButton.js +0 -56
- package/lib/module/ui/components/menu/common/SubMenuWithButton.js.map +0 -1
- package/lib/module/ui/components/menu/common/barrel.js +0 -7
- package/lib/module/ui/components/menu/common/barrel.js.map +0 -1
- package/lib/module/ui/components/message/CastMessage.js +0 -70
- package/lib/module/ui/components/message/CastMessage.js.map +0 -1
- package/lib/module/ui/components/message/ErrorDisplay.js +0 -46
- package/lib/module/ui/components/message/ErrorDisplay.js.map +0 -1
- package/lib/module/ui/components/message/barrel.js +0 -3
- package/lib/module/ui/components/message/barrel.js.map +0 -1
- package/lib/module/ui/components/seekbar/SeekBar.js +0 -184
- package/lib/module/ui/components/seekbar/SeekBar.js.map +0 -1
- package/lib/module/ui/components/seekbar/barrel.js +0 -3
- package/lib/module/ui/components/seekbar/barrel.js.map +0 -1
- package/lib/module/ui/components/seekbar/thumbnail/SingleThumbnailView.js +0 -37
- package/lib/module/ui/components/seekbar/thumbnail/SingleThumbnailView.js.map +0 -1
- package/lib/module/ui/components/seekbar/thumbnail/Thumbnail.js +0 -11
- package/lib/module/ui/components/seekbar/thumbnail/Thumbnail.js.map +0 -1
- package/lib/module/ui/components/seekbar/thumbnail/ThumbnailView.js +0 -246
- package/lib/module/ui/components/seekbar/thumbnail/ThumbnailView.js.map +0 -1
- package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.js +0 -2
- package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.js.map +0 -1
- package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.web.js +0 -4
- package/lib/module/ui/components/seekbar/thumbnail/Urlpolyfill.web.js.map +0 -1
- package/lib/module/ui/components/seekbar/thumbnail/barrel.js +0 -3
- package/lib/module/ui/components/seekbar/thumbnail/barrel.js.map +0 -1
- package/lib/module/ui/components/timelabel/StaticTimeLabel.js +0 -48
- package/lib/module/ui/components/timelabel/StaticTimeLabel.js.map +0 -1
- package/lib/module/ui/components/timelabel/TimeLabel.js +0 -78
- package/lib/module/ui/components/timelabel/TimeLabel.js.map +0 -1
- package/lib/module/ui/components/timelabel/barrel.js +0 -3
- package/lib/module/ui/components/timelabel/barrel.js.map +0 -1
- package/lib/module/ui/components/uicontroller/UiContainer.js +0 -336
- package/lib/module/ui/components/uicontroller/UiContainer.js.map +0 -1
- package/lib/module/ui/components/uicontroller/UiControls.js +0 -2
- package/lib/module/ui/components/uicontroller/UiControls.js.map +0 -1
- package/lib/module/ui/components/uicontroller/barrel.js +0 -3
- package/lib/module/ui/components/uicontroller/barrel.js.map +0 -1
- package/lib/module/ui/components/util/PlayerContext.js +0 -11
- package/lib/module/ui/components/util/PlayerContext.js.map +0 -1
- package/lib/module/ui/components/util/TrackUtils.js +0 -60
- package/lib/module/ui/components/util/TrackUtils.js.map +0 -1
- package/lib/module/ui/components/util/barrel.js +0 -2
- package/lib/module/ui/components/util/barrel.js.map +0 -1
- package/lib/module/ui/utils/ArrayUtils.js +0 -12
- package/lib/module/ui/utils/ArrayUtils.js.map +0 -1
- package/lib/module/ui/utils/language/Language.js +0 -27
- package/lib/module/ui/utils/language/Language.js.map +0 -1
- package/lib/module/ui/utils/language/languages.json +0 -1658
- package/lib/typescript/ui/THEOplayerDefaultUi.d.ts +0 -35
- package/lib/typescript/ui/THEOplayerTheme.d.ts +0 -84
- package/lib/typescript/ui/barrel.d.ts +0 -3
- package/lib/typescript/ui/components/activityindicator/CenteredDelayedActivityIndicator.d.ts +0 -25
- package/lib/typescript/ui/components/activityindicator/DelayedActivityIndicator.d.ts +0 -9
- package/lib/typescript/ui/components/activityindicator/barrel.d.ts +0 -2
- package/lib/typescript/ui/components/barrel.d.ts +0 -9
- package/lib/typescript/ui/components/button/AirplayButton.d.ts +0 -18
- package/lib/typescript/ui/components/button/ChromecastButton.d.ts +0 -19
- package/lib/typescript/ui/components/button/ChromecastButton.web.d.ts +0 -19
- package/lib/typescript/ui/components/button/FullscreenButton.d.ts +0 -17
- package/lib/typescript/ui/components/button/MuteButton.d.ts +0 -16
- package/lib/typescript/ui/components/button/PipButton.d.ts +0 -17
- package/lib/typescript/ui/components/button/PlayButton.d.ts +0 -28
- package/lib/typescript/ui/components/button/SkipButton.d.ts +0 -33
- package/lib/typescript/ui/components/button/actionbutton/ActionButton.d.ts +0 -41
- package/lib/typescript/ui/components/button/barrel.d.ts +0 -9
- package/lib/typescript/ui/components/button/svg/AirplaySvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/ArrowForwardSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/BackSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/BackwardSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/ChromecastSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/ErrorSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/ForwardSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/FullscreenEnterSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/FullscreenExitSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/LanguageSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/ListSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/PauseSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/PipEnterSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/PipExitSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/PlaySvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/ReplaySvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/SettingsSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/SvgUtils.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/VolumeOffSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/VolumeUpSvg.d.ts +0 -3
- package/lib/typescript/ui/components/button/svg/barrel.d.ts +0 -20
- package/lib/typescript/ui/components/controlbar/ControlBar.d.ts +0 -39
- package/lib/typescript/ui/components/controlbar/Spacer.d.ts +0 -5
- package/lib/typescript/ui/components/controlbar/barrel.d.ts +0 -2
- package/lib/typescript/ui/components/menu/LanguageMenuButton.d.ts +0 -40
- package/lib/typescript/ui/components/menu/PlaybackRateSubMenu.d.ts +0 -36
- package/lib/typescript/ui/components/menu/QualitySubMenu.d.ts +0 -29
- package/lib/typescript/ui/components/menu/SettingsMenuButton.d.ts +0 -12
- package/lib/typescript/ui/components/menu/barrel.d.ts +0 -5
- package/lib/typescript/ui/components/menu/common/MenuButton.d.ts +0 -25
- package/lib/typescript/ui/components/menu/common/MenuRadioButton.d.ts +0 -33
- package/lib/typescript/ui/components/menu/common/MenuTitle.d.ts +0 -20
- package/lib/typescript/ui/components/menu/common/MenuView.d.ts +0 -21
- package/lib/typescript/ui/components/menu/common/ScrollableMenu.d.ts +0 -23
- package/lib/typescript/ui/components/menu/common/SubMenuWithButton.d.ts +0 -29
- package/lib/typescript/ui/components/menu/common/barrel.d.ts +0 -6
- package/lib/typescript/ui/components/message/CastMessage.d.ts +0 -16
- package/lib/typescript/ui/components/message/ErrorDisplay.d.ts +0 -12
- package/lib/typescript/ui/components/message/barrel.d.ts +0 -2
- package/lib/typescript/ui/components/seekbar/SeekBar.d.ts +0 -41
- package/lib/typescript/ui/components/seekbar/barrel.d.ts +0 -2
- package/lib/typescript/ui/components/seekbar/thumbnail/SingleThumbnailView.d.ts +0 -8
- package/lib/typescript/ui/components/seekbar/thumbnail/Thumbnail.d.ts +0 -56
- package/lib/typescript/ui/components/seekbar/thumbnail/ThumbnailView.d.ts +0 -60
- package/lib/typescript/ui/components/seekbar/thumbnail/Urlpolyfill.d.ts +0 -1
- package/lib/typescript/ui/components/seekbar/thumbnail/Urlpolyfill.web.d.ts +0 -8
- package/lib/typescript/ui/components/seekbar/thumbnail/barrel.d.ts +0 -2
- package/lib/typescript/ui/components/timelabel/StaticTimeLabel.d.ts +0 -24
- package/lib/typescript/ui/components/timelabel/TimeLabel.d.ts +0 -32
- package/lib/typescript/ui/components/timelabel/barrel.d.ts +0 -2
- package/lib/typescript/ui/components/uicontroller/UiContainer.d.ts +0 -115
- package/lib/typescript/ui/components/uicontroller/UiControls.d.ts +0 -14
- package/lib/typescript/ui/components/uicontroller/barrel.d.ts +0 -2
- package/lib/typescript/ui/components/util/PlayerContext.d.ts +0 -22
- package/lib/typescript/ui/components/util/TrackUtils.d.ts +0 -10
- package/lib/typescript/ui/components/util/barrel.d.ts +0 -1
- package/lib/typescript/ui/utils/ArrayUtils.d.ts +0 -2
- package/lib/typescript/ui/utils/language/Language.d.ts +0 -19
- package/src/ui/THEOplayerDefaultUi.tsx +0 -108
- package/src/ui/THEOplayerTheme.ts +0 -112
- package/src/ui/barrel.ts +0 -3
- package/src/ui/components/activityindicator/CenteredDelayedActivityIndicator.tsx +0 -96
- package/src/ui/components/activityindicator/DelayedActivityIndicator.tsx +0 -32
- package/src/ui/components/activityindicator/barrel.ts +0 -2
- package/src/ui/components/barrel.ts +0 -9
- package/src/ui/components/button/AirplayButton.tsx +0 -64
- package/src/ui/components/button/ChromecastButton.tsx +0 -60
- package/src/ui/components/button/ChromecastButton.web.tsx +0 -66
- package/src/ui/components/button/FullscreenButton.tsx +0 -60
- package/src/ui/components/button/MuteButton.tsx +0 -52
- package/src/ui/components/button/PipButton.tsx +0 -61
- package/src/ui/components/button/PlayButton.tsx +0 -107
- package/src/ui/components/button/SkipButton.tsx +0 -112
- package/src/ui/components/button/actionbutton/ActionButton.tsx +0 -105
- package/src/ui/components/button/barrel.ts +0 -9
- package/src/ui/components/button/svg/AirplaySvg.tsx +0 -18
- package/src/ui/components/button/svg/ArrowForwardSvg.tsx +0 -18
- package/src/ui/components/button/svg/BackSvg.tsx +0 -18
- package/src/ui/components/button/svg/BackwardSvg.tsx +0 -18
- package/src/ui/components/button/svg/ChromecastSvg.tsx +0 -18
- package/src/ui/components/button/svg/ErrorSvg.tsx +0 -18
- package/src/ui/components/button/svg/ForwardSvg.tsx +0 -18
- package/src/ui/components/button/svg/FullscreenEnterSvg.tsx +0 -18
- package/src/ui/components/button/svg/FullscreenExitSvg.tsx +0 -18
- package/src/ui/components/button/svg/LanguageSvg.tsx +0 -18
- package/src/ui/components/button/svg/ListSvg.tsx +0 -18
- package/src/ui/components/button/svg/PauseSvg.tsx +0 -18
- package/src/ui/components/button/svg/PipEnterSvg.tsx +0 -18
- package/src/ui/components/button/svg/PipExitSvg.tsx +0 -18
- package/src/ui/components/button/svg/PlaySvg.tsx +0 -18
- package/src/ui/components/button/svg/ReplaySvg.tsx +0 -18
- package/src/ui/components/button/svg/SettingsSvg.tsx +0 -18
- package/src/ui/components/button/svg/SvgUtils.ts +0 -4
- package/src/ui/components/button/svg/VolumeOffSvg.tsx +0 -18
- package/src/ui/components/button/svg/VolumeUpSvg.tsx +0 -18
- package/src/ui/components/button/svg/barrel.ts +0 -20
- package/src/ui/components/button/svg/res/AirPlayButton.html +0 -6
- package/src/ui/components/button/svg/res/Airplay.svg +0 -1
- package/src/ui/components/button/svg/res/ChromecastButton.html +0 -25
- package/src/ui/components/button/svg/res/arrow_forward.svg +0 -1
- package/src/ui/components/button/svg/res/back.svg +0 -1
- package/src/ui/components/button/svg/res/backward.svg +0 -1
- package/src/ui/components/button/svg/res/chromecast-48px.svg +0 -1
- package/src/ui/components/button/svg/res/close.svg +0 -1
- package/src/ui/components/button/svg/res/error.svg +0 -1
- package/src/ui/components/button/svg/res/forward.svg +0 -1
- package/src/ui/components/button/svg/res/fullscreen-enter.svg +0 -1
- package/src/ui/components/button/svg/res/fullscreen-exit.svg +0 -1
- package/src/ui/components/button/svg/res/language.svg +0 -1
- package/src/ui/components/button/svg/res/list.svg +0 -1
- package/src/ui/components/button/svg/res/live.svg +0 -1
- package/src/ui/components/button/svg/res/pause.svg +0 -1
- package/src/ui/components/button/svg/res/pip_enter.svg +0 -1
- package/src/ui/components/button/svg/res/pip_exit.svg +0 -1
- package/src/ui/components/button/svg/res/play.svg +0 -1
- package/src/ui/components/button/svg/res/replay.svg +0 -1
- package/src/ui/components/button/svg/res/settings.svg +0 -1
- package/src/ui/components/button/svg/res/skip-next.svg +0 -1
- package/src/ui/components/button/svg/res/volume-high.svg +0 -1
- package/src/ui/components/button/svg/res/volume-low.svg +0 -1
- package/src/ui/components/button/svg/res/volume-off.svg +0 -1
- package/src/ui/components/controlbar/ControlBar.tsx +0 -69
- package/src/ui/components/controlbar/Spacer.tsx +0 -9
- package/src/ui/components/controlbar/barrel.ts +0 -2
- package/src/ui/components/menu/LanguageMenuButton.tsx +0 -192
- package/src/ui/components/menu/PlaybackRateSubMenu.tsx +0 -93
- package/src/ui/components/menu/QualitySubMenu.tsx +0 -148
- package/src/ui/components/menu/SettingsMenuButton.tsx +0 -25
- package/src/ui/components/menu/barrel.ts +0 -5
- package/src/ui/components/menu/common/MenuButton.tsx +0 -49
- package/src/ui/components/menu/common/MenuRadioButton.tsx +0 -65
- package/src/ui/components/menu/common/MenuTitle.tsx +0 -37
- package/src/ui/components/menu/common/MenuView.tsx +0 -62
- package/src/ui/components/menu/common/ScrollableMenu.tsx +0 -43
- package/src/ui/components/menu/common/SubMenuWithButton.tsx +0 -58
- package/src/ui/components/menu/common/barrel.ts +0 -6
- package/src/ui/components/message/CastMessage.tsx +0 -74
- package/src/ui/components/message/ErrorDisplay.tsx +0 -43
- package/src/ui/components/message/barrel.ts +0 -2
- package/src/ui/components/seekbar/SeekBar.tsx +0 -178
- package/src/ui/components/seekbar/barrel.ts +0 -2
- package/src/ui/components/seekbar/thumbnail/SingleThumbnailView.tsx +0 -38
- package/src/ui/components/seekbar/thumbnail/Thumbnail.ts +0 -72
- package/src/ui/components/seekbar/thumbnail/ThumbnailView.tsx +0 -266
- package/src/ui/components/seekbar/thumbnail/Urlpolyfill.ts +0 -1
- package/src/ui/components/seekbar/thumbnail/Urlpolyfill.web.ts +0 -3
- package/src/ui/components/seekbar/thumbnail/barrel.ts +0 -2
- package/src/ui/components/timelabel/StaticTimeLabel.tsx +0 -63
- package/src/ui/components/timelabel/TimeLabel.tsx +0 -79
- package/src/ui/components/timelabel/barrel.ts +0 -2
- package/src/ui/components/uicontroller/UiContainer.tsx +0 -355
- package/src/ui/components/uicontroller/UiControls.ts +0 -31
- package/src/ui/components/uicontroller/barrel.ts +0 -2
- package/src/ui/components/util/PlayerContext.ts +0 -29
- package/src/ui/components/util/TrackUtils.ts +0 -62
- package/src/ui/components/util/barrel.ts +0 -1
- package/src/ui/utils/ArrayUtils.ts +0 -12
- package/src/ui/utils/language/Language.ts +0 -38
- package/src/ui/utils/language/languages.json +0 -1658
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { PlayerConfiguration, THEOplayer } from 'react-native-theoplayer';
|
|
3
|
-
import { THEOplayerTheme } from './THEOplayerTheme';
|
|
4
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
5
|
-
export interface THEOplayerDefaultUiProps {
|
|
6
|
-
/**
|
|
7
|
-
* The style for the container.
|
|
8
|
-
*/
|
|
9
|
-
style?: StyleProp<ViewStyle>;
|
|
10
|
-
/**
|
|
11
|
-
* The theme for all components.
|
|
12
|
-
*/
|
|
13
|
-
theme?: Partial<THEOplayerTheme>;
|
|
14
|
-
/**
|
|
15
|
-
* The player configuration with THEOplayer license.
|
|
16
|
-
*/
|
|
17
|
-
config?: PlayerConfiguration;
|
|
18
|
-
/**
|
|
19
|
-
* The callback that is called when the internal THEOplayer is created.
|
|
20
|
-
* @param player the internal THEOplayer
|
|
21
|
-
*/
|
|
22
|
-
onPlayerReady?: (player: THEOplayer) => void;
|
|
23
|
-
/**
|
|
24
|
-
* A slot in the top right to add additional UI components.
|
|
25
|
-
*/
|
|
26
|
-
topSlot?: ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* A slot in the bottom right to add additional UI components.
|
|
29
|
-
*/
|
|
30
|
-
bottomSlot?: ReactNode;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* A default UI layout which uses UI components from `react-native-theoplayer` to create a basic playback UI around a THEOplayerView.
|
|
34
|
-
*/
|
|
35
|
-
export declare function THEOplayerDefaultUi(props: THEOplayerDefaultUiProps): JSX.Element;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { TextStyle } from 'react-native';
|
|
2
|
-
/**
|
|
3
|
-
* The theme colors.
|
|
4
|
-
*/
|
|
5
|
-
export interface ColorTheme {
|
|
6
|
-
/**
|
|
7
|
-
* The color of the UI background.
|
|
8
|
-
*/
|
|
9
|
-
uiBackground: string;
|
|
10
|
-
/**
|
|
11
|
-
* The color of the error display background.
|
|
12
|
-
*/
|
|
13
|
-
errorBackground: string;
|
|
14
|
-
/**
|
|
15
|
-
* The color of the SVG icons.
|
|
16
|
-
*/
|
|
17
|
-
icon: string;
|
|
18
|
-
/**
|
|
19
|
-
* The color of the SVG icons when they are selected.
|
|
20
|
-
*/
|
|
21
|
-
iconSelected: string;
|
|
22
|
-
/**
|
|
23
|
-
* The color of the text components.
|
|
24
|
-
*/
|
|
25
|
-
text: string;
|
|
26
|
-
/**
|
|
27
|
-
* The color of the text components when they are selected.
|
|
28
|
-
*/
|
|
29
|
-
textSelected: string;
|
|
30
|
-
/**
|
|
31
|
-
* The color of the text component background when it is selected.
|
|
32
|
-
*/
|
|
33
|
-
textSelectedBackground: string;
|
|
34
|
-
/**
|
|
35
|
-
* The color of the left side of the seek bar.
|
|
36
|
-
*/
|
|
37
|
-
seekBarMinimum: string;
|
|
38
|
-
/**
|
|
39
|
-
* The color of the right side of the seek bar.
|
|
40
|
-
*/
|
|
41
|
-
seekBarMaximum: string;
|
|
42
|
-
/**
|
|
43
|
-
* The color of the dot on the seek bar.
|
|
44
|
-
*/
|
|
45
|
-
seekBarDot: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* The dimensions of various UI components.
|
|
49
|
-
*/
|
|
50
|
-
export interface Dimensions {
|
|
51
|
-
/**
|
|
52
|
-
* The height of the center control bar.
|
|
53
|
-
*/
|
|
54
|
-
centerControlBarHeight: number;
|
|
55
|
-
/**
|
|
56
|
-
* The height of all other control bars.
|
|
57
|
-
*/
|
|
58
|
-
controlBarHeight: number;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* The theme used by `react-native-theoplayer` UI components.
|
|
62
|
-
*/
|
|
63
|
-
export interface THEOplayerTheme {
|
|
64
|
-
/**
|
|
65
|
-
* The theme colors.
|
|
66
|
-
*/
|
|
67
|
-
colors: ColorTheme;
|
|
68
|
-
/**
|
|
69
|
-
* The styling for all text components.
|
|
70
|
-
*/
|
|
71
|
-
text: TextStyle;
|
|
72
|
-
/**
|
|
73
|
-
* The amount of time after a user action where UI animations will resume.
|
|
74
|
-
*/
|
|
75
|
-
fadeAnimationTimoutMs: number;
|
|
76
|
-
/**
|
|
77
|
-
* The dimensions of various UI components.
|
|
78
|
-
*/
|
|
79
|
-
dimensions: Dimensions;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* The default theme for the UI.
|
|
83
|
-
*/
|
|
84
|
-
export declare const DEFAULT_THEOPLAYER_THEME: THEOplayerTheme;
|
package/lib/typescript/ui/components/activityindicator/CenteredDelayedActivityIndicator.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
import type { DelayedActivityIndicatorProps } from './DelayedActivityIndicator';
|
|
3
|
-
import { PlayerError } from 'react-native-theoplayer';
|
|
4
|
-
interface CenteredDelayedActivityIndicatorState {
|
|
5
|
-
showLoadingIndicator: boolean;
|
|
6
|
-
error: PlayerError | undefined;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The default spinner for the `react-native-theoplayer` UI. It renders a ActivityIndicator when the player's playback is stalling due
|
|
10
|
-
* readystate changes.
|
|
11
|
-
*/
|
|
12
|
-
export declare class CenteredDelayedActivityIndicator extends PureComponent<DelayedActivityIndicatorProps, CenteredDelayedActivityIndicatorState> {
|
|
13
|
-
private static initialState;
|
|
14
|
-
constructor(props: DelayedActivityIndicatorProps);
|
|
15
|
-
componentDidMount(): void;
|
|
16
|
-
componentWillUnmount(): void;
|
|
17
|
-
private onReadyStateChange;
|
|
18
|
-
private onError;
|
|
19
|
-
private onPlaying;
|
|
20
|
-
private onSourceChange;
|
|
21
|
-
private onLoadStart;
|
|
22
|
-
private maybeShowLoadingIndicator;
|
|
23
|
-
render(): false | JSX.Element;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ActivityIndicatorProps } from 'react-native';
|
|
3
|
-
export interface DelayedActivityIndicatorProps extends ActivityIndicatorProps {
|
|
4
|
-
delay?: number;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* The DelayedActivityIndicator renders a native ActivityIndicator after a certain delay.
|
|
8
|
-
*/
|
|
9
|
-
export declare const DelayedActivityIndicator: (props: DelayedActivityIndicatorProps) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './activityindicator/barrel';
|
|
2
|
-
export * from './button/barrel';
|
|
3
|
-
export * from './controlbar/barrel';
|
|
4
|
-
export * from './menu/barrel';
|
|
5
|
-
export * from './message/barrel';
|
|
6
|
-
export * from './seekbar/barrel';
|
|
7
|
-
export * from './timelabel/barrel';
|
|
8
|
-
export * from './uicontroller/barrel';
|
|
9
|
-
export * from './util/barrel';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
import { CastState } from './../../../api/barrel';
|
|
3
|
-
interface CastButtonState {
|
|
4
|
-
castState: CastState;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* The default button to enable Airplay for the `react-native-theoplayer` UI.
|
|
8
|
-
*/
|
|
9
|
-
export declare class AirplayButton extends PureComponent<unknown, CastButtonState> {
|
|
10
|
-
private static initialState;
|
|
11
|
-
constructor(props: unknown);
|
|
12
|
-
componentDidMount(): void;
|
|
13
|
-
componentWillUnmount(): void;
|
|
14
|
-
private onCastStateChangeEvent;
|
|
15
|
-
private onUIAirplayToggled;
|
|
16
|
-
render(): JSX.Element;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
import { CastState } from 'react-native-theoplayer';
|
|
3
|
-
interface CastButtonState {
|
|
4
|
-
connected: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function isConnected(state: CastState | undefined): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* The native button to enable Chromecast for the `react-native-theoplayer` UI.
|
|
9
|
-
* This component uses the button from `react-native-google-cast` and is not supported on web.
|
|
10
|
-
*/
|
|
11
|
-
export declare class ChromecastButton extends PureComponent<unknown, CastButtonState> {
|
|
12
|
-
private static initialState;
|
|
13
|
-
constructor(props: unknown);
|
|
14
|
-
componentDidMount(): void;
|
|
15
|
-
componentWillUnmount(): void;
|
|
16
|
-
private onCastStateChangeEvent;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CastState } from './../../../api/barrel';
|
|
2
|
-
import { PureComponent } from 'react';
|
|
3
|
-
interface CastButtonState {
|
|
4
|
-
castState: CastState;
|
|
5
|
-
}
|
|
6
|
-
export declare function isConnected(state: CastState | undefined): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* The button to enable Chromecast for web for the `react-native-theoplayer` UI
|
|
9
|
-
*/
|
|
10
|
-
export declare class ChromecastButton extends PureComponent<unknown, CastButtonState> {
|
|
11
|
-
private static initialState;
|
|
12
|
-
constructor(props: unknown);
|
|
13
|
-
componentDidMount(): void;
|
|
14
|
-
componentWillUnmount(): void;
|
|
15
|
-
private onCastStateChangeEvent;
|
|
16
|
-
private onPress;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
import { PresentationMode } from 'react-native-theoplayer';
|
|
3
|
-
interface FullscreenButtonState {
|
|
4
|
-
presentationMode: PresentationMode;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* The button to enable/disable fullscreen for the `react-native-theoplayer` UI.
|
|
8
|
-
*/
|
|
9
|
-
export declare class FullscreenButton extends PureComponent<unknown, FullscreenButtonState> {
|
|
10
|
-
constructor(props: unknown);
|
|
11
|
-
componentDidMount(): void;
|
|
12
|
-
componentWillUnmount(): void;
|
|
13
|
-
private readonly onPresentationModeChange;
|
|
14
|
-
private toggleFullScreen;
|
|
15
|
-
render(): JSX.Element;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
interface MuteButtonState {
|
|
3
|
-
muted: boolean;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* The default mute button for the `react-native-theoplayer` UI.
|
|
7
|
-
*/
|
|
8
|
-
export declare class MuteButton extends PureComponent<unknown, MuteButtonState> {
|
|
9
|
-
constructor(props: unknown);
|
|
10
|
-
componentDidMount(): void;
|
|
11
|
-
componentWillUnmount(): void;
|
|
12
|
-
private onVolumeChange;
|
|
13
|
-
private toggleMuted;
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
import { PresentationMode } from 'react-native-theoplayer';
|
|
3
|
-
interface PipButtonState {
|
|
4
|
-
presentationMode: PresentationMode;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* The default button to enable picture-in-picture for the `react-native-theoplayer` UI.
|
|
8
|
-
*/
|
|
9
|
-
export declare class PipButton extends PureComponent<unknown, PipButtonState> {
|
|
10
|
-
constructor(props: unknown);
|
|
11
|
-
componentDidMount(): void;
|
|
12
|
-
componentWillUnmount(): void;
|
|
13
|
-
private readonly onPresentationModeChange;
|
|
14
|
-
private togglePip;
|
|
15
|
-
render(): JSX.Element;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
import { PureComponent } from 'react';
|
|
3
|
-
interface PlayButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* The style overrides for the play/pause button.
|
|
6
|
-
*/
|
|
7
|
-
style?: StyleProp<ViewStyle>;
|
|
8
|
-
}
|
|
9
|
-
interface PlayButtonState {
|
|
10
|
-
paused: boolean;
|
|
11
|
-
ended: boolean;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* The default play/pause button for the `react-native-theoplayer` UI.
|
|
15
|
-
*/
|
|
16
|
-
export declare class PlayButton extends PureComponent<PlayButtonProps, PlayButtonState> {
|
|
17
|
-
constructor(props: PlayButtonProps);
|
|
18
|
-
componentDidMount(): void;
|
|
19
|
-
componentWillUnmount(): void;
|
|
20
|
-
private onPlay;
|
|
21
|
-
private onPause;
|
|
22
|
-
private onSourceChange;
|
|
23
|
-
private onEnded;
|
|
24
|
-
private onSeeking;
|
|
25
|
-
private togglePlayPause;
|
|
26
|
-
render(): JSX.Element;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import { Animated } from 'react-native';
|
|
4
|
-
interface SkipButtonProps {
|
|
5
|
-
/**
|
|
6
|
-
* The style overrides for the skip button.
|
|
7
|
-
*/
|
|
8
|
-
style?: StyleProp<ViewStyle>;
|
|
9
|
-
/**
|
|
10
|
-
* The skip value for the skip button. This can be set to negative to skip backwards.
|
|
11
|
-
*/
|
|
12
|
-
skip: number;
|
|
13
|
-
/**
|
|
14
|
-
* Whether the skip button should do a rotation animation when pressed instead of fading.
|
|
15
|
-
*/
|
|
16
|
-
rotate?: boolean;
|
|
17
|
-
}
|
|
18
|
-
interface SkipButtonState {
|
|
19
|
-
enabled: boolean;
|
|
20
|
-
spinValue: Animated.Value;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* The default skip button for the `react-native-theoplayer` UI.
|
|
24
|
-
*/
|
|
25
|
-
export declare class SkipButton extends PureComponent<SkipButtonProps, SkipButtonState> {
|
|
26
|
-
constructor(props: SkipButtonProps);
|
|
27
|
-
componentDidMount(): void;
|
|
28
|
-
componentWillUnmount(): void;
|
|
29
|
-
private readonly onTimeupdate;
|
|
30
|
-
private readonly onPress;
|
|
31
|
-
render(): JSX.Element;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export interface ActionButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* The image to put in the button.
|
|
6
|
-
*/
|
|
7
|
-
icon?: ImageSourcePropType;
|
|
8
|
-
/**
|
|
9
|
-
* The SVG component to put in the button. Takes priority over images.
|
|
10
|
-
*/
|
|
11
|
-
svg?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Whether the button should be touchable. This is `true` by default.
|
|
14
|
-
*/
|
|
15
|
-
touchable: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* The callback when the button is pressed.
|
|
18
|
-
*/
|
|
19
|
-
onPress?: () => void;
|
|
20
|
-
/**
|
|
21
|
-
* The styling overrides.
|
|
22
|
-
*/
|
|
23
|
-
style?: StyleProp<ViewStyle>;
|
|
24
|
-
/**
|
|
25
|
-
* Whether the button should be highlighted with `ColorTheme.iconSelected` color.
|
|
26
|
-
*/
|
|
27
|
-
highlighted?: boolean;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* The default style applied to the ActionButton
|
|
31
|
-
*/
|
|
32
|
-
export declare const DEFAULT_ACTION_BUTTON_STYLE: ViewStyle;
|
|
33
|
-
/**
|
|
34
|
-
* The default button component that renders an image/svg source for the `react-native-theoplayer` UI.
|
|
35
|
-
*/
|
|
36
|
-
export declare const ActionButton: {
|
|
37
|
-
(props: ActionButtonProps): JSX.Element;
|
|
38
|
-
defaultProps: {
|
|
39
|
-
touchable: boolean;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './actionbutton/ActionButton';
|
|
2
|
-
export * from './svg/barrel';
|
|
3
|
-
export * from './AirplayButton';
|
|
4
|
-
export * from './ChromecastButton';
|
|
5
|
-
export * from './FullscreenButton';
|
|
6
|
-
export * from './MuteButton';
|
|
7
|
-
export * from './PipButton';
|
|
8
|
-
export * from './PlayButton';
|
|
9
|
-
export * from './SkipButton';
|
|
@@ -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,39 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
/**
|
|
4
|
-
* The default style for the control bar.
|
|
5
|
-
*/
|
|
6
|
-
export declare const DEFAULT_CONTROL_BAR_STYLE: ViewStyle;
|
|
7
|
-
interface ControlBarProps {
|
|
8
|
-
/**
|
|
9
|
-
* The style overrides for the control bar.
|
|
10
|
-
*/
|
|
11
|
-
style?: StyleProp<ViewStyle>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* A control bar component that renders all children horizontally.
|
|
15
|
-
*/
|
|
16
|
-
export declare const ControlBar: (props: React.PropsWithChildren<ControlBarProps>) => JSX.Element;
|
|
17
|
-
interface CenteredControlBarProps {
|
|
18
|
-
/**
|
|
19
|
-
* The style overrides for the control bar.
|
|
20
|
-
*/
|
|
21
|
-
style?: StyleProp<ViewStyle>;
|
|
22
|
-
/**
|
|
23
|
-
* The component that will be placed in the left slot.
|
|
24
|
-
*/
|
|
25
|
-
left?: ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* The component that will be placed in the middle slot.
|
|
28
|
-
*/
|
|
29
|
-
middle?: ReactNode;
|
|
30
|
-
/**
|
|
31
|
-
* The component that will be placed in the right slot.
|
|
32
|
-
*/
|
|
33
|
-
right?: ReactNode;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* 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.
|
|
37
|
-
*/
|
|
38
|
-
export declare const CenteredControlBar: (props: CenteredControlBarProps) => JSX.Element;
|
|
39
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
import type { MediaTrack } from 'react-native-theoplayer';
|
|
3
|
-
import { TextTrack } from 'react-native-theoplayer';
|
|
4
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
5
|
-
export interface LanguageMenuButtonState {
|
|
6
|
-
audioTracks: MediaTrack[];
|
|
7
|
-
textTracks: TextTrack[];
|
|
8
|
-
}
|
|
9
|
-
export interface LanguageMenuButtonProps {
|
|
10
|
-
/**
|
|
11
|
-
* The style overrides.
|
|
12
|
-
*/
|
|
13
|
-
menuStyle?: StyleProp<ViewStyle>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* A button component that opens a language selection menu (audio/text) for the `react-native-theoplayer` UI.
|
|
17
|
-
*/
|
|
18
|
-
export declare class LanguageMenuButton extends PureComponent<LanguageMenuButtonProps, LanguageMenuButtonState> {
|
|
19
|
-
constructor(props: LanguageMenuButtonProps);
|
|
20
|
-
componentDidMount(): void;
|
|
21
|
-
componentWillUnmount(): void;
|
|
22
|
-
private _updateTrackLists;
|
|
23
|
-
render(): JSX.Element;
|
|
24
|
-
}
|
|
25
|
-
export interface LanguageMenuViewState extends LanguageMenuButtonState {
|
|
26
|
-
selectedAudioTrack: number | undefined;
|
|
27
|
-
selectedTextTrack: number | undefined;
|
|
28
|
-
}
|
|
29
|
-
export interface LanguageMenuViewProps {
|
|
30
|
-
style?: StyleProp<ViewStyle>;
|
|
31
|
-
}
|
|
32
|
-
export declare class LanguageMenuView extends PureComponent<LanguageMenuViewProps, LanguageMenuViewState> {
|
|
33
|
-
constructor(props: LanguageMenuViewProps);
|
|
34
|
-
private _updateTrackLists;
|
|
35
|
-
componentDidMount(): void;
|
|
36
|
-
componentWillUnmount(): void;
|
|
37
|
-
private onSelectTextTrack;
|
|
38
|
-
private selectAudioTrack;
|
|
39
|
-
render(): JSX.Element;
|
|
40
|
-
}
|