Custom thumbnail poster component (#281)

* Custom thumbnail poster component

* add opacity transition to thumbnail img

* fix some videoonly styles

* move video styles to video.css

* make component out of image layers; put inline styles into css

* cleanup

* update videoonly ; don't render poster if video player, remove dom modification in player

* revert interval

Co-authored-by: Ginger Wong <omqmail@gmail.com>
This commit is contained in:
Gabe Kangas
2020-10-22 14:14:44 -07:00
committed by GitHub
parent 2f37df61f2
commit 2839a5e236
8 changed files with 200 additions and 71 deletions

View File

@@ -13,6 +13,7 @@ The styles in this file mostly ovveride those coming from chat.css
background-size: 30%;
width: 100%;
height: calc((9 / 16) * 100vw);
position: relative;
}
#video-only #video-container #video {
transition: opacity .5s;