SK Playlist Embed
·
Embed YouTube playlists and channel videos in responsive grid, list, and card layouts with caching, auto-refresh, and SEO-friendly display.
SK Playlist Embed lets you display YouTube channel videos and playlists on your WordPress site using the YouTube Data API v3. Choose from grid or list layouts with flexible columns (1-5), frontend pagination, and a centered video modal.
Features:
- Display videos from any YouTube channel or playlist
- Two layout options: Grid and List
- Flexible columns (1-5) in grid layout
- Responsive design — desktop, tablet, and mobile
- Lightbox modal with autoplay
- Lazy loading for optimal performance
- Transient-based caching with configurable duration
- WP-Cron auto-refresh support
- Daily scheduled cache refresh
- REST API endpoints for admin operations
- Live preview in the admin settings
- SEO-friendly markup
- Shortcode:
[skplem type="channel|playlist" id="YOUR_ID"]
Obtaining a YouTube API Key
- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Enable the YouTube Data API v3.
- Go to Credentials and create an API key.
- Copy the key and paste it in the plugin settings.
Shortcode Usage
Basic usage:
[skplem type="channel" id="UC_CHANNEL_ID"]
With all options:
[skplem type="playlist" id="PL_PLAYLIST_ID" layout="grid" columns="3" max="12" thumbnail="medium" title="yes" description="yes" show_count="yes" paginate="yes" per_page="12"]
Attributes:
type—channelorplaylist(required)id— YouTube channel ID or playlist ID (required)layout—gridorlist(default: from settings)columns— 1 to 5 (default: from settings)max— max videos to show, 1 to 50 (default: from settings)thumbnail—default,medium, orhigh(default: from settings)title—yesornodescription—yesornoshow_count—yesornopaginate—yesornoper_page— videos per page (default: 12)
External Services
This plugin uses the YouTube Data API v3 (operated by Google) to fetch video metadata from YouTube channels and playlists.
Data sent: When you enter a Channel ID or Playlist ID, the plugin sends that ID along with your API key to the YouTube Data API v3 to retrieve video titles, descriptions, thumbnails, and publish dates. No personal data is transmitted.
Service links: * YouTube Terms of Service * Google Privacy Policy * YouTube Data API v3 Documentation