Add video coverBottomHtml

This commit is contained in:
Sam Carlton 2021-05-15 17:35:08 -05:00
parent 1e1dd7ada7
commit 911b67d569
2 changed files with 15 additions and 8 deletions

View file

@ -92,7 +92,15 @@ class TV {
// console.log('video.payload', Object.keys(video.payload))
const playerHtml = await this.boundComponent(VideoPlayer)( video )
const coverBottomHtml = /* html */`
<div class="page-heading h-full flex items-end md:p-4">
<h1 class="title text-xs text-left md:text-2xl font-bold">${ video.name }</h1>
</div>
`
const playerHtml = await this.boundComponent(VideoPlayer)( video, {
coverBottomHtml
} )
const rowHtml = await this.boundComponent(VideoRow)( relatedVideos )