mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
20 lines
415 B
JavaScript
20 lines
415 B
JavaScript
import React from 'react';
|
|
|
|
const YoutubeEmbed = ({ link }) => {
|
|
return (
|
|
<div className="video-responsive">
|
|
<iframe
|
|
width="750"
|
|
title="Youtube"
|
|
height="422"
|
|
src={link}
|
|
frameBorder="0"
|
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
allowFullScreen
|
|
></iframe>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default YoutubeEmbed;
|