kencoder
kencoder
CDCloudflare Developers
Created by kencoder on 7/23/2024 in #stream
I'm using `@cloudflare/stream-react 1.9.
To close the loop, I ended up listening for the play and pause events to track the expected value of video.paused in my own variable. When a video loads, it will fire a play event if autoplay succeeded. It will not fire a pause event unless the video has been played before, so it won't fire on load if autoplay is blocked by Safari. So I load the UI with my own variable isPlaying set to false, then set it to true any time the play event fires. It appears to be reliable to infer video.paused this way.
1 replies
CDCloudflare Developers
Created by kencoder on 7/11/2024 in #general-help
Regression: Cloudflare Stream webhooks are broken
4 replies