這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

LowerMedia iFrames On Demand

外掛說明

Reduce requests and optimize for speed!!! The iFrames On Demand plugin replaces all iFrames on the page with an image placeholder, when the image placeholder is clicked the image appears. This works without any configuration for all iFrames and will pull in video thumbnails for YouTube, Vimeo and DailyMotion.

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload lowermedia-iframes-on-demand folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy

常見問題集

Q: How do I prevent iFrame on Demand Overlay on certain iFrames?

A: Add class=’no-placeholder’ to the iFrame tag

Does this work automatically

Yes

How to I change the placement of the play button?

Manually through a child theme or css plugin

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈LowerMedia iFrames On Demand〉的開發相關工作。

參與者

將〈LowerMedia iFrames On Demand〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Add theme files

1.1.0

  • Namespacing with class
  • PHP/JS optimizations
  • Manipulate iframes w/ content filter and add placeholder, then use js to add iframe back when clicked
  • Incorporate dashicons
  • Works much faster and saves much more requests and reduces much more load time

1.2.0

  • Remove Dashicon (eliminate requests)
  • Pure CSS Play Button Overlay (reduce load time)
  • Feature: add the class ‘no-placeholder’ to your iframe in order to skip On Demand Overlay