fix: Update Arcade embed aspect ratio (#12923)

This commit is contained in:
Sivin Varghese
2025-11-24 20:22:27 +05:30
committed by GitHub
parent e9c60aec04
commit 6a712b7592
3 changed files with 45 additions and 3 deletions

View File

@@ -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"