Govspeak content example

Youtube embed disabled by editors

Editors can disable YouTube link enhancement by using the data-youtube-player="off" HTML attribute.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/govspeak", {} do %>
  <p><a href="https://www.youtube.com/watch?v=y6hbrS3DheU" data-youtube-player="off">Operations: a developer's guide, by Anna Shipman</a></p>
<% end %>