{{ .Filename }} ({{ filesize .FileSize }})
diff --git a/src/website/timeline_helper.go b/src/website/timeline_helper.go
index 03bbc7d6..925f3e2e 100644
--- a/src/website/timeline_helper.go
+++ b/src/website/timeline_helper.go
@@ -366,13 +366,14 @@ func youtubeMediaItem(videoId string) templates.TimelineItemMedia {
return templates.TimelineItemMedia{
Type: templates.TimelineItemMediaTypeEmbed,
EmbedHTML: template.HTML(fmt.Sprintf(
- `
`,
+ `
`,
template.HTMLEscapeString(videoId),
)),
ExtraOpenGraphItems: []templates.OpenGraphItem{
{Property: "og:video", Value: fmt.Sprintf("https://youtube.com/watch?v=%s", videoId)},
{Name: "twitter:card", Value: "player"},
},
+ ThumbnailUrl: fmt.Sprintf("https://i.ytimg.com/vi/%s/hq720.jpg", videoId),
}
}