feat: play stream with zap.stream embed

This commit is contained in:
2024-01-22 11:32:50 +00:00
parent d1ebd49d56
commit 45fbd06bff
11 changed files with 35 additions and 12 deletions

View File

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