Add video description text
This commit is contained in:
parent
f3e021ddd3
commit
ded726757a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ async function getVideos(window) {
|
||||||
"<tr><td>" +
|
"<tr><td>" +
|
||||||
"<a href='" + window.config.peertube_api + "/../.." + video.embedPath + "'><img src='" + window.config.peertube_api + "/../.." + video.thumbnailPath + "'></a>" +
|
"<a href='" + window.config.peertube_api + "/../.." + video.embedPath + "'><img src='" + window.config.peertube_api + "/../.." + video.thumbnailPath + "'></a>" +
|
||||||
"</td><td>" +
|
"</td><td>" +
|
||||||
"<a href='" + window.config.peertube_api + "/../.." + video.embedPath + "'>" + video.name + "</a>" +
|
"<a href='" + window.config.peertube_api + "/../.." + video.embedPath + "'>" + video.name + "</a><br>" + video.description.replace(/^\s*\n/gm, "").replace(/(?:\r\n|\r|\n)/g, '<br>') +
|
||||||
"</td></tr>"
|
"</td></tr>"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue