update artplayer-plugin-control

This commit is contained in:
Harvey Zack committed 2023-04-23 16:09:03 +08:00
1 parent 2824b69174
commit 71199d7d0e
5 files changed
+8 -5

No files matched your search

@@ -1,4 +1,7 @@
.artplayer-plugin-control {
--art-control-height: 46px;
--art-control-icon-scale: 1.1;
.apa-control-current,
.apa-control-duration {
display: flex;
@@ -6,7 +6,7 @@
▶ Run Code
</div>
```js{18-21,25}
```js{18,23}
function playMpd(video, url, art) {
if (dashjs.supportsMediaSource()) {
if (art.dash) art.dash.destroy();
@@ -6,7 +6,7 @@
▶ Run Code
</div>
```js{19-22,26}
```js{19,24}
function playFlv(video, url, art) {
if (flvjs.isSupported()) {
if (art.flv) art.flv.destroy();
@@ -6,7 +6,7 @@
▶ Run Code
</div>
```js{21-24,28}
```js{21,26}
function playM3u8(video, url, art) {
if (Hls.isSupported()) {
if (art.hls) art.hls.destroy();