Апісанне
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.
- Upload
lowermedia-iframes-on-demandfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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” is open source software. The following people have contributed to this plugin.
УдзельнікіПеракласці “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
