Replace homepage GIF with video.

master
Nick Sergeant 2015-10-29 12:28:49 -04:00
parent 6bc863a551
commit 1aa9d66b3e
4 changed files with 20 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -3182,3 +3182,16 @@ div.team-search {
width: 100%;
}
}
div.video-container {
text-align: center;
padding: 20px;
}
video {
border: 10px solid #E4E2E4;
border-radius: 5px;
box-sizing: border-box;
margin-top: 50px;
max-width: 100%;
}

BIN
media/video/demo.mp4 Normal file

Binary file not shown.

View File

@ -122,8 +122,12 @@
<h1>See it in action</h1>
</header>
</div>
<div style="text-align: center;">
<img style="width: 80%; margin-top: 50px;" src="https://snipt.s3.amazonaws.com/preview.gif" alt="">
<div class="video-container">
<video controls loop autoplay src="{{ STATIC_URL }}/video/demo.mp4">
<source src="{{ STATIC_URL }}/video/demo.mp4" type="video/mp4">
{# <source src="movie.ogg" type="video/ogg"> #}
Your browser does not support the video tag.
</video>
</div>
</div>
</div>