Add video description text

This commit is contained in:
Kumi 2023-06-02 20:26:03 +02:00
parent f3e021ddd3
commit ded726757a
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -57,7 +57,7 @@ async function getVideos(window) {
"<tr><td>" +
"<a href='" + window.config.peertube_api + "/../.." + video.embedPath + "'><img src='" + window.config.peertube_api + "/../.." + video.thumbnailPath + "'></a>" +
"</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>"
);
});