Commit eed694b7 authored by Eriksson Monteiro's avatar Eriksson Monteiro

update tangled video play

parent 1471dc5e
...@@ -140,6 +140,10 @@ ...@@ -140,6 +140,10 @@
--control-pulse-color: rgba(224, 224, 224, 0.4); --control-pulse-color: rgba(224, 224, 224, 0.4);
} }
.hidden {
visibility: hidden;
}
.pulse { .pulse {
display: block; display: block;
width: 32px; width: 32px;
...@@ -195,65 +199,18 @@ ...@@ -195,65 +199,18 @@
} }
} }
.fade-in { .fade {
opacity: 1; -webkit-transition: all 1s ease;
animation: fadeIn ease 1s; transition: all 1s ease;
-webkit-animation: fadeIn ease 1s;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.fade-out {
opacity: 0;
animation: fadeOut ease 1s;
-webkit-animation: fadeOut ease 1s;
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-webkit-keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
} }
</style> </style>
<link rel="stylesheet" href="fontawesome.css"> <link rel="stylesheet" href="fontawesome.css">
<template is="dom-if" if="[[showLogo_]]" restamp> <template is="dom-if" if="[[showLogo_]]" restamp>
<div id="logo_container"> <div id="logo_container">
<!--i class="pulse far fa-play-circle" id="video_control" on-click="onPlayClick_"></i--> <i class="pulse far fa-play-circle" id="video_control" on-click="onPlayClick_"></i>
<div id="logo" class="fade-in"></div> <div id="logo" class="fade"></div>
<!--video id="video" preload="auto" height="284" class="fade-out"> <video id="video" preload="auto" height="284" class="fade hidden">
<source src="./icons/tangled_browser.mp4" type="video/mp4"> <source src="./icons/tangled_browser.mp4" type="video/mp4">
</video--> </video>
</div> </div>
</template> </template>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment