mirror of
https://github.com/searxng/searxng.git
synced 2026-01-02 09:00:03 +00:00
[mod] result_templates/videos.html: replace embedded HTML by data_src
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in the templates (oscar & simple) and result parameter 'embedded' is replaced by 'data_src', an URL for embedded content (<iframe>). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -300,6 +300,12 @@ article[data-vim-selected].category-social {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.result-videos .embedded-video iframe {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
padding: 10px 0 0 0;
|
||||
}
|
||||
|
||||
.engines {
|
||||
.ltr-float-right();
|
||||
color: var(--color-result-engines-font);
|
||||
|
||||
Reference in New Issue
Block a user