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

Govspeak content example

With youtube embed

How to call this example

<%= render "govuk_component/govspeak" {
  content: "<p>This content has a YouTube video link, converted to an accessible embedded player by component JavaScript.</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, converted to an accessible embedded player by component JavaScript.

Operations: a developer's guide, by Anna Shipman