Skip to content

Commit

Permalink
added video posters for slow video loading
Browse files Browse the repository at this point in the history
  • Loading branch information
MattRoweEAIF committed Mar 20, 2024
1 parent 2f5eb04 commit cd5ce60
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ <h1 class="ecosystem-title"> CARLA Ecosystem</h1>
technology that <strong>safely anticipates human behavior</strong>.</p>
</div>
<div class="page-flex-item">
<video class="iai-video" autoplay="autoplay" muted loop="loop"
<video class="iai-video"
autoplay="autoplay"
muted
loop="loop"
poster="./video/iai_video_poster.png"
src="./video/iai-pipeline.mp4" playsinline=""
style="margin: auto; display:block;"></video>
</div>
Expand Down Expand Up @@ -468,8 +472,12 @@ <h2>Real time RADAR</h2>
</p>
</div>
<div class="page-flex-item">
<video class="iai-video" autoplay="autoplay" muted loop=""
src="https://www.ptvgroup.com/sites/default/files/2023-08/ptvgroup-company-profile-header.mp4"
<video class="iai-video"
autoplay="autoplay"
muted
loop=""
poster="./video/ptv_video_poster.png"
src="./video/ptvgroup-company-profile-header.mp4"
playsinline="" style="margin: auto; display:block;"></video>
</div>
<div class="page-flex-item">
Expand Down
Binary file modified video/iai-pipeline.mp4
Binary file not shown.
Binary file added video/iai_video_poster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added video/ptv_video_poster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added video/ptvgroup-company-profile-header.mp4
Binary file not shown.

0 comments on commit cd5ce60

Please sign in to comment.