use streaming proxy
This commit is contained in:
parent
16a9439152
commit
c230b57dca
9 changed files with 34 additions and 25 deletions
|
|
@ -200,8 +200,8 @@ function renderPlayer(config) {
|
|||
video.muted = false
|
||||
video.controls = true
|
||||
if (config.item) {
|
||||
setVideoSrc(video, `${pandoraURL}/${config.item}/480p.webm`)
|
||||
video.poster = `${pandoraURL}/${config.item}/480p.jpg`
|
||||
setVideoSrc(video, `${streamPrefix}/${config.item}/480p.webm`)
|
||||
video.poster = `${streamPrefix}/${config.item}/480p.jpg`
|
||||
}
|
||||
video.addEventListener('timeupdate', timeupdate)
|
||||
var box = document.createElement('div')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue