Update templates/index.html
Browse files- templates/index.html +7 -1
templates/index.html
CHANGED
|
@@ -93,6 +93,7 @@
|
|
| 93 |
<span>Please fill out the following form</span>
|
| 94 |
</div>
|
| 95 |
<div class="home-container04">
|
|
|
|
| 96 |
<video
|
| 97 |
src="{{url_for('static',filename='./video/final.mp4')}}"
|
| 98 |
loop=""
|
|
@@ -101,7 +102,7 @@
|
|
| 101 |
autoplay=""
|
| 102 |
playsinline=""
|
| 103 |
class="home-video"
|
| 104 |
-
></video>
|
| 105 |
<div class="home-container05">
|
| 106 |
<div class="home-container06">
|
| 107 |
<form action="/predict" class="home-form" method="post">
|
|
@@ -233,5 +234,10 @@
|
|
| 233 |
data-section-id="navbar"
|
| 234 |
src="https://unpkg.com/@teleporthq/teleport-custom-scripts"
|
| 235 |
></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
</body>
|
| 237 |
</html>
|
|
|
|
| 93 |
<span>Please fill out the following form</span>
|
| 94 |
</div>
|
| 95 |
<div class="home-container04">
|
| 96 |
+
<div id="videoA">
|
| 97 |
<video
|
| 98 |
src="{{url_for('static',filename='./video/final.mp4')}}"
|
| 99 |
loop=""
|
|
|
|
| 102 |
autoplay=""
|
| 103 |
playsinline=""
|
| 104 |
class="home-video"
|
| 105 |
+
></video></div>
|
| 106 |
<div class="home-container05">
|
| 107 |
<div class="home-container06">
|
| 108 |
<form action="/predict" class="home-form" method="post">
|
|
|
|
| 234 |
data-section-id="navbar"
|
| 235 |
src="https://unpkg.com/@teleporthq/teleport-custom-scripts"
|
| 236 |
></script>
|
| 237 |
+
<script>
|
| 238 |
+
const div = document.getElementById('videoA');
|
| 239 |
+
|
| 240 |
+
div.innerHTML = '<img src="aa.gif" class="home-video"/>'
|
| 241 |
+
</script>
|
| 242 |
</body>
|
| 243 |
</html>
|