Skip to content

Commit

Permalink
Update start.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya authored May 22, 2024
1 parent 33b4aef commit f8f4c7d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/docs/src/pages/guide/start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ Player.make('#oplayer', {
poster: 'https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/poster.png'
}
})
.use([OUI(), OHls(), ODash(), OMpegts()])
.use([
OUI(),
OHls({
forceHLS: true,
library: 'https://cdn.jsdelivr.net/npm/hls.js@0.14.17/dist/hls.min.js'
}),
ODash({ library: 'https://cdn.dashjs.org/latest/dash.all.min.js' }),
OMpegts({ library: 'https://cdn.jsdelivr.net/npm/mpegts.js@latest/dist/mpegts.min.js' }),
])
.create()
</script>
```
Expand Down

0 comments on commit f8f4c7d

Please sign in to comment.