LP6 Style Guide: Video page Template = lp6-docs

YouTube

YouTube video embeds should use the standard iframe embed code available from YouTube. However, they need to be enclosed in a container with the video-embed class so that we can allow for responsive sizing. Make sure the iframe src has the following parameters set as well:

  • enablejsapi=1
  • origin=https:%2F%2Finfo.rasmussen.edu

HTML Example Snippet

				
	<div class="video-player video-embed">
		<div class="embed">
			<iframe allowfullscreen="" src="//www.youtube.com/embed/rZbm620GtsE?enablejsapi=1&origin=https:%2F%2Finfo.rasmussen.edu" frameborder="0"></iframe>
		</div>
	</div>