Set max-height for embedded videos.
Also udpate markup to not use `<source>`. updates #1189
This commit is contained in:
parent
b9c6a29fdf
commit
af35d461e8
4
dist/converse.js
vendored
4
dist/converse.js
vendored
@ -81419,9 +81419,9 @@ return __p
|
||||
var _ = {escape:__webpack_require__(/*! ./node_modules/lodash/escape.js */ "./node_modules/lodash/escape.js")};
|
||||
module.exports = function(o) {
|
||||
var __t, __p = '', __e = _.escape;
|
||||
__p += '<!-- src/templates/video.html -->\n<video controls><source src="' +
|
||||
__p += '<!-- src/templates/video.html -->\n<video controls src="' +
|
||||
__e(o.url) +
|
||||
'" type="video/mp4"></video>\n<a target="_blank" rel="noopener" href="' +
|
||||
'" type="video/mp4" style="max-height: 50vh"></video>\n<a target="_blank" rel="noopener" href="' +
|
||||
__e(o.url) +
|
||||
'">' +
|
||||
__e(o.label_download) +
|
||||
|
@ -9,6 +9,7 @@
|
||||
<noscript><p><img src="//stats.opkode.com/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript>
|
||||
<link type="text/css" rel="stylesheet" media="screen" href="css/converse.css" />
|
||||
<link type="text/css" rel="stylesheet" media="screen" href="css/fullpage.css" />
|
||||
<script src="3rdparty/libsignal-protocol.js"></script>
|
||||
<script src="dist/converse.js"></script>
|
||||
</head>
|
||||
<body class="reset">
|
||||
|
@ -1,2 +1,2 @@
|
||||
<video controls><source src="{{{o.url}}}" type="video/mp4"></video>
|
||||
<video controls src="{{{o.url}}}" type="video/mp4" style="max-height: 50vh"></video>
|
||||
<a target="_blank" rel="noopener" href="{{{o.url}}}">{{{o.label_download}}}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user