[WordPress] 外掛分享: WP YouTube Lyte

前言介紹

  • 這款 WordPress 外掛「WP YouTube Lyte」是 2010-05-21 上架。
  • 目前有 30000 個安裝啟用數。
  • 上一次更新是 2024-11-09,距離現在已有 174 天。
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 有 204 人給過評分。
  • 論壇上目前有 3 個提問,問題解答率 0%

外掛協作開發者

futtta | optimizingmatters |

外掛標籤

GDPR | video | youtube | lazy load | performance |

內容簡介

WP YouTube Lyte 可以讓您透過插入響應式「輕量級 YouTube 嵌入」方式進行「懶加載」視頻。這些看起來和感覺像是正常的 YouTube 嵌入,但只有在被點擊時才呼叫「大型」YouTube 播放器,因此在偶爾嵌入 YouTube 並且在同一頁面上有多個 YouTube 視頻時,從而顯著減少下載大小和渲染時間,從而大大提高頁面性能。該插件可以設置緩存 YouTube 縮略圖到本地,從而提高性能和隱私。因此,LYTE 嵌入的 YouTube 視頻不需要向 YouTube 服務器發出請求,可能(我不是律師)有助於更好地符合 GDPR。

該插件會偵測正常的 YouTube 鏈接,接管 WordPress 核心的 oEmbed。或者,您可以使用「httpv」替代「http(s)」添加視頻或整個播放列表,或者在側邊欄中添加 Lyte 小部件,WP YouTube Lyte 將更換該鏈接為正確性能優化代碼。以下是一些示例:

httpv://www.youtube.com/watch?v=_SQkWbRublY(普通視頻嵌入)
httpv://youtu.be/_SQkWbRublY(使用 YouTube 短鏈接的視頻嵌入)
httpa://www.youtube.com/watch?v=_SQkWbRublY(僅音頻嵌入)
httpv://www.youtube.com/playlist?list=PLA486E741B25F8E00(播放列表嵌入)
httpv://www.youtube.com/watch?v=_SQkWbRublY#stepSize=-1(視頻播放器,大小比配置為默認值的要小一號)
httpv://www.youtube.com/watch?v=_SQkWbRublY?start=20&showinfo=0(視頻播放器,從20秒開始播放並且不顯示標題)

或使用短碼:

[lyte id='_SQkWbRublY' /]
[lyte id='_SQkWbRublY' audio='true' /]
[lyte id='A486E741B25F8E00' playlist='true' /]

WP YouTube Lyte 的主要目標是優化性能,但已經在最大程度上經過測試以實現瀏覽器兼容性(包括 iPad),同時關注可訪問性。 從版本1.2.0開始,lyte embeds 是完全響應式的,並且可以自動嵌入videoObject 微數據。該插件完全支持多語言,支持加泰羅尼亞語、荷蘭語、英語、法語、德語、希伯來語、羅馬尼亞語、西班牙語和斯洛文尼亞語。

歡迎提供反饋;請見faq中的信息進行錯誤報告/功能請求,並隨時在wordpress.org上評分和/或報告相容性。

原文外掛簡介

WP YouTube Lyte allows you to “lazy load” your video’s, by inserting responsive “Lite YouTube Embeds”. These look and feel like normal embedded YouTube, but only call the “fat” YouTube-player when clicked on, thereby reducing download size & rendering time substantially when embedding YouTube occasionally and improving page performance dramatically when you’ve got multiple YouTube video’s on one and the same page. The plugin can be configured to cache YouTube thumbnails locally, improving both performance and privacy. As such LYTE embedded YouTube videos do not require requests to the YouTube servers, probably (I am not a lawyer) allowing for better GDPR-compliance.
The plugin picks up on normal YouTube links, taking over from WordPress core’s oEmbed. Alternatively you can add a YouTube-link for a video or an entire playlist with “httpv” instead of “http(s)” or add a Lyte widget to your sidebar and WP YouTube Lyte replaces that link with the correct performance-optimized code. Some examples:

httpv://www.youtube.com/watch?v=_SQkWbRublY (normal video embed)
httpv://youtu.be/_SQkWbRublY (video embed with youtube-shortlink)
httpa://www.youtube.com/watch?v=_SQkWbRublY (audio only embed)
httpv://www.youtube.com/playlist?list=PLA486E741B25F8E00 (playlist embed)
httpv://www.youtube.com/watch?v=_SQkWbRublY#stepSize=-1 (video player, one size smaller than what’s configured as default)
httpv://www.youtube.com/watch?v=_SQkWbRublY?start=20&showinfo=0 (video player, start playing at 20 seconds and don’t show title)

Or using shortcodes:
[lyte id='_SQkWbRublY' /]
[lyte id='_SQkWbRublY' audio='true' /]
[lyte id='A486E741B25F8E00' playlist='true' /]

WP YouTube Lyte has been written with optimal performance as primary goal, but has been tested for maximum browser-compatibility (iPad included) while keeping an eye on accessibility. Starting with version 1.2.0 lyte embeds are fully responsive and can automatically embed videoObject microdata as well. The plugin is fully multi-language, with support for Catalan, Dutch, English, French, German, Hebrew, Romanian, Spanish and Slovene.
Feedback is welcome; see info in the faq for bug reports/ feature requests and feel free to rate and/or report on compatibility on wordpress.org.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP YouTube Lyte」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 0.2 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.2.1 | 0.2.2 | 0.3.0 | 0.3.1 | 0.3.2 | 0.3.3 | 0.3.4 | 0.3.5 | 0.4.0 | 0.4.1 | 0.5.0 | 0.5.1 | 0.5.2 | 0.5.3 | 0.6.0 | 0.6.1 | 0.6.2 | 0.6.3 | 0.6.4 | 0.6.5 | 0.7.0 | 0.7.1 | 0.7.2 | 0.7.3 | 0.8.0 | 0.9.0 | 0.9.1 | 0.9.2 | 0.9.3 | 0.9.4 | 1.0.0 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 | 1.2.0 | 1.2.1 | 1.2.2 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.4.0 | 1.4.1 | 1.4.2 | 1.5.0 | 1.6.0 | 1.6.1 | 1.6.2 | 1.6.3 | 1.6.4 | 1.6.5 | 1.6.6 | 1.6.7 | 1.6.8 | 1.7.0 | 1.7.1 | 1.7.2 | 1.7.3 | 1.7.4 | 1.7.5 | 1.7.6 | 1.7.7 | 1.7.8 | 1.7.9 | trunk | 1.7.10 | 1.7.11 | 1.7.12 | 1.7.13 | 1.7.14 | 1.7.15 | 1.7.16 | 1.7.17 | 1.7.18 | 1.7.19 | 1.7.20 | 1.7.21 | 1.7.22 | 1.7.23 | 1.7.24 | 1.7.25 | 1.7.26 |

延伸相關外掛(你可能也想知道)

  • EWWW Image Optimizer 》你是否對緩慢的網站感到沮喪?超大的圖片讓你感到 "噁心"?讓 EWWW Image Optimizer 儘可能幫助你的網站加速,提高跳出率並增強 SEO。最重要的是,讓訪客感到...。
  • Image Optimization by Optimole – Lazy Load, CDN, Convert WebP & AVIF, Optimize Images 》, Optimole的獨特之處在哪裡?, , 更小的圖片,同樣的品質, 完全自動化;設定一次就忘記它, 支援所有圖片格式, 支援Retina和WebP圖片, 以機器學習為基礎的自...。
  • LazyLoad Plugin – Lazy Load Images, Videos, and Iframes 》LazyLoad 是最好的 WordPress 免費 Image Lazy Load 外掛程式,可以在 WordPress 上延遲載入圖片、影片和 iframes。簡單來說,LazyLoad 會在圖片、影片和 ifr...。
  • NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN 》NitroPack 是一個全方位的網站效能優化服務外掛,它包含了所有使網站加速所需的功能,包括圖片優化、代碼壓縮、快取、CDN (內容交付網路)、延遲載入等等。, ,...。
  • WordPress Infinite Scroll – Ajax Load More 》Ajax Load More是一款終極的WordPress無限滾動外掛,使用Ajax動力查詢載入文章、單篇文章、頁面、評論等等。, 使用Ajax Load More的短碼生成器建立複雜的自訂...。
  • Image Prioritizer 》### 總結:, 這個外掛通過優化圖片的加載,特別是 LCP(最大內容繪製時間)元素,包括 img 元素和帶有 CSS 背景圖像的元素。它還通過捕獲每個斷點的 LCP 元素...。
  • Load More Products for WooCommerce 》透過 AJAX 以無限滾動方式或載入更多產品按鈕,從下一頁載入產品, 功能:, ✅ WooCommerce 產品的無限滾動, ✅ 載入更多產品按鈕或 AJAX 分頁, ...。
  • Lazy Load 》使用延遲載入圖片來提升網頁載入速度。使用 jQuery.sonar 只有當圖片在 viewport 內才載入。, 這個外掛是由 WordPress.com VIP 團隊、TechCrunch 2011 重製團...。
  • ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization 》ShortPixel Adaptive Images 是一款易於使用的外掛程式,讓您能夠在一分鐘內解決任何圖像相關問題,並提高您的網站核心網頁要素。通常,圖像是網頁上最消耗資...。
  • Lazy Load for Videos 》這個外掛改善了頁面加載時間,提高了你的 Google PageSpeed 指數。它與 oEmbed 配合使用,可以將嵌入的 YouTube 和 Vimeo 視頻替換為可點擊的預覽圖片。, 通...。
  • Disable Lazy Load 》, 這個外掛只有一個功能:關閉 WP 懶加載的功能。, , 啟用此外掛以關閉新的 WP 懶加載功能(添加在 WP 版本 5.5 中)。隨時可以停用此外掛以重新啟用懶加載功...。
  • True Lazy Analytics 》這個外掛可以啟用 Google Analytics、Facebook Pixel、Hotjar、Yandex Metrica(Yandex Metrika)和 Liveinternet 時間差載入(lazy loading)。不會降低 Pag...。
  • WP2Speed Faster – Optimize PageSpeed Insights Score 90-100 》自 2010 年以來,Google 就一直將頁面速度作為排名因素之一。2018 年,Google 通過 Pagespeed 更新進一步提高了標準。網站速度會影響用戶體驗和轉換率。, 為...。
  • Ajaxify Comments – Ajax and Lazy Loading Comments 》尋找新的外掛程式維護者 👀, 請注意,此外掛程式已不再維護或支援,我們正在尋找新的外掛程式維護者(請參閱我們的公告 這裡)。 , 介紹, 預設情況下,當使用...。
  • Unveil Lazy Load 》Unveil Lazy Load 是一個 WordPress 外掛,可實現圖片的懶加載,, 從而減少請求數量並提高頁面加載時間。, 與其他懶加載外掛相比,此外掛具有以下功能:, 通...。

文章
Filter
Apply Filters
Mastodon