mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-08 23:12:13 +08:00
💖 修复网页端播放失败bug
This commit is contained in:
@@ -35,10 +35,11 @@
|
||||
let info = get('info')
|
||||
let time = get('time')
|
||||
let flag = info.indexOf('$')
|
||||
let url
|
||||
if (flag > 0) {
|
||||
let url = info.split('$')[1]
|
||||
url = info.split('$')[1]
|
||||
} else {
|
||||
let url = info
|
||||
url = info
|
||||
}
|
||||
let player = new window.HlsJsPlayer({
|
||||
id: 'mse',
|
||||
|
||||
Reference in New Issue
Block a user