Add BornHack 2022 talks

This commit is contained in:
Niels G. W. Serup 2022-09-25 13:17:14 +02:00
parent c3648852ea
commit 0ded48a5c7
No known key found for this signature in database
GPG Key ID: 38EEEBCE67324F19
5 changed files with 21 additions and 0 deletions

7
media/exploring-if.media Normal file
View File

@ -0,0 +1,7 @@
file: iframe:https://media.ccc.de/v/bornhack2022-4201-exploring-the-degrees/oembed
title: 'Exploring the Degrees of Freedom in Designing Interactive Fiction'
date: 20220807
description: >
My main talk for BornHack 2022.
More information: https://bornhack.dk/bornhack-2022/program/exploring-the-degrees-of-freedom-in-designing-interactive-fiction/

7
media/roundworm.media Normal file
View File

@ -0,0 +1,7 @@
file: iframe:https://media.ccc.de/v/bornhack2022-4213-roundworm-a-simple-fro/oembed
title: 'roundworm: A simple frontend for browsing pictures and videos stored in S3 storage'
date: 20220807
description: >
My lightning talk for BornHack 2022.
More information: https://bornhack.dk/bornhack-2022/program/roundworm-a-simple-frontend-for-browsing-pictures-and-videos-stored-in-s3-storage/

View File

@ -80,6 +80,12 @@ def generate_video_section_html(section_html, media):
thumbnail=thumbnail, link=link)
return html_out
def iframe_video(file_src):
return '''\
<iframe width="759" height="427" src="{url}" frameborder="0" allowfullscreen>
</iframe>
'''.format(url=file_src)
def extern_video(file_src):
url = 'https://media-metanohi-name.eu-central-1.linodeobjects.com/media/' + file_src
return '''\
@ -113,6 +119,7 @@ def generate_video_page(base_dir, out_dir, base_html, showing_html, media):
file_type, file_src = media['file'].split(':', 1)
actions = {
'extern': extern_video,
'iframe': iframe_video
'youtube': youtube_video
}
video_html = actions[file_type](file_src)

BIN
thumbnails/exploring-if.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

BIN
thumbnails/roundworm.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 KiB