mingxinstar / react-hls

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

"ref" Prop #9

Open dzwood opened 4 years ago

dzwood commented 4 years ago

Could you possible add a ref prop to this component? This way the video player can be controlled by custom play buttons as well.

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'll add in the ref prop as well 😄

EDIT I just published the video player with the option to pass in your own Ref.