fix: Update Arcade embed aspect ratio (#12923)
This commit is contained in:
@@ -52,10 +52,25 @@ mp4:
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
||||
arcade_tab:
|
||||
regex: 'https?://(?:www\.)?app\.arcade\.software/share/(?<video_id>[^&/?]+)\?(?:[^&#]*&)*embed_mobile=tab(?:[&#?][^ ]*)?'
|
||||
template: |
|
||||
<div style="position: relative; padding-bottom: calc(62.793% + 41px); height: 0px; width: 100%;">
|
||||
<iframe
|
||||
src="https://app.arcade.software/embed/%{video_id}?embed&embed_mobile=tab"
|
||||
frameborder="0"
|
||||
webkitallowfullscreen
|
||||
mozallowfullscreen
|
||||
allowfullscreen
|
||||
allow="fullscreen"
|
||||
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
arcade:
|
||||
regex: 'https?://(?:www\.)?app\.arcade\.software/share/(?<video_id>[^&/]+)'
|
||||
template: |
|
||||
<div style="position: relative; padding-bottom: 62.5%; height: 0;">
|
||||
<div style="position: relative; padding-bottom: calc(62.793% + 41px); height: 0px; width: 100%;">
|
||||
<iframe
|
||||
src="https://app.arcade.software/embed/%{video_id}"
|
||||
frameborder="0"
|
||||
|
||||
Reference in New Issue
Block a user