Add BornHack 2022 talks

master
Niels G. W. Serup 2 months ago
parent c3648852ea
commit 0ded48a5c7
Signed by: ngws
GPG Key ID: 38EEEBCE67324F19
  1. 7
      media/exploring-if.media
  2. 7
      media/roundworm.media
  3. 7
      scripts/generate-pages.py
  4. BIN
      thumbnails/exploring-if.jpg
  5. BIN
      thumbnails/roundworm.jpg

@ -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/

@ -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/

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 KiB

Loading…
Cancel
Save