Skip to content
Projetos

bitmovin/bitmovin-player-react-native

Ver no GitHub

Sobre

Official React Native bindings for Bitmovin's Mobile Player SDKs.

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Bitmovin Player React Native

This is an open-source project created to enable customers to integrate the Bitmovin mobile Player SDKs into React Native projects. It has been created to provide customers with a starting point, which can be built upon through active collaboration and contributions. We look forward to seeing this library expand and grow.

CI (TypeScript) CI (Android) CI (iOS & tvOS) Platforms MIT License Bitmovin Community npm version npm dm npm dt

Platform Support

This library requires at least Expo 57+ and React Native 0.86.3+ to work properly, checkout our Lifecycle policy for more details. The officially supported platforms are:

  • iOS/iPadOS/tvOS: 16.4+
  • Android: 7.0+
  • Android TV: 7+
  • Fire TV: Fire OS 6.0+

Please note that browsers and other browser-like environments such as webOS and Tizen are not supported. For more details regarding Bitmovin Player SDK platform and device support, please refer to the Supported Platforms & Devices page of our documentation.

Feature Support

Please refer to the Features section of our documentation for an up-to-date list of supported Player features.

Google IMA

Google IMA is disabled by default. Enable it only if the app uses IMA ad sources. Bitmovin Advertising Module (BAM) ads and ordinary playback work without it.

For apps using Expo prebuild, enable the feature in the config plugin:

[
  'bitmovin-player-react-native',
  {
    features: {
      googleIMA: true,
    },
  },
];

After changing this flag, rerun Expo prebuild. On iOS and tvOS, also run pod install from the directory containing the Podfile. Rebuild the native app.

For a bare Android app, add this property to android/gradle.properties, then rebuild the app:

BITMOVIN_ENABLE_GOOGLE_IMA=true

BITMOVIN_ENABLE_GOOGLE_IMA accepts only true or false (case-insensitive). Any other value fails the native build.

If Google IMA is disabled, the player ignores advertisingConfig.ima.beforeInitialization and logs a JavaScript warning. IMA ad sources are skipped: Android emits a PlayerWarning event, iOS and tvOS only write a native log message.

Manually maintained iOS and tvOS projects need additional SPM configuration. See iOS SDK dependencies.

Documentation

API Reference

Our API reference can be found here.

Getting Started Guide

Our Getting Started Guide walks you through setting up and configuring the Bitmovin Player in React Native projects.

Low-Code Wizard

Use the Low-Code Wizard in your Dashboard to quickly get started with the Player, with just a few lines of code.

Feature Guides

Check out our React Native Guides for more information on how to set up Player features such as Advertising, DRM-protected playback, Subtitles and more.

iOS dependency management

Player and the optional Google IMA SDK use Swift Package Manager. See iOS SDK dependencies for Expo prebuild, manual integration, and upgrade instructions.

Sample Application

In the /example/ folder you can find a sample application showcasing many of the features of the Player React Native SDK. See the related README.md for more information on how to get started with the sample application.

Maintenance and Updates

As an open source project, this library is not part of a regular maintenance or update schedule and is updated on an adhoc basis when contributions are made.

Contributing to this project

We are pleased to accept changes, updates and fixes from the community wishing to use and expand this project. Bitmovin will review any Pull Requests made. We do our best to provide timely feedback, but please note that no SLAs apply. New releases are tagged and published on our discretion. Please see CONTRIBUTING.md for more details on how to contribute.

Raising a Feature Suggestion

If you see something missing that might be useful but are unable to contribute the feature yourself, please feel free to submit a feature request through the Bitmovin Community. Feature suggestions will be considered by Bitmovin’s Product team for future roadmap plans.

Reporting a bug

If you come across a bug related to the Player React Native SDK, please raise this through the support ticketing system accessible in your Bitmovin Dashboard.

Support and SLA Disclaimer

As an open-source project and not a core product offering, any request, issue or query related to this project is excluded from any SLA and Support terms that a customer might have with either Bitmovin or another third-party service provider or Company contributing to this project. Any and all updates are purely at the contributor's discretion.

Need more help?

Should you need further help, please raise your request to your Bitmovin account team. We can assist in a number of ways, from providing you professional services help to putting you in touch with preferred system integrators who can work with you to achieve your goals.

Explore projetos relacionados

Carregando…