mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-11-04 06:25:42 +08:00
简化调用解析网址的逻辑
This commit is contained in:
@@ -657,9 +657,9 @@ export default {
|
||||
const currentSite = await sites.find({ key: this.video.key })
|
||||
this.$message.info('即将调用解析接口播放,请等待...')
|
||||
if (currentSite.jiexiUrl) {
|
||||
this.onlineUrl = /^\s*(default|默认)\s*$/i.test(currentSite.jiexiUrl) ? this.setting.defaultParseURL + url : currentSite.jiexiUrl + url
|
||||
this.onlineUrl = currentSite.jiexiUrl + url
|
||||
} else {
|
||||
this.onlineUrl = url
|
||||
this.onlineUrl = this.setting.defaultParseURL + url
|
||||
}
|
||||
this.videoPlaying('online')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user