aboutsummaryrefslogtreecommitdiff
path: root/app/views/index.view.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2021-12-20 00:15:55 -0500
committerThedro Neely <thedroneely@gmail.com>2021-12-20 00:15:55 -0500
commitb61852cf6f84245b12fbbaa6d304e45bc7b477c2 (patch)
tree9ebc162431c1d069537625e95c0cb863575a7c4c /app/views/index.view.php
parent5f02b94b5b5626276f3ab30e9d0bfee4c200d8e1 (diff)
downloadthedroneely.com-b61852cf6f84245b12fbbaa6d304e45bc7b477c2.tar.gz
thedroneely.com-b61852cf6f84245b12fbbaa6d304e45bc7b477c2.tar.bz2
thedroneely.com-b61852cf6f84245b12fbbaa6d304e45bc7b477c2.zip
app/views/index: Swap landing image for looping video image
Diffstat (limited to 'app/views/index.view.php')
-rw-r--r--app/views/index.view.php20
1 files changed, 4 insertions, 16 deletions
diff --git a/app/views/index.view.php b/app/views/index.view.php
index b7636c1..dd03d12 100644
--- a/app/views/index.view.php
+++ b/app/views/index.view.php
@@ -23,22 +23,10 @@
In it for the long haul
</h2>
- <?php
- $width = getimagesize($_SERVER['DOCUMENT_ROOT'] . '/images/mountains.jpg')[0];
- $height = getimagesize($_SERVER['DOCUMENT_ROOT'] . '/images/mountains.jpg')[1];
- $ratio = ((($height / $width) * 100) > 100) ? $height . 'px' : $height / $width * 100 . '%';
- ?>
-
- <figure>
- <a href="/images/mountains.jpg" onclick="return false;">
- <div style="<?php echo 'padding-bottom:' . $ratio . ';'; ?>">
- <img data-image-zoom alt="Mountains" src="/images/mountains.jpg"
- width="<?php echo $width; ?>"
- height="<?php echo $height; ?>"
- >
- </div>
- </a>
- </figure>
+ <video preload="none" poster="/images/pipes.png" width="732" height="" autoplay="true" loop="true" muted="true">
+ <source src="/videos/pipes.mp4" type="video/mp4">
+ Your browser does not support the video tag.
+ </video>
<div class="content">