diff --git a/vendor/symposion/symposion/schedule/models.py b/vendor/symposion/symposion/schedule/models.py
index d994f825d437b8b58a04785dfa7563ce1523dd4c..6ea9386c445093d819f55a138b23d4029b0446be 100644
--- a/vendor/symposion/symposion/schedule/models.py
+++ b/vendor/symposion/symposion/schedule/models.py
@@ -308,6 +308,19 @@ class Presentation(models.Model):
def videos_split(self):
return [v.strip() for v in self.videos.split('\n') if v != '']
+ def youtube_videos(self):
+ return [
+ v.replace('youtu.be', 'www.youtube.com/embed')
+ for v in self.videos_split()
+ if 'youtu.be' in v
+ ]
+
+ def other_videos(self):
+ return [
+ v for v in self.videos_split()
+ if 'youtu.be' not in v
+ ]
+
class Meta:
ordering = ["slot"]
verbose_name = _("presentation")