Skip to content

Commit

Permalink
embedded demo into website
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepThePatel committed Apr 23, 2024
1 parent 75babfb commit 3287530
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 1 addition & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@
</div>
<div class="demo-video">
<h1 style="margin-bottom: -15px;">Demo</h1>
<video width="480" height="300" controls class="responsive-video">
<source src="website_content/test_demo.mp4" type="video/mp4">
Video not supported
</video>
<p style="font-style: italic; margin-top: 10px;">This is a placeholder video*</p>
<iframe width="480" height="300" src="https://www.youtube.com/embed/9xLHzvGBA7M" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen class="responsive-video"></iframe>
</div>
</div>
<!--Scrollable Content-->
Expand Down
5 changes: 3 additions & 2 deletions website_styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ body, html {
}

.responsive-video {
width: 100%;
height: auto;
width: 480px;
height: 300px;
aspect-ratio: 1440 / 900;
margin-top: 20px;
}

Expand Down

0 comments on commit 3287530

Please sign in to comment.