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

+1 -1
View File
@@ -42,7 +42,7 @@
<script src="../compiled/artplayer-plugin-vtt-thumbnail.js"></script>
<script src="../compiled/artplayer-plugin-chapter.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dashjs/5.2.1/modern/umd/dash.all.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.6.2/flv.min.js"></script>
<script src="./test.js"></script>
<script>mocha.run();</script>