youtube/cgi: spacing and improvements for dillo and text browsers - frontends -… | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f7f7290735a250cf03e1a9aa49c0d25b6b326756 | |
parent ea9a40e5f85023d9c8c608ef922ac2d5ca0ca78b | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 26 Feb 2023 14:11:34 +0100 | |
youtube/cgi: spacing and improvements for dillo and text browsers | |
Diffstat: | |
M youtube/cgi.c | 12 +++++++----- | |
1 file changed, 7 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/youtube/cgi.c b/youtube/cgi.c | |
@@ -323,14 +323,16 @@ render_video(struct video_response *r) | |
OUT("<hr/>\n"); | |
- OUT("<center><a href=\"https://www.youtube.com/embed/"); | |
+ OUT("<table class=\"video\" border=\"0\" cellpadding=\"0\" cellspacing… | |
+ OUT("<tbody>\n"); | |
+ | |
+ OUT("<tr><td colspan=\"2\"><center>\n"); | |
+ OUT("<a href=\"https://www.youtube.com/embed/"); | |
xmlencode(r->id); | |
OUT("\"><img src=\"https://i.ytimg.com/vi/"); | |
xmlencode(r->id); | |
- OUT("/hqdefault.jpg\" alt=\"\" border=\"0\" /></a></center>\n"); | |
- | |
- OUT("<table class=\"video\" border=\"0\" cellpadding=\"0\" cellspacing… | |
- OUT("<tbody>\n"); | |
+ OUT("/hqdefault.jpg\" alt=\"\" border=\"0\" /></a>\n"); | |
+ OUT("</center><br/></td></tr>\n"); | |
OUT("<tr><td><b>Title:</b></td><td>"); | |
OUT("<a href=\"https://www.youtube.com/embed/"); |