mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-08-08 09:12:26 +02:00
fix youtube embeds
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user