mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-17 21:31:43 +01:00
fix youtube embeds
This commit is contained in:
parent
9ca18b1659
commit
2c307aeae0
@ -32,7 +32,7 @@ const embeds: {
|
||||
render: (match) => (
|
||||
<AspectRatio ratio={16 / 10} maxWidth="30rem">
|
||||
<iframe
|
||||
src={`https://www.youtube.com/embed/${match[5]}`}
|
||||
src={`https://www.youtube.com/embed/${match[4]}`}
|
||||
title="YouTube video player"
|
||||
frameBorder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
|
Loading…
x
Reference in New Issue
Block a user