Plugin / Lazy Load for Videos

Kevin Weber

Changelog

Changelog

2.7.8

  • Load thumbnails for domain-restricted Vimeos (and possibly some other Vimeo cases)
  • Change language “es_MX” to “es_ES”

2.7.7

  • Add Spanish translation. PR from @po5i on Github: https://github.com/kevinweber/lazy-load-for-videos/pull/34

2.7.6

  • Remove “VideoObject” video attributes because some mandatory descriptors are missing

2.7.5

  • Fix to allow autoplay Vimeo player on Chrome. PR from @po5i on Github: https://github.com/kevinweber/lazy-load-for-videos/pull/33
  • Fix to make Vimeo URLs with query params in it work
  • Fix to prevent PHP warning “Invalid argument supplied for foreach()”

2.7.4

  • Fix issue where plugin didn’t work for users who never updated the settings of this plugin

2.7.2

  • Improve “Only load CSS/JS when needed” feature by scanning for embeds on pages with multiple posts (e.g. homepage, archive).
  • Add filter: lazyload_videos_should_scripts_be_loaded
  • No longer support “SCRIPT_DEBUG” variable for development

2.7.0

  • ️️⚡ Performance: Independence from jQuery! The user-facing part of this plugin no longer requires jQuery.
  • Privacy: Load all Youtube videos in privacy-enhanced mode using the https://www.youtube-nocookie.com URL
  • Rewrite large parts of the JavaScript to make maintenance and open source contributions easier and less risky.
  • Improve Ajax support, including support for Ajax Page Loader plugin. Thanks to @devattendant’s PR.
  • Show a link to the video if the browser doesn’t support JavaScript
  • Remove option to display a credit link in the top right corner of each video. This further reduces CSS and JS file sizes. Please consider donating instead: https://www.kweber.com/donate/LazyLoadVideos/.
  • Remove Youtube feature “Schema.org Markup”
  • Remove Youtube feature “Hide Youtube logo”
  • Remove Youtube feature “Player colour” (has been deprecated for a while)
  • Remove Youtube feature “Relations” (Youtube no longer supports hiding related videos)
  • Remove Youtube feature “Hide title/uploader” (no longer supported by Youtube)
  • Reduce risk of conflicting class names with other plugins, see issue.

2.6.0

  • New feature: Hide Youtube logo from control bar by using Youtube’s modest branding feature.
  • Extend iframe code with allow attribute and values recommended by Youtube.

2.5.1

  • Use https for thumbnails.
  • Display background correctly if same Vimeo video is placed on the same page repeatedly.

2.5

  • NOTE: The HTML and CSS for videos has been adjusted, mostly affecting the Vimeo embed. If you’ve added any custom CSS, be warned. Otherwise, no need to worry.
  • NOTE 2: If video titles aren’t showing as expected, click on the “Update Posts” button on the admin page for this plugin.
  • A11y: Make it easier for screen readers to select both video types, Youtube and Vimeo.
  • I18n: Make “Play video” text translatable.
  • Fixed Vimeo title that didn’t show up if background pattern option was selected.
  • Reduced CSS and JS file sizes.

2.4

  • New feature: Display a pattern instead of a thumbnail and thereby avoid requests to a video platform (until the user clicks play and requests become necessary).
  • Automated CSS prefixing. Some prefixes are no longer added. (Supported browsers are defined in .browserslistrc file.)
  • For developers: Update all dependencies and Webpack.

2.3

  • New feature: Disable lazy-loading of a single video by appending lazyload=0 to the video URL.
  • Solved AMP error: “The attribute ‘video-title’ may not appear in tag ‘a’.”. NOTE: The change will only affect new and updated posts. Click on “Update Posts” in the admin panel to apply the change to all posts/pages.
  • Big refactoring: The plugin’s JavaScript and CSS is now organized in modules and the output files are generated using Webpack. This refactoring makes contributions possible/easier and allows development using modern, future-proof JavaScript.

2.2.3

  • Don’t show video link if preview image isn’t loaded yet.
  • Wait with displaying preview image until initial resize of video is done.
  • Fallback if visitor has no JavaScript: Display video title and URL.
  • Feature “Player color” for Youtube videos is now deprecated because Youtube doesn’t support it for its HTML5 player.
  • Reduced play button image file sizes.

2.2.2.2

  • Prevent other themes/plugins (such as BBPress) from displaying Youtube videos “inline” because this causes videos not to be displayed.
  • Set the default margin-bottom for iframes/embeds to “0”.

2.2.2.1

  • Now you can add a custom start time to each video URL. Use it like this: …url…/watch?v=VIDEO_ID&t=XhYmZs or …/watch?v=VIDEO_ID&t=Z (replace X/Y/Z with hours/minutes/seconds). Thanks to @R33D3M33R’s PR.
  • Removed “http” from URLs for https compatibility.

2.2.1.2

  • Added Serbian translation by Ogi Djuraskovic.

2.2.1.1

  • Fixed not working option to disable Vimeo.
  • Removed callback functionality.
  • Merged pull request from @R33D3M33R on Github (https://github.com/kevinweber/lazy-load-for-videos/pull/7): Load video at custom start time wasn’t working properly. Background-image was always overriden, even if user has set a custom one.

2.2.1

  • The “i” link is now optional. By default, no information link is displayed.

2.2.0.4

  • Important: The wp_footer function in your theme is now required.
  • Combined several JavaScript files into one. Thanks to @summatix’s PR.
  • Added fallback by @summatix to load thumbnail with default quality when a high quality version is not available. Removed “Force maximum resolution” option because the fallback makes this feature unnecessary.
  • Made plugin translatable.

2.2.0.3

  • Fix: Updated URL definitions to improve js minify (merge request via Github by @sigginet)
  • Changed the background colour of loading preview images from black to transparent. You can use the following custom CSS to use black instead: .preview-lazyload { background-color: #000 !important; }

2.2.0.2

  • Fixed not working pre-roll and post-roll feature (values had not been stored).

2.2.0.1

  • The pre-roll and post-roll ads feature is now available for free! Please consider an appropriate donation.
  • Updated screenshots.

2.1.5.1

  • Added callback function.

2.1.5

  • Fix to make Vimeo working again.

2.1.4

  • Improvement: MUCH ENHANCED performance when updating all posts. Fewer queries, faster execution. Should fix the “Allowed memory size exhausted” issue that appeared on large sites with many posts.
  • Improvement: Support every kind of post type.
  • Fix/new feature: By default, max resolution is only used when a singular post/page is displayed. Users can choose to also load high quality thumbnails on archives and other pages using a “force” checkbox.
  • Fix: Replaced ‘<?=’ with ‘<?php echo’.
  • Improvement: Use not minified JavaScript files when SCRIPT_DEBUG is true (defined in wp-config.php).
  • Added version number to scripts.

2.1.1

  • Fix: Replaced incorrect ‘INCOLL_TDM_TD’ variable.
  • Fixed not correct commented out variables.
  • Fix: Replaced ‘<?=’ with ‘<?php echo’.

2.1

  • New feature: Add schema.org markup to your Youtube and Vimeo videos.
  • New feature: Hide title/uploader. Don’t display information like the video title and uploader when the video starts playing.
  • New feature: Hide annotations (such as “subscribe to channel”).
  • Improved colour picker.
  • Fix: Made ‘Update Posts’ working again.

2.0.7

  • Added red play button to the list of play buttons.
  • Added support for three more post types (any, home_slider, nectar_slider).
  • Fix: Display videos on BuddyPress activity streams.
  • Fix: Don’t duplicate branding links (as seen on BuddyPress activity streams).
  • Fix: Actually clear oembed cache when post is updated.

2.0.6

  • Improvement: Reduced memory usage when all posts are updated.
  • Thumbnail size “cover” is now default.
  • Fixed a responsive video bug.

2.0.5

  • Fix: Manually inserted links for Youtube playlists are working again.

2.0.4

  • Fix: “Update Posts” now also works for pages (not only for posts).
  • Added support for several often used post types (portfolio, news, article, articles, event, events, testimonial, testimonials, client, clients).

2.0.3

  • Improvement: Automatically clear oembed cache when a post is updated.

2.0.2

  • Fixed “unexpected T_PAAMAYIM_NEKUDOTAYIM”.

2.0

  • New feature: Youtube and Vimeo videos are responsive now! The video height automatically adjusts to its width
  • New feature: Set default thumbnail quality. Choose between standard and maximum resolution. You can override the default setting on every post and page individually.
  • Two new styles for the play button: “White Pulse” and “Black Pulse”.
  • Improvement: Use POST method to update all posts/pages.
  • Added very basic RTL (right-to-left) language support.

1.6.2

  • New feature (beta): Apply schema.org markup to videos
  • Fix: The new CSS play buttons caused some errors that have been fixed with this update
  • Fix: Use WordPress’ built in function to delete oembed caches. Much better performance! Now, again, do update all posts that have an oembedded medium when user activates the plugin
  • Fix: Actually remove the “i” link when the option to remove it is checked
  • Fix to make the plugin ready for WordPress 4.0 and its new feature to display video previews in editor

1.6.1

  • Wrapped videos into a div-container.

1.6

  • New feature: Choose from three play buttons (CSS-only white, CSS-only black, Youtube button image)
  • New premium feature: Convert Youtube videos into a playlist and automatically add your corporate video, product teaser or another video advertisement at the end of every Youtube video
  • New premium feature: Remove branding
  • New feature: With a colour picker the user can choose a colour of the video controls (Vimeo only)
  • New feature: Support for Youtube and Vimeo URLs in tables created with plugin TablePress
  • Improvement: User must not update articles anymore when he changes setting ‘Display Youtube title’
  • Fix/new feature: Users can activate an option to only load CSS/JS files on pages/posts when necessary. (It can happen that – when this option is activated – videos on pages do not lazy load although they should.)

1.5.2.1

  • Fix: Do NOT update all posts that have an oembedded medium when user activates the plugin anymore

1.5.2

  • New feature: When user -activates- or deactivates this plugin, all posts that have an oembedded medium will be updated once automatically
  • New feature: Users can update all existing posts manually
  • Improvement: Only load CSS/JS files on pages/posts when necessary

1.5

  • New feature: Choose between two colours for Youtube player (dark or light)
  • New feature: Support for widgets (Youtube only)
  • New feature: Choose thumbnail size (standard or cover)
  • New feature: Don’t display related videos at the end of your videos (Youtube only)
  • New feature: Hide controls from Youtube player (Youtube only)
  • New feature: Choose between two colours for Youtube player’s video progress bar to highlight the amount of the video that the viewer has already seen (red or white)

1.4.2

  • Important bugfix: Plugin v1.4 has not worked for new and updated posts
  • Bugfix: On some sites the plugin did not work as expected because a CSS height was not defined

1.4

  • New feature: Display video titles on preview images (for Youtube and Vimeo)
  • New feature: Admins can add Custom CSS via options panel

1.3

  • New feature: Support for Vimeo videos!!
  • New options panel for admins (now you can deactivate Lazy Load for Youtube/Vimeo in backend)
  • SEO: The preview image’s title attribute contains video’s title

1.2.1

  • Bugfix: ‘Infinite Scroll’ plugins are compatible with this plugin now

1.2

  • Added jQuery.noConflict to avoid some bugs (See: https://api.jquery.com/jQuery.noConflict)
  • This plugin now uses jQuery that comes with WordPress

1.1

  • Plugin goes public.

Ratings

4.4
70 reviews

Rating breakdown

Details Information

Version

2.7.8

First Released

08 Mar, 2013

Total Downloads

149,745

Wordpress Version

3.5 or higher

Tested up to:

5.2.5

Require PHP Version:

-

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.