mirror of
https://github.com/thelounge/thelounge
synced 2024-11-29 23:40:28 +00:00
Move video size to css
This commit is contained in:
parent
20415a2edb
commit
fe51c6d7e7
2 changed files with 6 additions and 1 deletions
|
@ -1449,6 +1449,11 @@ button.collapse-network:first-child:nth-last-child(3) {
|
|||
max-width: 100%;
|
||||
}
|
||||
|
||||
#chat video {
|
||||
max-width: 640px;
|
||||
max-height: 240px;
|
||||
}
|
||||
|
||||
/* Do not display an empty div when there are no previews. Useful for example in
|
||||
part/quit messages where we don't load previews (adds a blank line otherwise) */
|
||||
#chat .preview:empty {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</audio>
|
||||
{{/equal}}
|
||||
{{#equal type "video"}}
|
||||
<video width="320" height="240" preload="metadata" controls>
|
||||
<video preload="metadata" controls>
|
||||
<source src="{{link}}" type="{{res}}">
|
||||
Your browser does not support the video element.
|
||||
</video>
|
||||
|
|
Loading…
Reference in a new issue