mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 18:42:33 +02: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:
parent
a4942213a1
commit
46e131fdad
10 changed files with 23 additions and 66 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue