diff --git a/site/_layouts/home.html b/site/_layouts/home.html index 589085c..c9c5d6c 100644 --- a/site/_layouts/home.html +++ b/site/_layouts/home.html @@ -83,12 +83,11 @@ function write(position){ } var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); -var homeVideo = document.getElementById('videoHome'); -if (!isChrome) { - homeVideo.play(); +if (isChrome) { document.getElementById('foolChrome').remove(); + var homeVideo = document.getElementById('videoHome'); homeVideo.muted = true; homeVideo.play(); } diff --git a/site/index.html b/site/index.html index 97af182..a104592 100644 --- a/site/index.html +++ b/site/index.html @@ -8,7 +8,7 @@ title: Home page -