youtube-seo shortcode allows you to easily embed YouTube videos in your documentation with proper styling and responsive behavior.
When to Use
Use theyoutube-seo shortcode whenever you need to embed a YouTube video in your documentation, such as:
- Product demonstrations
- Tutorial walkthroughs
- Conference presentations
- Webinar recordings
- Feature explanations
Basic Usage
To embed a YouTube video, simply use the shortcode with the video ID:VIDEO_ID with the actual YouTube video ID (the part after v= in a YouTube URL) and Video Title with a descriptive title for the video.
Example
Parameters
The shortcode supports several parameters:Responsive Behavior
The embedded video will:- Be centered on the page
- Maintain its aspect ratio on all screen sizes
- Have appropriate margin spacing above and below
- Appear at a comfortable size (640x360 by default)