Add recordings page populated from youtube playlist #63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Display content from https://www.youtube.com/playlist?list=PLh1QjGnfC2eTLiadQBo5o_l5aOcYdC6aV in a Recordings page
Recordings page is very similar to https://github.com/nixcon/2023.nixcon.org/blob/main/src/pages/recordings.astro
However, NixCon 2023's page is able to pull their video data from CCC's public API https://github.com/nixcon/2023.nixcon.org/blob/7ff6272e4b7660ebeb9a20b6d9a1048e271500b9/fetch.mjs#L12-L18
and AFAICT youtube's API requires some authentication.
Instead of wiring up all the authentication in this repo, as long as a developer has a google account, it is fairly simple to use their web based API explorer page
https://developers.google.com/youtube/v3/docs/playlistItems/list?apix_params=%7B%22part%22%3A%5B%22snippet%22%5D%2C%22maxResults%22%3A50%2C%22playlistId%22%3A%22PLh1QjGnfC2eTLiadQBo5o_l5aOcYdC6aV%22%7D
to get the JSON and since this JSON is unlikely to change often (maybe one more time to add the missing workshop), we can just manually update it then.
I also arbitrarily adjusted some small visual aspects (mostly due to the differences in data from youtube).