mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add video coverBottomHtml
This commit is contained in:
parent
1e1dd7ada7
commit
911b67d569
2 changed files with 15 additions and 8 deletions
|
|
@ -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 )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue