Skip to content

Commit

Permalink
Add YouTube embed example to Govspeak Component
Browse files Browse the repository at this point in the history
Youtube links in govspeak will be converted into an embedded video
player.

Add an example of this to the fixtures for govspeak
  • Loading branch information
David Singleton committed Dec 1, 2015
1 parent a47f079 commit 8f72fce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/govuk_component/docs/govspeak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,7 @@ fixtures:
rich_govspeak: true
content: |
<p>This content has some <strong>rich govspeak</strong></p>
with_youtube_embed:
content: |
<p>This content has a YouTube video link, converted to an accessible embedded player</p>
<p><a href="https://www.youtube.com/watch?v=y6hbrS3DheU">Operations: a developer's guide, by Anna Shipman</a></p>

0 comments on commit 8f72fce

Please sign in to comment.