Use new video system

This commit is contained in:
bingus_violet 2024-08-19 07:04:42 -05:00
parent 52f6d68b6c
commit 91f5be8764

View file

@ -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 ``
},