mingxinstar / react-hls

simple react component for playing hls/rtmp live stream
44 stars 75 forks source link

TypeError: player1.play is not a function #10

Closed renep16 closed 4 years ago

renep16 commented 4 years ago

Hi, is this able to start play from javascript and not from user click? I want to fire play when someone click on a external button

devcshort commented 4 years ago

It seems like this project is no longer maintained. If you'd like I've forked this project and fixed some issues. It's available on npm as react-hls-player, and can also be found on my git profile.

I recently added in the ability to pass in your own React Ref which will allow you to control the video player directly using javascript.