From 4d169f9d51045778a25c7570b0a3f0f58d588676 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Thu, 27 Aug 2020 16:36:04 +0200 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mini/Mini.vue | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) diff --git a/src/mini/Mini.vue b/src/mini/Mini.vue index cf8d178..bd36f68 100644 --- a/src/mini/Mini.vue +++ b/src/mini/Mini.vue @@ -125,54 +125,6 @@ export default { } }) }) - // zy.detail(res.site, res.ids).then(e => { - // this.name = e.name - // this.detail = e - // const dd = e.dl.dd - // const type = Object.prototype.toString.call(dd) - // let m3u8Txt = [] - // if (type === '[object Array]') { - // for (const i of dd) { - // if (i._t.indexOf('m3u8') >= 0) { - // m3u8Txt = i._t.split('#') - // } - // } - // } else { - // m3u8Txt = dd._t.split('#') - // } - // const m3u8Arr = [] - // for (const i of m3u8Txt) { - // const j = i.split('$') - // if (j.length > 1) { - // for (let m = 0; m < j.length; m++) { - // if (j[m].indexOf('m3u8') >= 0) { - // m3u8Arr.push(j[m]) - // } - // } - // } else { - // m3u8Arr.push(j[0]) - // } - // } - // this.m3u8Arr = m3u8Arr - // this.xg.src = m3u8Arr[res.index] - // if (res.time !== 0 || res.time !== '') { - // this.xg.play() - // this.xg.once('playing', () => { - // this.xg.currentTime = res.time - // }) - // } else { - // this.xg.play() - // } - // this.videoPlaying() - // this.xg.once('ended', () => { - // if (m3u8Arr.length > 1 && (m3u8Arr.length - 1 > res.index)) { - // this.video.time = 0 - // this.video.index++ - // this.xg.src = m3u8Arr[this.video.index] - // this.xg.play() - // } - // }) - // }) }) }, fetchM3u8List (info) {