hls.js
👉 https://github.com/video-dev/hls.js
▶ Run Code
js
function playM3u8(video, url, art) {
+ Skip to content hls.js
👉 https://github.com/video-dev/hls.js
▶ Run Code jsfunction playM3u8(video, url, art) {
if (Hls.isSupported()) {
if (art.hls) art.hls.destroy();
const hls = new Hls();
diff --git a/docs/document/en/plugin/hls-quality.html b/docs/document/en/plugin/hls-quality.html
index 0e0a43787..9345aff79 100644
--- a/docs/document/en/plugin/hls-quality.html
+++ b/docs/document/en/plugin/hls-quality.html
@@ -20,7 +20,7 @@
- Skip to content HLS Quality
Demonstration
Installation
bashnpm install artplayer-plugin-hls-quality
1
bashyarn add artplayer-plugin-hls-quality
1
bashpnpm add artplayer-plugin-hls-quality
1
html<script src="path/to/artplayer-plugin-hls-quality.js"></script>
1
CDN
bashhttps://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
bashhttps://unpkg.com/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
+ Skip to content HLS Quality
Demonstration
Installation
bashnpm install artplayer-plugin-hls-quality
1
bashyarn add artplayer-plugin-hls-quality
1
bashpnpm add artplayer-plugin-hls-quality
1
html<script src="path/to/artplayer-plugin-hls-quality.js"></script>
1
CDN
bashhttps://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
bashhttps://unpkg.com/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
diff --git a/docs/document/library/hls.html b/docs/document/library/hls.html
index 82c966365..371cd16ed 100644
--- a/docs/document/library/hls.html
+++ b/docs/document/library/hls.html
@@ -20,7 +20,7 @@
- Skip to content hls.js
👉 https://github.com/video-dev/hls.js
▶ Run Code jsfunction playM3u8(video, url, art) {
+ Skip to content hls.js
👉 https://github.com/video-dev/hls.js
▶ Run Code jsfunction playM3u8(video, url, art) {
if (Hls.isSupported()) {
if (art.hls) art.hls.destroy();
const hls = new Hls();
diff --git a/docs/document/plugin/hls-quality.html b/docs/document/plugin/hls-quality.html
index 0bf8955a2..b1d2df032 100644
--- a/docs/document/plugin/hls-quality.html
+++ b/docs/document/plugin/hls-quality.html
@@ -20,7 +20,7 @@
- Skip to content HLS 画质
演示
👉 查看完整演示
安装
bashnpm install artplayer-plugin-hls-quality
1
bashyarn add artplayer-plugin-hls-quality
1
bashpnpm add artplayer-plugin-hls-quality
1
html<script src="path/to/artplayer-plugin-hls-quality.js"></script>
1
CDN
bashhttps://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
bashhttps://unpkg.com/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
+ Skip to content HLS 画质
演示
👉 查看完整演示
安装
bashnpm install artplayer-plugin-hls-quality
1
bashyarn add artplayer-plugin-hls-quality
1
bashpnpm add artplayer-plugin-hls-quality
1
html<script src="path/to/artplayer-plugin-hls-quality.js"></script>
1
CDN
bashhttps://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
bashhttps://unpkg.com/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
1
diff --git a/docs/index.html b/docs/index.html
index ebd8f0b32..73ffa2ac8 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -30,7 +30,7 @@
Libraries
hls.js
+ href="/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js&example=hls">hls.js
artplayer-plugin-hls-control
+ href="/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control">artplayer-plugin-hls-control
-
+
diff --git a/packages/artplayer-plugin-hls-control/README.md b/packages/artplayer-plugin-hls-control/README.md
index 8adf564f5..08de08725 100644
--- a/packages/artplayer-plugin-hls-control/README.md
+++ b/packages/artplayer-plugin-hls-control/README.md
@@ -4,7 +4,7 @@ Hls control plugin for ArtPlayer
## Demo
-[https://artplayer.org](https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control)
+[https://artplayer.org](https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control)
## License
diff --git a/packages/artplayer-vitepress/docs/.vitepress/config.js b/packages/artplayer-vitepress/docs/.vitepress/config.js
index 5a17eaf5c..16178e636 100644
--- a/packages/artplayer-vitepress/docs/.vitepress/config.js
+++ b/packages/artplayer-vitepress/docs/.vitepress/config.js
@@ -69,7 +69,7 @@ const config = {
{ text: '弹幕遮罩', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-danmuku/index.js%0A./uncompiled/artplayer-plugin-danmuku-mask/index.js&example=danmuku.mask' },
{ text: '视频广告', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-ads/index.js&example=ads' },
{ text: 'Iframe 控制', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-iframe/index.js&example=iframe' },
- { text: 'Hls 控制', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control' },
+ { text: 'Hls 控制', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control' },
{ text: 'Dash 控制', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js%0A./uncompiled/artplayer-plugin-dash-control/index.js&example=dash.control' },
{ text: 'Vtt 缩略图', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-vtt-thumbnail/index.js&example=vtt.thumbnail'},
{ text: '多重字幕', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-multiple-subtitles/index.js&example=multiple.subtitles'},
@@ -84,7 +84,7 @@ const config = {
text: '第三方库',
collapsible: true,
items: [
- { text: 'hls.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js&example=hls' },
+ { text: 'hls.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js&example=hls' },
{ text: 'flv.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.6.2/flv.min.js&example=flv' },
{ text: 'dash.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js&example=dash' },
{ text: 'mpegts.js', link: 'https://artplayer.org/?libs=https://cdn.jsdelivr.net/npm/mpegts.js@1.7.3/dist/mpegts.min.js&example=mpegts' },
@@ -137,7 +137,7 @@ const config = {
items: [
{ text: 'Advertise', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-ads/index.js&example=ads' },
{ text: 'Iframe Control', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-iframe/index.js&example=iframe' },
- { text: 'Hls Control', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control' },
+ { text: 'Hls Control', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control' },
{ text: 'Dash Control', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js%0A./uncompiled/artplayer-plugin-dash-control/index.js&example=dash.control' },
{ text: 'Vtt Thumbnail', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-vtt-thumbnail/index.js&example=vtt.thumbnail'},
{ text: 'Multiple Subtitles', link: 'https://artplayer.org/?libs=./uncompiled/artplayer-plugin-multiple-subtitles/index.js&example=multiple.subtitles'},
@@ -152,7 +152,7 @@ const config = {
text: 'Libraries',
collapsible: true,
items: [
- { text: 'hls.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js&example=hls' },
+ { text: 'hls.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js&example=hls' },
{ text: 'flv.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.6.2/flv.min.js&example=flv' },
{ text: 'dash.js', link: 'https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js&example=dash' },
{ text: 'mpegts.js', link: 'https://artplayer.org/?libs=https://cdn.jsdelivr.net/npm/mpegts.js@1.7.3/dist/mpegts.min.js&example=mpegts' },
