Skip to content

Releases: THEOplayer/react-native-theoplayer

v3.0.0-pre1

05 Oct 09:33
Compare
Choose a tag to compare
v3.0.0-pre1 Pre-release
Pre-release

Changed

Added

  • Added MediaCache API, enabling download of media assets for offline playback.

v2.16.1

27 Sep 16:37
Compare
Choose a tag to compare

Added

  • For iOS, added a subtitlePTS property to the TextTrackDescription that syncs a sideloaded textTrack with the video content.

v2.15.0

26 Sep 14:12
Compare
Choose a tag to compare

Changed

  • Upgraded the iOS side-loaded text track connector.

Fixed

  • Fixed an issue where the Android mediaSession connector would still process media button events when the app was in the background, and enableBackgroundPlayback was false.
  • Fixed an issue on Android where play-out would still start when the app was put to the background during initial buffering, and enableBackgroundPlayback was false.
  • Fixed an issue on Android where the MediaButtonReceiver would crash the app when it did not find a registered MediaBrowserService instance, when setting enableBackgroundPlayback to false while backgrounding the app.

v2.14.0

25 Sep 14:04
Compare
Choose a tag to compare

Fixed

  • Fixed an issue on Android where the MediaButtonReceiver would crash the app when it did not find a registered MediaBrowserService instance.

Added

  • Added support for side-loaded metadata tracks on iOS.

v2.13.0

15 Sep 01:20
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where setting a new source on iOS, during DRM handling, would crash the application due to unsafe array access by different threads.

v2.12.1

14 Sep 14:28
Compare
Choose a tag to compare

Fixed

  • Fixed an issue on Android where the player SDK dependency could resolve to version 6.+.
  • Fixed an issue on iOS where the player integration dependencies could resolve to version 6.+.

v2.12.0

04 Sep 13:03
Compare
Choose a tag to compare

Added

  • Added an AnalyticsDescription property to SourceDescription to configure additional source-specific properties for analytics connectors.
  • Added support for sideloaded webVTT and SRT texttracks on iOS.
  • Added Audio Focus for Android, pausing play-out on audio focus loss and resuming play-out once focus has been regained.
  • Added Audio Focus and Audio Becoming Noisy manager for Android.

Fixed

  • Fixed an issue on Android that would cause the player not to reset when setting an empty source.
  • Fixed an issue where a text track cue was not properly removed from the cue list on a TextTrackEventType.REMOVE_CUE event.
  • Fixed an issue on tvOS that allowed the user to pause a CSAI ad using the apple remote control.
  • Fixed an issue on iOS where the cue event listeners were not cleanup up when destroying the player instance, resulting in memory build-up.

v2.11.0

10 Aug 12:35
Compare
Choose a tag to compare

Added

  • Added DAI support through iOS Native pipeline, using new THEOplayerGoogleIMAIntegration functionality
  • Added TextTrackStyle API for iOS and Android.

Fixed

  • Fixed an issue on Android where the player would sometimes crash when requesting the current active video track.

Changed

  • Switched to 'displayIconUri' in sourceDescription.metadata as primary field for artwork selection in NowplayingInfo/MediaSession, 'poster' in sourceDescription is now the fallback.
  • Removed the play/pause icon in the PiP window on Android while playing an ad.

v2.10.0

25 Jul 13:27
Compare
Choose a tag to compare

Fixed

  • Fixed an issue on Android where the media button receiver would not accept button events in case multiple receivers are registered.
  • Fixed an issue on Android where react-native-theoplayer would not build when depending on Android player SDK v5.6.0.
  • Fixed an issue on Android where a pause event would not be dispatched when putting the app to the background during play-out of an ad, while background playback is enabled. The ad would also restart when bringing the app back to the foreground.

Changed

  • Removed restrictions on media session playback actions for AndroidTV.
  • Upgraded react-native version of the example app to [email protected].

Added

  • Added a version property to THEOplayer for querying the player version (e.g., '5.5.0') and playerSuite (e.g., '2023.3.0') versions.

v2.9.0

16 Jun 12:54
Compare
Choose a tag to compare

Changed

  • Moved React Native UI to separate @theoplayer/react-native-ui package.

Removed

  • Removed react-native-theoplayer dependencies on packages @react-native-community/slider, react-native-google-cast, react-native-svg, react-native-svg-web, react-native-url-polyfill and url-polyfill.

Added

  • Added an overview of the available React Native connectors.

Fixed

  • Fixed an issue on Android where the background media service would crash the app in case it was started from the background.
  • Fixed an issue on iOS where the delayed contentId extraction resulted in an incorrect value being passed to the license request setup.