revert
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-10 17:50:07 +01:00
parent 71f679c3ca
commit 4902006130

View File

@@ -39,19 +39,11 @@ export const StyledMarkdown = ({ html }: { html: string }) => {
props.node.position.start.column === 1
){
return (
<div>
<iframe
src={'https://www.youtube.com/embed/' + url.searchParams.get("v") }
width="100%"
height="100%"
allowFullScreen
>
</iframe>
</div>
<YouTube videoId={url.searchParams.get("v") || "dQw4w9WgXcQ"} />
);
}
} catch (e) {
console.log(e);
//console.log(e);
}
return <a {...props} />;