0.2.8 • Published 3 years ago

react-native-aws-ivs-player-view v0.2.8

Weekly downloads
77
License
MIT
Repository
github
Last release
3 years ago

react-native-aws-ivs-player-view

React Native view bindings for the AWS Interactive Video Service

Installation

npm install react-native-aws-ivs-player-view

Usage

import PlayerView from "react-native-aws-ivs-player-view";

// ...
<PlayerView
    style={styles.player}
    ref={(e: any) => {
        this.player = e;
    }}
/>
<Button
    onPress={() => {
        this.player.pause();
    }}
    title="Pause"
/>
<Button
    onPress={() => {
        this.player.load(
        '<SOME_HLS_URL>'
        );
    }}
    title="Play Me"
/>

Development

If you are interested in extending or enhacning this project, first clone it, then:

Run

yarn bootstrap

When the bootstrap is done, you will be able to start the example app by executing one of the following commands:

# Android app
yarn example android
# iOS app
yarn example ios

Contributing

Please open PRs or issues and we will merge accordingly.

License

MIT

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.3

4 years ago

0.2.4

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago