Skip to content

Commit dd78ee4

Browse files
committed
Update oembed.js
1 parent 8caca20 commit dd78ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/oembed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function handler(request, response) {
1515

1616
html = `
1717
<oembed>
18-
<html><iframe src="`+ url +`/api/link?url=`+ query.url +`&embed=true" width="700" height="480" allow="accelerometer; camera; encrypted-media; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write" allowfullscreen="true" allowpaymentrequest="true" loading="lazy" sandbox="allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation" scrolling="yes" frameborder="0"></iframe></html>
18+
<html><iframe src="`+ url +`/api/link?url=`+ query.url +`&embed=true" width="700" height="480" style="border-radius: 10px;" allow="accelerometer; camera; encrypted-media; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write" allowfullscreen="true" allowpaymentrequest="true" loading="lazy" sandbox="allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation" scrolling="yes" frameborder="0"></iframe></html>
1919
<width>700</width>
2020
<height>480</height>
2121
</oembed>

0 commit comments

Comments
 (0)