From f8f4c7dbdf60832e7df6942dece9805488c59a7c Mon Sep 17 00:00:00 2001 From: CY Date: Wed, 22 May 2024 14:47:03 +0800 Subject: [PATCH] Update start.mdx --- packages/docs/src/pages/guide/start.mdx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/docs/src/pages/guide/start.mdx b/packages/docs/src/pages/guide/start.mdx index 03351e0a..5ca9d404 100644 --- a/packages/docs/src/pages/guide/start.mdx +++ b/packages/docs/src/pages/guide/start.mdx @@ -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() ```