Media Embed Custom Element Todo! VanillaJS only Web Component. To use, simply add the script to your HTML document and use the <media-embed> tag. An src attribute with the link to the YouTube or Vimeo video you'd like to render is required.