fix: iframe credentialless

This commit is contained in:
2024-01-19 23:58:46 +00:00
parent 9ceb3c705f
commit d1972542b7
9 changed files with 9 additions and 2 deletions

View File

@ -47,6 +47,7 @@ export default function HyperText({ link, depth, showLinkPreview, children }: Hy
if (youtubeId) {
return (
<iframe
credentialless=""
className="-mx-4 md:mx-0 w-max my-2"
src={`https://www.youtube.com/embed/${youtubeId}`}
title="YouTube video player"