on master help sign in
add video poster image
6ab95e5Gavin Atkinson
templates/base.html+1−1
@@ -24,7 +24,7 @@
24 <style type="text/css">
24 <style type="text/css">
25 /* Mailchimp style overrides */
25 /* Mailchimp style overrides */
26 #mc_embed_signup{clear:left; width:100%;}
26 #mc_embed_signup{clear:left; width:100%;}
27− /* {% block templatestyles %} {% endblock templatestyles%} */
27+ {% block templatestyles %} {% endblock templatestyles%}
28 </style>
28 </style>
29 <link rel="stylesheet" href="/indigo.css">
29 <link rel="stylesheet" href="/indigo.css">
30 <link rel="stylesheet" href="/styles.css">
30 <link rel="stylesheet" href="/styles.css">
templates/index.html+9−4
@@ -1,8 +1,7 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2<!--External links are differentiated on home page.-->
2<!--External links are differentiated on home page.-->
3{% block templatestyles %}
3{% block templatestyles %}
4−<!-- a[href*="//"]:not([href*="{{config.base_url | safe}}"])::after {
4+
5−content: " ↗"; -->
6}
5}
7{% endblock templatestyles %}
6{% endblock templatestyles %}
8{% block bodyclasses %}class="index"{% endblock bodyclasses %}
7{% block bodyclasses %}class="index"{% endblock bodyclasses %}
@@ -12,11 +11,17 @@ content: " ↗"; -->
12{% block content %}
11{% block content %}
13
12
14<section class="full p0 vid-insert-wrap full-bleed">
13<section class="full p0 vid-insert-wrap full-bleed">
14+ <video
15− <video class="vid-insert bg-black" autoplay muted loop>
15+ class="vid-insert bg-black"
16+ autoplay
17+ muted
18+ loop
19+ playsinline
20+ poster="https://storage.cloud.google.com/media.urbit.org/site/sea30-poster.png">
16 <source
21 <source
17 src="https://storage.googleapis.com/media.urbit.org/site/sea30-1440.mp4"
22 src="https://storage.googleapis.com/media.urbit.org/site/sea30-1440.mp4"
18 type="video/mp4"/>
23 type="video/mp4"/>
19− Your browser does not support the video tag.
24+ Your browser does not support the video tag.
20 </video>
25 </video>
21
26
22 <div class="grid12" style="height: 100%; width:100%;">
27 <div class="grid12" style="height: 100%; width:100%;">