---
interface Props {
  id: string;
}
---

<iframe
  width="420"
  height="315"
  src={`https://www.youtube.com/embed/${Astro.props.id}`}></iframe>

<style>
  iframe {
    border: none;
    width: 100%;
    height: 315px;
    border-radius: 10px;
  }
</style>
