Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed poster for background video Edge product page #1492

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _layouts/thingsboard-edge.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<!-- HERO -->
<section id="hero" class="light-text"
data-vide-bg="mp4: https://video.thingsboard.io/edge-cover.mp4,
poster: /images/thingsboard-edge/preview.png"
data-vide-options="bgColor: #000000, loop: true, muted: true, posterType: jpg">
poster: https://img.thingsboard.io/pe-cover.webp"
data-vide-options="bgColor: #000000, loop: true, muted: true, posterType: webp">
<div class="video-cover"></div>
<div id="hero-content">
<span class="header-animation edge-title">ThingsBoard Edge</span>
Expand Down
4 changes: 2 additions & 2 deletions products/thingsboard-edge/thingsboard-edge.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
overflow: hidden
background: none
div:nth-child(1)
background-image: url(https://img.thingsboard.io/tb-cover.webp) !important
background-image: url(https://img.thingsboard.io/edge-cover.webp) !important
.video-cover
position: absolute
z-index: -2
Expand All @@ -25,7 +25,7 @@
background-color: #000
background-repeat: no-repeat
background-position: 50% 50%
background-image: url(https://img.thingsboard.io/tb-cover.webp)
background-image: url(https://img.thingsboard.io/edge-cover.webp)
#hero-content
height: 100%
display: flex
Expand Down
Binary file added video/edge-cover.webp
Binary file not shown.