Skip to content

Commit

Permalink
Merge migrate to self-hosted demo video for main page.
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman committed Apr 20, 2024
2 parents c9c82de + d0ecc80 commit a8171a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

<!-- Demo Video -->
<div class="demo">
<img class="thumbnail" src="/images/home/demo-thumbnail.jpg"
alt="Screenshot of Guacamole 0.9.4"/>
<iframe
src="//player.vimeo.com/video/116207678?title=0&amp;byline=0&amp;portrait=0"
frameborder="0" webkitallowfullscreen mozallowfullscreen
allowfullscreen></iframe>
<video controls poster="/images/home/demo-thumbnail.jpg">
<source src="/videos/guacamole-0.9.4-demo.mp4" type="video/mp4"/>
<source src="/videos/guacamole-0.9.4-demo.webm" type="video/webm"/>
<img class="thumbnail" src="/images/home/demo-thumbnail.jpg"
alt="Screenshot of Guacamole 0.9.4"/>
</video>
</div>

<!-- High-level description -->
Expand Down
11 changes: 2 additions & 9 deletions styles/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,19 +221,12 @@ a[href].latest-release:hover .action {
max-width: 50%;
}

.demo img.thumbnail {
.demo img.thumbnail,
.demo video {
width: 600px;
max-width: 100%;
}

.demo iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

@media screen and (max-width: 1000px) {
.hook .readable-content {
display: block;
Expand Down
Binary file added videos/guacamole-0.9.4-demo.mp4
Binary file not shown.
Binary file added videos/guacamole-0.9.4-demo.webm
Binary file not shown.

0 comments on commit a8171a7

Please sign in to comment.