Added privacy-friendly embedded videos

* closes #1

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-12-24 14:57:48 +01:00
parent 2a19526f53
commit 167814050a
3 changed files with 32 additions and 11 deletions

View File

@ -9,7 +9,12 @@ Vom 16. bis 18. Juni fand der Bundesparteitag der GRÜNEN - die
Bundesdelegiertenkonferenz - im Velodrom in Berlin statt. Es folgt meine Rede
auf dem Bundesparteitag, welche in Videoformat auch auf Youtube zu sehen ist:
[![Aufgezeichneter Livestream des ersten BDK-Tages](https://img.youtube.com/vi/3BlOrCdFefo/0.jpg)](https://www.youtube.com/watch?v=3BlOrCdFefo&t=2h29m12s "Bundesparteitag 2017 - Live aus Berlin - Tag 1")
<div class="video-container">
<iframe width="560" height="315"
src="https://www.youtube-nocookie.com/embed/3BlOrCdFefo?rel=0&amp;start=8952"
frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen>
</iframe>
</div>
Trotz schlechter Umfragen sollten wir uns nicht unterkriegen lassen. 1820 war

View File

@ -0,0 +1,15 @@
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 35px;
height: 0;
overflow: hidden;
}
.video-container iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}

View File

@ -49,7 +49,8 @@ $on-laptop: 800px;
@import
"base",
"layout",
"syntax-highlighting"
"syntax-highlighting",
"video-embedding"
;
.post-content {