Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
af35d461
Commit
af35d461
authored
Sep 24, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set max-height for embedded videos.
Also udpate markup to not use `<source>`. updates #1189
parent
b9c6a29f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
dist/converse.js
dist/converse.js
+2
-2
fullscreen.html
fullscreen.html
+1
-0
src/templates/video.html
src/templates/video.html
+1
-1
No files found.
dist/converse.js
View file @
af35d461
...
@@ -81419,9 +81419,9 @@ return __p
...
@@ -81419,9 +81419,9 @@ return __p
var _ = {escape:__webpack_require__(/*! ./node_modules/lodash/escape.js */ "./node_modules/lodash/escape.js")};
var _ = {escape:__webpack_require__(/*! ./node_modules/lodash/escape.js */ "./node_modules/lodash/escape.js")};
module.exports = function(o) {
module.exports = function(o) {
var __t, __p = '', __e = _.escape;
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) +
__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.url) +
'">' +
'">' +
__e(o.label_download) +
__e(o.label_download) +
fullscreen.html
View file @
af35d461
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
<noscript><p><img
src=
"//stats.opkode.com/piwik.php?idsite=5"
style=
"border:0;"
alt=
""
/></p></noscript>
<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/converse.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"css/fullpage.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>
<script
src=
"dist/converse.js"
></script>
</head>
</head>
<body
class=
"reset"
>
<body
class=
"reset"
>
...
...
src/templates/video.html
View file @
af35d461
<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>
<a
target=
"_blank"
rel=
"noopener"
href=
"{{{o.url}}}"
>
{{{o.label_download}}}
</a>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment