home: add video

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@177 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
bevilj 2018-11-14 13:28:12 +00:00
parent cdf18c750b
commit 157d82eca6
7 changed files with 25 additions and 7 deletions

View File

@ -74,8 +74,6 @@
}
setInterval(
typing_shell
, 200);
@ -84,5 +82,17 @@
shell = shell + sentence[position];
document.getElementById("title-home").innerHTML = shell;
}
var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
if (!isChrome) {
document.getElementById('foolChrome').remove();
// Mute and play
var homeVideo = document.getElementById('videoHome');
homeVideo.muted = true;
homeVideo.play();
}
</script>
</body>

Binary file not shown.

Binary file not shown.

View File

@ -4,9 +4,13 @@ category: nosearch
author: A bunch of people
title: Home page
---
<!--<video autoplay muted loop id="videoHome">
<source src="assets/style/prew.mp4" type="video/mp4">
</video>-->
<iframe id="foolChrome" src="{{ site.baseurl }}/assets/style/silence.mp3" allow="autoplay" style="display:none"></iframe>
<video autoplay preload="auto" id="videoHome">
<source src="assets/front/hero_video.mp4" type="video/mp4">
</video>
<div class="home-tiles">

View File

@ -1,7 +1,7 @@
---
layout: page
category-title: fs
category-page: FileSystem
category-page: fs
category-title: FileSystem
tags: change directory
author: Mirko Ponzio
title: cd

View File

@ -1,5 +1,7 @@
---
layout: page
category-page: fs
category-title: FileSystem
tags: list file
author: Mirko Ponzio
title: ls

View File

@ -1,5 +1,7 @@
---
layout: page
category-page: fs
category-title: FileSystem
tags: create directory make
author: Mirko Ponzio
title: mkdir