Skip to content

Commit 00f6703

Browse files
committed
fix: tweak start times
1 parent 063cced commit 00f6703

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

blog-website/src/pages/talks.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ const talks = [
88
id: 'IOnOsyQJYkc?start=200',
99
permalink: 'https://youtu.be/IOnOsyQJYkc?t=200',
1010
date: '2025-01-30',
11-
formattedDate: 'January 30th, 2025',
11+
formattedDate: 'January 30th, 2025 - starts at 3:20',
1212
title: 'The Hitchhiker’s Guide to Open Source Software',
1313
},
1414
{
15-
id: 'U6s2pdxebSo',
15+
id: 'U6s2pdxebSo?start=1416',
1616
permalink: 'https://youtube.com/watch?v=U6s2pdxebSo&t=1416s',
1717
date: '2023-09-21',
18-
formattedDate: 'September 21st, 2023',
19-
title: 'TypeScript Origins: The Documentary (from 23:45 and 34:00)',
18+
formattedDate: 'September 21st, 2023 - starts at 23:45 and 34:00',
19+
title: 'TypeScript Origins: The Documentary',
2020
},
2121
{
2222
id: 'G4WTEEwI6Qs',
@@ -37,8 +37,8 @@ const talks = [
3737
id: 'O58b4r21sz4?start=1735',
3838
permalink: 'https://www.youtube.com/watch?v=O58b4r21sz4&t=1735s',
3939
date: '2023-01-13',
40-
formattedDate: 'January 13th, 2023',
41-
title: 'TypeScript London: Me and Open Source - talk starts at 28:55',
40+
formattedDate: 'January 13th, 2023 - starts at 28:55',
41+
title: 'TypeScript London: Me and Open Source',
4242
},
4343
{
4444
id: 'Kl9M7eut5Yo',
@@ -91,7 +91,8 @@ const structuredData = {
9191
description: talk.title,
9292

9393
thumbnailUrl: thumbnailResolutions.map(
94-
(resolution) => `https://img.youtube.com/vi/${talk.id}/${resolution}`,
94+
(resolution) =>
95+
`https://img.youtube.com/vi/${talk.id.split('?')[0]}/${resolution}`,
9596
),
9697

9798
uploadDate: talk.date,
@@ -143,6 +144,8 @@ function Talks() {
143144
title={talk.title}
144145
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
145146
allowFullScreen
147+
width="560"
148+
height="315"
146149
></iframe>
147150
</div>
148151
</div>

0 commit comments

Comments
 (0)