feat(artplayer-plugin-dash-control)!: support dash.js v5

- replace removed v4 APIs with their v5 equivalents:
  getRepresentationsByType / getCurrentRepresentationForType /
  setRepresentationForTypeByIndex
- bump dash.js CDN references from 4.5.2 to 5.2.1 (modern/umd build)
- rebuild dist, docs/compiled and docs/uncompiled artifacts
- regenerate vitepress docs
This commit is contained in:
Mr.Hope committed 2026-09-10 15:58:17 +08:00
1 parent 42c4ca735d
commit cb69e4ad66
96 files changed
+199 -195

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@
</li>
<li style="display: inline-block;margin-right: 10px;">
<a
href="/?libs=https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js&example=dash">dash.js</a>
href="/?libs=https://cdnjs.cloudflare.com/ajax/libs/dashjs/5.2.1/modern/umd/dash.all.min.js&example=dash">dash.js</a>
</li>
<li style="display: inline-block;margin-right: 10px;">
<a
@@ -104,7 +104,7 @@
</li>
<li>
<a
href="/?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">artplayer-plugin-dash-control</a>
href="/?libs=https://cdnjs.cloudflare.com/ajax/libs/dashjs/5.2.1/modern/umd/dash.all.min.js%0A./uncompiled/artplayer-plugin-dash-control/index.js&example=dash.control">artplayer-plugin-dash-control</a>
</li>
<li>
<a