2
0

embedmedia.rst 1019 B

12345678910111213141516171819202122232425262728293031
  1. Embed Media Block
  2. =================
  3. The embed media block allows users to embed media like YouTube videos or SoundCloud with just a link
  4. to the external media source.
  5. Example:
  6. .. figure:: images/embed_media_preview.jpeg
  7. :alt: How it displays on the page.
  8. Field Reference
  9. ---------------
  10. Fields and purposes:
  11. * **URL** - The URL for the external media, whether it's a tweet, Facebook post, YouTube video, etc.
  12. .. note::
  13. Add an external media link like this YouTube video about a 48 deployment on the CodeRed Hosting platform: `<https://www.youtube.com/watch?v=hzuqZnw4lQ4>`_ .
  14. * **Advanced Settings** - Add custom CSS classes or a CSS ID to style the embed with your custom CSS
  15. .. figure:: images/embed_media_block.jpeg
  16. :alt: An embed media block with fields.
  17. An embed media block with its fields.
  18. .. note::
  19. You can use Bootstrap utility classes like ``w-50`` on your embeds. The size of the video
  20. also changes depending on whether it's in a full-width column or a half-column, etc.