Video

Description

Provides responsive video support for both embedded videos (YouTube/Vimeo) and local HTML5 videos. YouTube and Vimeo iframes are automatically enhanced with responsive containers, while local videos receive responsive styling.

Usage

For YouTube/Vimeo: Use iframe elements - they're automatically detected and enhanced. For local videos: Use HTML5 <video> elements with optional <figure class="video"> containers.

Available Options

Examples

Basic YouTube Video

This YouTube video is automatically wrapped in a responsive container.

YouTube Video with Caption

This video demonstrates proper seating techniques for ergonomic comfort.

Square Aspect Ratio Video

This video is displayed in a square aspect ratio using the .square class.

Vimeo Video

Vimeo videos are also automatically wrapped in responsive containers.

Video in Activity Container

Video Learning Activity

Learning Objectives

After watching this video, you should be able to:

  • Understand the key concepts presented
  • Apply the techniques shown
  • Identify common mistakes to avoid

Multiple Videos Side by Side

Video 1: Introduction
Video 2: Advanced Topics

Video with Custom Embed Code

This video includes additional attributes for enhanced security and mobile support.

Local HTML5 Video

This local video gets responsive styling but no automatic figure wrapping.

Local Video with Figure Container

Local video with manual figure container and video icon

Local Video with Multiple Sources

Safety Training Video

This video covers workplace safety fundamentals with multiple format support.

  • Duration: 10 minutes
  • Formats: MP4, WebM, OGG
  • Quality: HD

Notes