Title: SNORDIAN&#039;s H5P Resize Pulse
Author: otacke
Published: <strong>19 Maggio 2020</strong>
Last modified: 24 Giugno 2026

---

Ricerca i plugin

![](https://ps.w.org/snordians-h5p-resize-pulse/assets/banner-772x250.png?rev=2307898)

![](https://ps.w.org/snordians-h5p-resize-pulse/assets/icon.svg?rev=2307898)

# SNORDIAN’s H5P Resize Pulse

 Di [otacke](https://profiles.wordpress.org/otacke/)

[Scarica](https://downloads.wordpress.org/plugin/snordians-h5p-resize-pulse.0.1.10.zip)

 * [Dettagli](https://it.wordpress.org/plugins/snordians-h5p-resize-pulse/#description)
 * [Recensioni](https://it.wordpress.org/plugins/snordians-h5p-resize-pulse/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/snordians-h5p-resize-pulse/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/snordians-h5p-resize-pulse/#developers)

 [Supporto](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/)

## Descrizione

PLEASE NOTE: I gave some of my free time to create this plugin. Using it and its
source code is absolutely free. I don’t want any money from you. However, if you
like this plugin, I kindly ask you to make a one-time donation of 2.50 EUR to the
Rainforest Coalition (https://www.rainforestcoalition.org/donate) — or more if you
can afford to.

H5P is a versatile plugin to add interactive content to your website. You may try
to run it inside some fields that are created by other plugins, e.g. inside tabs,
accordions, lightboxes, etc. And with some of them it seems that H5P doesn’t work
although it is, but the content is set to a height of 0 pixels. That problem is 
described at https://h5p.org/manipulating-h5p-with-javascript.

The best solution would be to modify the plugin that’s including tabs, etc. to your
WordPress site, but that’s not always possible. In some cases, this plugin may be
a feasible workaround at least.

In “observer” mode, it will try to add a so called ResizeObserver to the container
that holds the iframe with H5P content. That observer will send a resize pulse whenever
the container changes in size, e.g. when it becomes visible. This should be a safe
option just taking some extra resources.

In “interval” mode, it will trigger H5P to resize in regular intervals which should
let it be displayed in many cases. However, if they appear too frequent, they may
cause the browser to stall. Choose the time interval wisely! Also, some H5P content
types may break that way. The only way around this is then the “selector” mode.

In “selector” mode, you need to determine a CSS selector that will identify all 
the elements that you interact with to display other contents, e.g. the tab buttons.
If that selector is set in the plugin’s settings, it will trigger a resize pulse
when that element is clicked. This way, you prevent stalling the browser or breaking
H5P content types. Depending on how the other plugin was created, there may not 
ba a suitable CSS selector then.

If necessary, you can use the _manage\_h5presizepulse\_options_ capability to control
access to the plugin settings.

PLEASE NOTE: H5P IS A REGISTERED TRADEMARK OF H5P GROUP. THIS PLUGIN WAS NEITHER
CREATED BY H5P GROUP NOR IS IT ENDORSED BY THEM.

## Installazione

Install H5P Resize Pulse from the WordPress Plugin directory or upload it manually
and activate it. Done. You may want to customize the time interval though.

## FAQ

None so far.

## Recensioni

![](https://secure.gravatar.com/avatar/dbc114c3e7ccfff430132dd463dbb8fb0a8396cc16892dcb9a732fe16d3737ba?
s=60&d=retro&r=g)

### 󠀁[Simple, lightweight solution](https://wordpress.org/support/topic/simple-lightweight-solution/)󠁿

 [efox](https://profiles.wordpress.org/foxylearning/) 29 Settembre 2023 1 risposta

This is a simple, lightweight solution to a common problem when using H5P with WordPress.
It works perfectly. The author is one of the most prolific developers of H5P content
types and custom solutions around, so you can expect the coding and support to be
top-notch, too.

![](https://secure.gravatar.com/avatar/6d7cb98480e8e8e639a0c25bdb261635db2218c2b09146b2253943f45e6ab7a4?
s=60&d=retro&r=g)

### 󠀁[This saved my day!](https://wordpress.org/support/topic/this-saved-my-day-3/)󠁿

 [totoromaum](https://profiles.wordpress.org/totoromaum/) 31 Ottobre 2021 1 risposta

I had a problem in showing h5p content in tabs. I needed tabs or accordions format
to show h5p content effectively. However, only the first tab showed the h5p content.
I did not know what to do, but I found this plugin created by Oliver. This saved
my day. Thank you, Oliver!

 [ Leggi tutte le recensioni di 2 ](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/)

## Contributi e sviluppo

“SNORDIAN's H5P Resize Pulse” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ otacke ](https://profiles.wordpress.org/otacke/)

[Traduci “SNORDIAN's H5P Resize Pulse” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/snordians-h5p-resize-pulse)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/snordians-h5p-resize-pulse/)
segui il [repository SVN](https://plugins.svn.wordpress.org/snordians-h5p-resize-pulse/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/snordians-h5p-resize-pulse/)
tramite [RSS](https://plugins.trac.wordpress.org/log/snordians-h5p-resize-pulse/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.10

Fix enhanced resize trigger.

#### 0.1.9

Enhanced resize trigger.

#### 0.1.8

Tried fixing a release problem.

#### 0.1.7

Tried fixing a release problem.

#### 0.1.6

Added support for embedded content (content created on the WordPress site and embedded
elsewhere).

#### 0.1.4

Fix release version.

#### 0.1.3

Fixed invalid header.
 Made more options robust.

#### 0.1.2

Added option to trigger resize pulse based on CSS selector instead of pulsing automatically.

#### 0.1.1

Fixed readystatechange listener to avoid conflicts with other plugins

#### 0.1

Initial release

## Meta

 *  Versione **0.1.10**
 *  Ultimo aggiornamento **4 mesi fa**
 *  Installazioni attive **200+**
 *  Versione WordPress ** 4.0 o superiore **
 *  Testato fino alla versione **7.0.7**
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/snordians-h5p-resize-pulse/)
 * Tag
 * [Accordion](https://it.wordpress.org/plugins/tags/accordion/)[h5p](https://it.wordpress.org/plugins/tags/h5p/)
   [lightbox](https://it.wordpress.org/plugins/tags/lightbox/)[tab](https://it.wordpress.org/plugins/tags/tab/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/snordians-h5p-resize-pulse/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  2 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/?filter=1)

[La tua recensione](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/reviews/)

## Collaboratori

 *   [ otacke ](https://profiles.wordpress.org/otacke/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/snordians-h5p-resize-pulse/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://www.rainforestcoalition.org/donate)