Skip to content

Commit 6be2d81

Browse files
Update html.utils.ts
1 parent b621c92 commit 6be2d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webembeds-core/src/utils/html.utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const wrapHTML = (oembedResponse: OEmbedResponseType,
101101
iframe.attr("class", "webembed-iframe");
102102

103103
$("iframe").wrap(
104-
`<div class="webembed-wrapper" style="position: relative;overflow: hidden; padding-top: ${paddingTop * 100}%;"></div>`,
104+
`<div class="webembed-wrapper" style="position: relative;overflow: hidden; padding-top: 56.25%;"></div>`,
105105
);
106106
}
107107

0 commit comments

Comments
 (0)