From dffd4ac7a00f0ca950fd768377650a9d0a00e132 Mon Sep 17 00:00:00 2001 From: Matthias Brugger Date: Wed, 6 Jun 2018 17:39:07 +0200 Subject: [PATCH] fix speakerdeck commercial --- app/views/shared/_media_item.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_media_item.html.haml b/app/views/shared/_media_item.html.haml index 26f193db..9357c9e2 100644 --- a/app/views/shared/_media_item.html.haml +++ b/app/views/shared/_media_item.html.haml @@ -8,7 +8,7 @@ - elsif commercial.commercial_type == 'Vimeo' %iframe{width: '560', height: '315', frameborder: '0', allowfullscreen: 'true', src: "//player.vimeo.com/video/#{commercial.commercial_id}"} - elsif commercial.commercial_type == 'Speakerdeck' - %iframe{width: '560', height: '315', frameborder: '0', allowfullscreen: 'true', src: "//speakerdeck.com/player/#{commercial.commercial_id}?"} + %iframe{width: '560', height: '315', frameborder: '0', allowfullscreen: 'true', src: "https://speakerdeck.com/player/#{commercial.commercial_id}?"} - elsif commercial.commercial_type == 'Instagram' %iframe{width: '560', height: '315', frameborder: '0', allowfullscreen: 'true', scrolling: 'no', allowtransparency: 'true', src: "//instagram.com/p/#{commercial.commercial_id}/embed/"} - else