luwes / cloudflare-video-element

A custom element for the Cloudflare player with an API that matches the <video> API
https://cloudflare-video-element.vercel.app
4 stars 1 forks source link

"readyState" property #1

Closed abvas closed 1 year ago

abvas commented 1 year ago

Hello!

Please tell me how can I access the "readyState" property.

I'm trying to get the value: video_element.readyState

but I keep getting - undefined

Tried getting "readyState" on other custom elements and everything works fine there.

for example, in: https://github.com/luwes/dash-video-element https://github.com/muxinc/hls-video-element https://github.com/luwes/jwplayer-video-element https://github.com/luwes/vimeo-video-element

video_element.readyState works correctly and I can get the value.

Please help what am I doing wrong.

Thank you.