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

With youtube embed disabled

How it looks (preview)

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

Operations: a developer's guide, by Anna Shipman

How to call this example

<%= render "govuk_publishing_components/components/govspeak", {
  disable_youtube_expansions: true
} do %>
  <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>
<% end %>