Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
react-native-bitmovin-player
Advanced tools
Readme
$ npm install react-native-bitmovin-player --save
$ react-native link react-native-bitmovin-player
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-bitmovin-player
and add RNBitmovinPlayer.xcodeproj
libRNBitmovinPlayer.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)android/app/src/main/java/[...]/MainActivity.java
import com.xxsnakerxx.RNBitmovinPlayerPackage;
to the imports at the top of the filenew RNBitmovinPlayerPackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':react-native-bitmovin-player'
project(':react-native-bitmovin-player').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-bitmovin-player/android')
android/app/build.gradle
:
implementation project(':react-native-bitmovin-player')
Add line to your Podfile
pod 'BitmovinPlayer', git: 'https://github.com/bitmovin/bitmovin-player-ios-sdk-cocoapod.git', tag: '2.18.0'
.
After that, install the pod using pod install
.
Add a link to our release repository to your application's build.gradle
file. In addition to that, the google maven repository must be added.
allprojects {
repositories {
...
google()
maven {
url 'http://bitmovin.bintray.com/maven'
}
}
}
Add the Bundle identifier of the iOS application which is using the SDK as an allowed domain to the Bitmovin licensing backend. This can also be done under Player -> Licenses
when logging in into https://dashboard.bitmovin.com with your account.
When you do not do this, you'll get a license error when starting the application which contains the player.
Add your Bitmovin player license key to the Info.plist
file as BitmovinPlayerLicenseKey.
Add your Bitmovin player license key to the AndroidManifest.xml
.
<meta-data android:name="BITMOVIN_PLAYER_LICENSE_KEY" android:value="YOUR_KEY_HERE" />
Your player license key can be found when logging in into https://dashboard.bitmovin.com and navigating to Player -> Licenses
.
import BitmovinPlayer from 'react-native-bitmovin-player';
// please follow to index.js for available props
<BitmovinPlayer
configuration={{
source: {
title: 'It works',
url: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
},
}}
/>
FAQs
Bitmovin player React Native module
The npm package react-native-bitmovin-player receives a total of 22 weekly downloads. As such, react-native-bitmovin-player popularity was classified as not popular.
We found that react-native-bitmovin-player demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.