drei
drei copied to clipboard
feat: useVideoTexture enable hls support
Why
To add support for HLS in useVideoTexture
What
Added hlsjs as a dependency, allowed HTML video element of useVideoTexture to be enhanced by hlsjs in order to allow playback of variable bit rate videos.
Checklist
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| drei | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 29, 2024 9:22pm |
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
@CodyJasonBennett please take a look when you can. I have tested it out here: https://codesandbox.io/p/sandbox/white-smoke-wx5zht?file=%2Fsrc%2FApp.js%3A21%2C1 I would prefer if we could also return the HLS instance object so that people can use it to listen to hls events, but I couldn't make it return in a way that it didn't cause re-renders,let me know if you have some idea about this.
@CodyJasonBennett I think I got it right this time, it should properly teardown now.
:tada: This PR is included in version 9.103.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: