Lednerb / bilberry-hugo-theme

Premium theme for the hugo site builder. DEMO:
https://lednerb.github.io/bilberry-hugo-theme/
MIT License
355 stars 151 forks source link

Video container appears duplicated #621

Closed bellons91 closed 8 months ago

bellons91 commented 8 months ago

Hello. When using the video template, there's a dark-gray box below the YouTube player.

You can see the issue both in the homepage:

image

and in that specific page:

image

In that case, the Frontmatter was this:

title: "[ENG] MVPbuzzChat with Davide Bellone | Christian Buckley"
date: 2024-01-08
draft: false
url: /video/mvp-buzz-chat
categories:
- Video
tags:
 - Career

# Set your video id for
youtube: "LzJaAa_HXKU"         # https://www.youtube.com/watch?v=M7IjJiZUutk -> "M7IjJiZUutk"
vimeo: ""           # https://vimeo.com/239830182 -> "239830182"
prezi: ""           # https://prezi.com/v/5z9shnq7jzxs/what-to-study/ -> "5z9shnq7jzxs"
bilibili: ""        # https://www.bilibili.com/video/BV1Sx411T7QQ -> "BV1Sx411T7QQ"
peertube: ""        # https://vids.tekdmn.me/w/w7WGHX7Lb6mCrbrpF3Xb8V (entire URL)
mp4video: ""        # location of video file (only mp4) 
mp4videoImage: ""   # location of poster image 
Sp-cy commented 8 months ago

This is because there is a path in the url front matter property. If you want to use the Youtube video, delete this: url: /video/mvp-buzz-chat

bellons91 commented 8 months ago

But without that value the URL of the page will follow the folder structure, right?

bellons91 commented 8 months ago

Ah, I tried without the url property, and it still does not work.

Default URL

Code

igor-baiborodine commented 8 months ago

@bellons91, please provide me with a link to a GitHub repository so I can reproduce it in my local dev.

bellons91 commented 8 months ago

Here's that page https://github.com/code4it-dev/c4it-hugo/blob/master/content/video/007-mvp-buzz-chat.md

igor-baiborodine commented 8 months ago

All other non-set video provider front matter variables should be removed:

image

image