Skip to content

Commit

Permalink
add dimensionless content options
Browse files Browse the repository at this point in the history
  • Loading branch information
areynold committed Aug 27, 2024
1 parent 6233e99 commit 595fb44
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
26 changes: 24 additions & 2 deletions builder/versions/ilw-video-short.1.0.0-alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"name": "short",
"description": "Overriding the default aspect ratio for a single YouTube short.",
"text": "<iframe width='467' height='831' src='https://www.youtube.com/embed/6kIIFYwIU5w' title='Cheers to the start of an #ILLINOIS summer ☀️ #summer #solstice #shorts' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share' referrerpolicy='strict-origin-when-cross-origin' allowfullscreen></iframe>"
},
{
"name": "short (dimensionless)",
"description": "Overriding the default dimensions for a single YouTube short.",
"text": "<iframe src='https://www.youtube.com/embed/6kIIFYwIU5w' title='Cheers to the start of an #ILLINOIS summer ☀️ #summer #solstice #shorts' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share' referrerpolicy='strict-origin-when-cross-origin' allowfullscreen></iframe>"
}
],
"attributes-fixed": [],
Expand All @@ -26,8 +31,25 @@
"name": "aspectRatio",
"description": "Override the aspect ratio variable on a single item.",
"values": [
"9/16",
""
"9/16"
]
},
{
"name": "height",
"description": "Override the default video height.",
"values": [
"",
"831",
"444"
]
},
{
"name": "width",
"description": "Override the default video width.",
"values": [
"",
"467",
"250"
]
}
],
Expand Down
23 changes: 23 additions & 0 deletions builder/versions/ilw-video.1.0.0-alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"name": "mediaspace",
"description": "Default 16:9 embedded Mediaspace video.",
"text": "<iframe id='kmsembed-1_s61j2nnf' width='640' height='394' src='https://mediaspace.illinois.edu/embed/secure/iframe/entryId/1_s61j2nnf/uiConfId/26883701/pbc/33485061/st/0' class='kmsembed' allowfullscreen webkitallowfullscreen mozAllowFullScreen allow='autoplay *; fullscreen *; encrypted-media *' referrerPolicy='no-referrer-when-downgrade' sandbox='allow-downloads allow-forms allow-same-origin allow-scripts allow-top-navigation allow-pointer-lock allow-popups allow-modals allow-orientation-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation' frameborder='0' title='150 Years of Illinois: A Holiday Greeting from the Chancellor'></iframe>"
},
{
"name": "youtube (dimensionless)",
"description": "Overriding the default dimensions for a single YouTube video.",
"text": "<iframe src='https://www.youtube-nocookie.com/embed/pW8cNXyAqyI?si=X9643WrgKwDm0BTw' title='Progress isn't Quiet at Illinois' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share' referrerpolicy='strict-origin-when-cross-origin' allowfullscreen></iframe>"
}
],
"attributes-fixed": [],
Expand All @@ -34,6 +39,24 @@
"",
"197/320"
]
},
{
"name": "height",
"description": "Override the height on a single item.",
"values": [
"",
"315",
"450"
]
},
{
"name": "width",
"description": "Override the width on a single item.",
"values": [
"",
"560",
"800"
]
}
],
"classes-fixed": [],
Expand Down

0 comments on commit 595fb44

Please sign in to comment.