Add youtube icon, move movie to the top
This commit is contained in:
parent
4996a8f05a
commit
3d299983e1
2 changed files with 79 additions and 12 deletions
|
@ -251,19 +251,24 @@
|
|||
"maxZoom": 16,
|
||||
"minNeededElements": 100
|
||||
},
|
||||
"roamingRenderings": [
|
||||
{
|
||||
"render": "Maakt deel uit van {_part_of_walking_routes}",
|
||||
"condition": "_part_of_walking_routes~*"
|
||||
},
|
||||
{
|
||||
"freeform": {
|
||||
"key": "_video:id"
|
||||
},
|
||||
"render": "<iframe style='width: 100%; height: 300px' src=\"https://www.youtube-nocookie.com/embed/{_video:id}\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>"
|
||||
}
|
||||
],
|
||||
"overrideAll": {
|
||||
"+tagRenderings": [
|
||||
{
|
||||
"render": "Maakt deel uit van {_part_of_walking_routes}",
|
||||
"condition": "_part_of_walking_routes~*"
|
||||
},
|
||||
{
|
||||
"freeform": {
|
||||
"key": "_video:id"
|
||||
},
|
||||
"render": "<iframe style='width: 100%; height: 300px' src=\"https://www.youtube-nocookie.com/embed/{_video:id}\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>"
|
||||
}
|
||||
],
|
||||
"+iconOverlays": [{
|
||||
"if": "_video:id~*",
|
||||
"then": "./assets/themes/speelplekken/youtube.svg",
|
||||
"badge": true
|
||||
}],
|
||||
"isShown": {
|
||||
"render": "yes",
|
||||
"mappings": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue