react-hls icon indicating copy to clipboard operation
react-hls copied to clipboard

Playerref result show undefined

Open Junaid-Amjad opened this issue 4 years ago • 3 comments

Hi, i tried the playerref in my application. but it display undefined in the console. I tried this example. Am i missing something? Thanks in advance.

Junaid-Amjad avatar Jun 04 '21 11:06 Junaid-Amjad

Thanks for bringing this to my attention. I'll need to take a look and test it out. It should be working. Is it possible you're trying to use the ref before it has been assigned?

devcshort avatar Jun 04 '21 16:06 devcshort

I don't think so. I used the exact example as shown here.

Junaid-Amjad avatar Jun 07 '21 07:06 Junaid-Amjad

yea for some reason playerRef return null all the time...

hoangvu12 avatar Nov 02 '21 09:11 hoangvu12