Move video size to css
This commit is contained in:
parent
20415a2edb
commit
fe51c6d7e7
@ -1449,6 +1449,11 @@ button.collapse-network:first-child:nth-last-child(3) {
|
|||||||
max-width: 100%;
|
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
|
/* 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) */
|
part/quit messages where we don't load previews (adds a blank line otherwise) */
|
||||||
#chat .preview:empty {
|
#chat .preview:empty {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</audio>
|
</audio>
|
||||||
{{/equal}}
|
{{/equal}}
|
||||||
{{#equal type "video"}}
|
{{#equal type "video"}}
|
||||||
<video width="320" height="240" preload="metadata" controls>
|
<video preload="metadata" controls>
|
||||||
<source src="{{link}}" type="{{res}}">
|
<source src="{{link}}" type="{{res}}">
|
||||||
Your browser does not support the video element.
|
Your browser does not support the video element.
|
||||||
</video>
|
</video>
|
||||||
|
Loading…
Reference in New Issue
Block a user