Govspeak content example

Youtube embed disabled by component

How it looks (preview)

This content has a YouTube video link, where the govspeak expansion has been disabled by the render statement for the component.

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 by the render statement for the component.</p>
<p><a href="https://www.youtube.com/watch?v=y6hbrS3DheU">Operations: a developer's guide, by Anna Shipman</a></p>
<% end %>