Replies: 1 comment
-
So I fixed it by dynamically importing the local hls lib: <MediaPlayer
src={src}
poster={posterUrl}
onProviderChange={e => {
const provider = e.detail
if (isHLSProvider(provider)) {
provider.library = () => import("hls.js")
provider.config.autoStartLoad = false
provider.config.xhrSetup = xhrSetup
}
}}
> Is this a bug? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm disabling
autoStartLoad
to make a manual start of the video, but since I think version 0.6 the instance isnull
.code:
I also tried to call the
onInstance
event callback but it never gets fired.Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions