Added privacy-friendly embedded videos
* closes #1 Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -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
|
Bundesdelegiertenkonferenz - im Velodrom in Berlin statt. Es folgt meine Rede
|
||||||
auf dem Bundesparteitag, welche in Videoformat auch auf Youtube zu sehen ist:
|
auf dem Bundesparteitag, welche in Videoformat auch auf Youtube zu sehen ist:
|
||||||
|
|
||||||
[](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&start=8952"
|
||||||
|
frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen>
|
||||||
|
</iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
Trotz schlechter Umfragen sollten wir uns nicht unterkriegen lassen. 1820 war
|
Trotz schlechter Umfragen sollten wir uns nicht unterkriegen lassen. 1820 war
|
||||||
|
|||||||
15
_sass/_video-embedding.scss
Normal file
15
_sass/_video-embedding.scss
Normal 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%;
|
||||||
|
}
|
||||||
@ -49,7 +49,8 @@ $on-laptop: 800px;
|
|||||||
@import
|
@import
|
||||||
"base",
|
"base",
|
||||||
"layout",
|
"layout",
|
||||||
"syntax-highlighting"
|
"syntax-highlighting",
|
||||||
|
"video-embedding"
|
||||||
;
|
;
|
||||||
|
|
||||||
.post-content {
|
.post-content {
|
||||||
|
|||||||
Reference in New Issue
Block a user