0.2.2 • Published 1 month ago

@takeoffmedia/react-native-bitmovin-player v0.2.2

Weekly downloads
118
License
MIT
Repository
github
Last release
1 month ago

@takeoffmedia/react-native-bitmovin-player

Installation

npm install @takeoffmedia/react-native-bitmovin-player

Project Setup

  • Add in your pod file:

    • source 'https://github.com/bitmovin/cocoapod-specs.git'
    • pod 'BitmovinPlayer', '2.57.1'
  • Add your Bitmovin player license key to the Info.plist file as BitmovinPlayerLicenseKey.

  • Add the Bundle identifier of the iOS application which is using the SDK as an allowed domain to the Bitmovin licensing backend. This can be also 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.

    Your player license key can be found when logging in into https://dashboard.bitmovin.com and navigating to Player -> Licenses.

  • Optional: You can add a custom CSS and JS in Info.plist

    • Key to the Info.plist file as BitmovinPlayerCss.

    • Key to the Info.plist file as BitmovinPlayerJs.

Note for iOS 12

If you develop using XCode 10 targeting iOS 12 make sure you use a provisioning profile with Access WiFi Information enabled for the BasicCasting as well as for the AdvancedCasting sample.

Note for iOS 13

If you develop using XCode 11 targeting iOS 13 please make sure the NSBluetoothAlwaysUsageDescription key is set in the info.plist for both the BasicCasting and the AdvancedCasting samples.

Usage

import ReactNativeBitmovinPlayer from '@takeoffmedia/react-native-bitmovin-player';

<ReactNativeBitmovinPlayer
  autoPlay={false}
  configuration={{
    url: '',
    poster: '',
    subtitles: '',
    thumbnails: '',
    startOffset: 0
  }}
/>

Configuration

// TODO

Events

// TODO

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.1.54

2 months ago

0.1.55

2 months ago

0.1.56

2 months ago

0.2.1

1 month ago

0.2.0

2 months ago

0.2.2

1 month ago

0.1.53

3 months ago

0.1.52

5 months ago

0.1.50

5 months ago

0.1.51

5 months ago

0.1.49

6 months ago

0.1.48

6 months ago

0.1.45

6 months ago

0.1.46

6 months ago

0.1.47

6 months ago

0.1.41

6 months ago

0.1.42

6 months ago

0.1.43

6 months ago

0.1.44

6 months ago

0.1.40

6 months ago

0.1.39

7 months ago

0.1.38

7 months ago

0.1.36

7 months ago

0.1.37

7 months ago

0.1.34

7 months ago

0.1.35

7 months ago

0.1.33

7 months ago

0.1.32

7 months ago

0.1.31

7 months ago

0.1.30

9 months ago

0.1.29

11 months ago

0.1.27

11 months ago

0.1.28

11 months ago

0.1.26

11 months ago

0.1.25

11 months ago

0.1.24

11 months ago

0.1.23

11 months ago

0.1.22

11 months ago

0.1.21

11 months ago

0.1.20

12 months ago

0.1.19

12 months ago

0.1.18

12 months ago

0.1.17

12 months ago

0.1.16

12 months ago

0.1.15

12 months ago

0.1.14

12 months ago

0.1.13

12 months ago

0.1.12

12 months ago

0.1.11

12 months ago

0.1.10

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago