Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loop not working #100

Open
wintercounter opened this issue Dec 31, 2024 · 0 comments
Open

loop not working #100

wintercounter opened this issue Dec 31, 2024 · 0 comments

Comments

@wintercounter
Copy link

Loop doesn't seem to work at all.

Code

<Stream
  streamRef={streamApiRef}
  src={url}
  className="[&>iframe]:rounded-lg [&>iframe]:border"
  muted={shouldAutoplay}
  autoplay={shouldAutoplay}
  onDurationChange={() => setLoaded(true)}
  loop
  width={videoMeta.width.toString()}
  height={videoMeta.height.toString()}
/>

Rendered Iframe

<iframe src="https://iframe.videodelivery.net/8b3e0a79e2b0d8818a88eff4cc2ae851" frameborder="0" height="1080" width="1920" allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;" allowfullscreen="" style="position: absolute; inset: 0px; height: 100%; width: 100%;"></iframe>

Rendered video element

<video poster="https://customer-hnm7f31263pk0v84.cloudflarestream.com/8b3e0a79e2b0d8818a88eff4cc2ae851/thumbnails/thumbnail.jpg?height=720" class="css-14ogxpa" playsinline="" preload="none" muted="true" src="blob:https://iframe.videodelivery.net/526e5eb5-bfce-4678-8e7b-a2a4d2220da0" autoplay=""></video>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant