1. Static Component Guide
  2. Govspeak content
  3. With youtube embed disabled

Govspeak content example

With youtube embed disabled

How to call this example

<%= render "govuk_component/govspeak" {
  disable_youtube_expansions: true,
  content: "<p>This content has a YouTube video link, where the govspeak expansion has been disabled</p>
    <p><a href=\"https://www.youtube.com/watch?v=y6hbrS3DheU\">Operations: a developer's guide, by Anna Shipman</a></p>
    "
} %>

How it looks

This content has a YouTube video link, where the govspeak expansion has been disabled

Operations: a developer's guide, by Anna Shipman