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 ""
|
||||
},
|
||||
"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>
|
||||
<br/>
|
||||
<video controls="true" src="${config.dailyVideoURL}"></video>`
|
||||
<video controls="true" src="${api.lanyard.video.url}"></video>`
|
||||
}
|
||||
return ``
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue