Skip to content

Instantly share code, notes, and snippets.

@metahertz
Created March 9, 2017 16:59
Show Gist options
  • Save metahertz/33fb6fada3df6cf725f1187d68d36e44 to your computer and use it in GitHub Desktop.
Save metahertz/33fb6fada3df6cf725f1187d68d36e44 to your computer and use it in GitHub Desktop.
Example of LearningLab HTML embedding
Docker 101 (Example demonstrating embedded video)
# Objective
This learning lab will introduce you blah blah blah, it's not a real learning lab, it just shows how the learning lab backend will notice a HTML snippet and parse it correctly in the output.
In this case, the example embeds a youtube video directly into the learning lab page.
Completion time: 5 minutes
# Embedded video below
This is markdown, but the next line is the embedded HTML snippet.
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto;">
<iframe src="https://www.youtube.com/embed/X5Dv3SFBWrg" frameborder="0" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>
</div>
# Audience
* DevOps engineers
* Application developers
* IT teams addressing the developer need for Docker and Containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment