外掛標籤
開發者團隊
② 後台搜尋「VidDefer – Deferred Video Embeds」→ 直接安裝(推薦)
原文外掛簡介
VidDefer – Deferred Video Embeds replaces heavy video embeds with lightweight thumbnail placeholders. The real video only loads when a visitor clicks (or scrolls to) it — saving hundreds of kilobytes per page load.
Supported Sources
YouTube — replaces iframes with thumbnail + play button
Vimeo — replaces iframes with thumbnail + play button
Self-hosted videos — replaces
Key Features
Zero configuration — install, activate, done
Click-to-load or scroll-triggered loading
YouTube thumbnail quality control (SD / HQ / Max)
3 play button styles: YouTube-style, Circle, Minimal
Custom play button & overlay colours
GDPR / privacy notice overlay
Exclude specific pages by ID or videos by CSS class
No jQuery — pure ES6, < 2KB gzipped
Works with Gutenberg, Elementor, Divi, WPBakery
WCAG 2.1 keyboard-accessible placeholders
Caches Vimeo thumbnails via WordPress transients
External services
This plugin can connect to external video services to display lazy-loaded video thumbnails and metadata.
YouTube
When YouTube lazy loading is enabled, the plugin uses YouTube’s public thumbnail CDN to display thumbnail images for YouTube videos. The visitor’s browser requests the thumbnail image from YouTube when a lazy-loaded YouTube placeholder is displayed. The request includes the YouTube video ID in the thumbnail URL and may include normal browser request data such as the visitor’s IP address and user agent.
This service is provided by YouTube LLC. Terms of Service: https://www.youtube.com/t/terms Privacy Policy: https://policies.google.com/privacy
Vimeo
When Vimeo lazy loading is enabled, the plugin optimizes page performance by replacing heavy video players with a lightweight placeholder image. To generate this placeholder, your WordPress server makes a secure background request to Vimeo’s public oEmbed API to fetch the video’s thumbnail URL and, optionally, its title. To minimize external requests and maximize site speed, this data is automatically cached locally using WordPress transients, meaning the server only contacts Vimeo when the metadata isn’t already saved.
During this brief server-to-server connection, your site shares minimal, standard data with Vimeo to fulfill the request. This includes the specific Vimeo video URL (which contains the video ID) and a standard User-Agent string identifying your website’s URL alongside the plugin’s name and version. No personal user data is transmitted, making it a seamless and privacy-conscious way to boost your site’s loading times.
This service is provided by Vimeo.com, Inc. Terms of Service: https://vimeo.com/terms Privacy Policy: https://vimeo.com/privacy
