YouTube videos can be embedded into sites. Below are an example and an explanation of how to add a YouTube video to your own sites and posts.
Code / Usage Example
Shortcode Example:
Code
[youtube title="Video: The Allegheny College Experience" id="JpaZRYhXmO4"]
Attributes
- Id: Take the “id” from the URL of the video, for example: youtube.com/watch?v=JpaZRYhXmO4. In the previous example “JpaZRYhXmO4” is the id.
- Title: The title is important for accessibility reasons, so a description of the video is read to those with certain disabilities.