Title: Lazy load video players
Author: Mark Howells-Mead
Published: <strong>6. marts, 2017</strong>
Last modified: 2. december, 2025

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/mhm-lazyloadvideo.svg)

# Lazy load video players

 Af [Mark Howells-Mead](https://profiles.wordpress.org/markhowellsmead/)

[Download](https://downloads.wordpress.org/plugin/mhm-lazyloadvideo.zip)

 * [Detaljer](https://da.wordpress.org/plugins/mhm-lazyloadvideo/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/mhm-lazyloadvideo/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/mhm-lazyloadvideo/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/mhm-lazyloadvideo/#developers)

 [Support](https://wordpress.org/support/plugin/mhm-lazyloadvideo/)

## Beskrivelse

** This plugin is no longer maintained. **

Modifies the HTML output of any video players which have been embedded in the content
area or in the site using the oEmbed technique. Any video player which is included
on the page will only be loaded if/when it is/becomes visible within the current
browser window.

This plugin relies on JavaScript in the frontend. The original player will be displayed(
not lazy-loaded) if JavaScript is inactive on the page.

Please note that this plugin will not work in server environments running PHP versions
older than 5.3.

## Installation

 1. Upload the folder `mhm-lazyloadvideo` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Lazy load video players” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

[Oversæt “Lazy load video players” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/mhm-lazyloadvideo)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/mhm-lazyloadvideo/),
tjek [SVN repository](https://plugins.svn.wordpress.org/mhm-lazyloadvideo/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/mhm-lazyloadvideo/)
via [RSS](https://plugins.trac.wordpress.org/log/mhm-lazyloadvideo/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.3.5

 * Confirm functionality in WordPress 4.9.8.

#### 1.3.4

 * Confirm functionality in WordPress 4.7.4.

#### 1.3.3

 * Minor amendment to README.

#### 1.3.2

 * Run script on `DOMContentLoaded` as well, in case `window.addEventListener('load')`
   is delayed by slow assets.
 * Confirm functionality in WordPress 4.7.2.

#### 1.3.1

 * Load the script in the header. It’s loaded asynchronously, so there are no performance
   issues.

#### 1.3.0

 * Load the script in the footer, not in the header.
 * Add console logger command for debugging.
 * Add version number to script-embedding URL.

#### 1.2.0

 * JavaScript syntax improvements.
 * Call initialization on load, to cover a case where direct initialization happens
   before the page is loaded.

#### 1.1.0

 * Revises code to additionally hook the WordPress `oembed_result` filter, so that
   videos pulled in via `wp_oembed_get` also get parsed.
 * Spellcheck secondary namespace.
 * This README is now .txt, for compatability with the WordPress Plugin Directory.

#### 1.0.2

 * Add a proper README to the plugin.

#### 1.0.1

 * Fix a JavaScript syntax bug which ocurred in Internet Explorer.

#### 1.0

 * Initial version of the plugin.

#### 0.0.1

 * Bare bones of an idea.

## Meta

 *  Version **1.3.5**
 *  Senest opdateret **12 måneder siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 4.6.0 eller højere **
 *  Testet op til **4.9.35**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/mhm-lazyloadvideo/)
 * Tags
 * [lazy load](https://da.wordpress.org/plugins/tags/lazy-load/)[performance](https://da.wordpress.org/plugins/tags/performance/)
   [video](https://da.wordpress.org/plugins/tags/video/)[video player](https://da.wordpress.org/plugins/tags/video-player/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/mhm-lazyloadvideo/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/mhm-lazyloadvideo/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/mhm-lazyloadvideo/reviews/)

## Bidragsydere

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/mhm-lazyloadvideo/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://paypal.me/mhmli)