Use new video system
This commit is contained in:
parent
52f6d68b6c
commit
91f5be8764
1 changed files with 3 additions and 2 deletions
|
@ -284,10 +284,11 @@ function converter(html, dynamic = true) {
|
||||||
return ""
|
return ""
|
||||||
},
|
},
|
||||||
"SELECTED_VIDEO": () => {
|
"SELECTED_VIDEO": () => {
|
||||||
if (config.dailyVideoURL) {
|
console.log(api.lanyard)
|
||||||
|
if (api.lanyard.video) {
|
||||||
return `<h2><hr/>Random video!</h2><p>I would call it random <em>daily</em> video but its not at all daily...</p>
|
return `<h2><hr/>Random video!</h2><p>I would call it random <em>daily</em> video but its not at all daily...</p>
|
||||||
<br/>
|
<br/>
|
||||||
<video controls="true" src="${config.dailyVideoURL}"></video>`
|
<video controls="true" src="${api.lanyard.video.url}"></video>`
|
||||||
}
|
}
|
||||||
return ``
|
return ``
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue