devcshort / react-hls

Simple React component for playing hls/rtmp live streams.
https://www.npmjs.com/package/react-hls-player
MIT License
118 stars 48 forks source link

Add import statements to documentation #15

Closed Emkay860 closed 3 years ago

Emkay860 commented 3 years ago

Documentation is simple and concise but for beginners who are new to using npm packages, it will be better to include steps on how to import the react-hls packages into their react applications

devcshort commented 3 years ago

Great suggestion! Thanks @Emkay860

mrjelveh commented 3 years ago

I really don't know how to use it, one thing I think is necessary is a better document or example to use hlsConfig.

devcshort commented 3 years ago

@Emkay860 As of the latest version, I've added in supporting code to show the process of importing the component and then using it.

@mrjelveh I'll be adding an example of using hlsConfig in the near future. 💯