# New plugin: Pressbooks H5P Dashboard

**URL:** <https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372>\
**Category:** Third-party Plugins & Integrations\
**Created:** [June 9, 2020, 8:50pm UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372 "2020-06-09T20:50:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![figureone](https://pressbooks.community/user_avatar/pressbooks.community/figureone/32/1020_2.png) [@figureone](https://pressbooks.community/u/figureone)\
**Post date:** [June 9, 2020, 8:50pm UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/1 "2020-06-09T20:50:33Z")

</div>

Aloha, we (UH Mānoa) developed a plugin to summarize H5P content in a Pressbooks textbook for folks that use both. It’s currently pending review at [wordpress.org](http://wordpress.org), but you can download it from github now if you want to take a look:

> **[GitHub - uhm-coe/dashboard-for-pressbooks-h5p: Generate summaries of H5P content and results in a...](https://github.com/uhm-coe/dashboard-for-pressbooks-h5p)**
>
> Generate summaries of H5P content and results in a Pressbooks book

Screenshots and a feature list are available at the github link above. Any feedback is welcome! We plan on using it in our OER textbooks that have H5P assessments integrated.

---

<div class="post-metadata">

**Author:** ![figureone](https://pressbooks.community/user_avatar/pressbooks.community/figureone/32/1020_2.png) [@figureone](https://pressbooks.community/u/figureone)\
**Post date:** [June 16, 2020, 12:54am UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/2 "2020-06-16T00:54:59Z")

</div>

Plugin has been published at [wordpress.org](http://wordpress.org):  
[https://wordpress.org/plugins/dashboard-for-pressbooks-h5p/](https://wordpress.org/plugins/dashboard-for-pressbooks-h5p/)

---

<div class="post-metadata">

**Author:** ![beckej](https://pressbooks.community/letter_avatar_proxy/v4/letter/b/e19b73/32.png) [@beckej](https://pressbooks.community/u/beckej)\
**Post date:** [June 19, 2020, 4:01pm UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/3 "2020-06-19T16:01:10Z")

</div>

I like the concept of your plugin! It looks really interesting.

I wonder about the title of it and your decision to put it in the Wordpress plugins repository.

Does this plugin work with a Wordpress site that has H5P installed? Or only a Pressbooks Site?  
The reason I ask is that Pressbooks has made the decision not to put their plugins in the Wordpress plugins repository because it changes so much about how a Wordpress site runs. If it works for Wordpress, I think you should change the name to Wordpress H5P Dashboard and leave it in the Wordpress Plugin Repository.

If it really is only geared towards Pressbooks networks, I think you should take it out, and manage it on Github.

I appreciate your contributions either way, I look forward to testing it.

---

<div class="post-metadata">

**Author:** ![figureone](https://pressbooks.community/user_avatar/pressbooks.community/figureone/32/1020_2.png) [@figureone](https://pressbooks.community/u/figureone)\
**Post date:** [June 19, 2020, 6:14pm UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/4 "2020-06-19T18:14:11Z")

</div>

Aloha! The canonical source for the plugin will always be github; it’s just also synced to wordpress dot org for ease of installation (so folks can use the built in plugin browser). We use Gary Jones’s excellent sync script to deploy to wordpress dot org:

> **[GaryJones/wordpress-plugin-svn-deploy](https://github.com/GaryJones/wordpress-plugin-svn-deploy)**
>
> Automatically deploy a WordPress plugin from local git repo to the WordPress Plugin Repostiory (SVN). - GaryJones/wordpress-plugin-svn-deploy

That said, you’re always free to use GitHub Updater to install the plugin too, if that’s your MO.

The plugin is a companion to sites with both Pressbooks and H5P installed, and won’t do anything if both aren’t activated. All you’ll see is a message on the plugin settings page about the missing dependencies:

 ![Screen Shot 2020-06-19 at 7.53.39 AM](https://pressbooks.community/uploads/default/original/2X/b/b947be8ad532a2d744f9ce15566e6be9380eb630.png)

We struggled a bit with naming the plugin since it’s a bit esoteric (it has a dashboard widget, but also annotates the Pressbooks table of contents, and then includes a few other random features). Originally it was just “Pressbooks H5P Dashboard” but the WordPress Plugin Review Team doesn’t allow the plugin to start with Pressbooks if it’s not maintained by Pressbooks itself.

> **[Detailed Plugin Guidelines | Plugin Developer Handbook | WordPress Developer...](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#17-plugins-must-respect-trademarks-copyrights-and-project-names)**
>
> \[tip\]Last Updated: November 14, 2019\[/tip\] The Plugin Directory The goal of the WordPress Plugin Directory is to provide a safe place for…

  
We’re totally open to sharing maintenance duties if anyone is interested, or renaming the plugin if we can find something more descriptive. The plugin slug is probably fixed, though.

Cheers!

---

<div class="post-metadata">

**Author:** ![beckej](https://pressbooks.community/letter_avatar_proxy/v4/letter/b/e19b73/32.png) [@beckej](https://pressbooks.community/u/beckej)\
**Post date:** [June 20, 2020, 1:14pm UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/5 "2020-06-20T13:14:35Z")

</div>

I installed the plugin on a dev site and was testing it on a book that has a ton of H5P activities. Sometimes 3-6 in one chapter.

[https://pressbooks.us.reclaim.cloud/h5p-test/chapter/licao-1/](https://pressbooks.us.reclaim.cloud/h5p-test/chapter/licao-1/)  
I turned the setting on to hide H5P activities to encourage logging in.

I am seeing multiple H5P activities on the same page, but only the last one is being blurred.

 ![Screen Shot 2020-06-20 at 9.09.25 AM](https://pressbooks.community/uploads/default/original/2X/c/cea6aa6666fcb168f96b0279228f60f27b80a35f.jpeg)  
But you can see directly above it, other H5P are still visible  
 ![Screen Shot 2020-06-20 at 9.09.39 AM](https://pressbooks.community/uploads/default/original/2X/e/e1e54ebf09bf9b883a6a6afd5b0bc3ca127ab940.png)

Finally, I was trying to debug this a little, so I switched browsers from Chrome to Firefox to see if something browser specific was happening, or maybe my browser had cached something to make things funky, so I opened a new Firefox window, which I notice displays differently than Chrome. It still blurs the H5P activity, but is missing the text to remind someone to login.

H5P activity from Firefox

 ![Screen Shot 2020-06-20 at 9.14.02 AM](https://pressbooks.community/uploads/default/original/2X/9/92f8585fdd113bb95ffa380c17534e8e53e32c9f.jpeg)

---

<div class="post-metadata">

**Author:** ![figureone](https://pressbooks.community/user_avatar/pressbooks.community/figureone/32/1020_2.png) [@figureone](https://pressbooks.community/u/figureone)\
**Post date:** [June 20, 2020, 7:09pm UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/6 "2020-06-20T19:09:09Z")

</div>

Thanks for the feedback! I neglected to do browser testing, so I’ll add that to the list for next week.  
Not sure what’s up with the blurring, but I’ll take a look. I tested with multiple H5P elements on the same page, but they were all MultiChoice so maybe that’s related.

---

<div class="post-metadata">

**Author:** ![beckej](https://pressbooks.community/letter_avatar_proxy/v4/letter/b/e19b73/32.png) [@beckej](https://pressbooks.community/u/beckej)\
**Post date:** [June 20, 2020, 8:30pm UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/7 "2020-06-20T20:30:34Z")

</div>

This was just a dev server I had spun up to play with cloud hosting. I’m trying to learn more about scalable hosting, so this is Reclaim Hostings beta offering of cloud servers that is based on Jelastic.

As you can see, there are a few dependencies that I haven’t bothered to or gotten around to installing, but my understanding is those should not interfere with H5P.

### System Information

#### Book Info

Book ID: 4  
Book URL: [https://pressbooks.us.reclaim.cloud/h5p-test/](https://pressbooks.us.reclaim.cloud/h5p-test/)  
Book Privacy: Public

#### Browser

Platform: OS X  
Browser Name: Chrome  
Browser Version: 83.0.4103.106  
User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36

#### WordPress Configuration

Network URL: [http://pressbooks.us.reclaim.cloud/](http://pressbooks.us.reclaim.cloud/)  
Network Type: Subdirectory  
Version: 5.4.2  
Language: en\_US  
WP\_ENV: Not set  
WP\_DEBUG: Disabled  
Memory Limit: 64M

#### Pressbooks Configuration

Version: 5.15.0  
Book Theme: McLuhan  
Book Theme Version: 2.10.3  
Root Theme: Aldine  
Root Theme Version: 1.8.2

#### Pressbooks Dependencies

Epubcheck: Not Installed  
Kindlegen: Not Installed  
xmllint: Installed  
PrinceXML: Not Installed  
Saxon-HE: Not Installed

#### Must-Use Plugins

hm-autoloader.php: n/a

#### Network Active Plugins

GitHub Updater: 9.6.1  
Hypothesis: 0.6.0  
Pressbooks: 5.15.0  
Pressbooks LTI Provider: 1.4.0-dev  
W3 Total Cache: 0.14.2

#### Book Active Plugins

Dashboard for Pressbooks and H5P: 1.0.4  
GitHub Updater: 9.6.1  
H5P: 1.15.0  
Hypothesis: 0.6.0  
Pressbooks: 5.15.0  
Pressbooks LTI Provider: 1.4.0-dev  
W3 Total Cache: 0.14.2

#### Inactive Plugins

Akismet Anti-Spam: 4.1.6  
Hello Dolly: 1.7.2  
nginx fastcgi Cache Purge: 0.0.2  
Pressbooks SAML2 Single Sign-On: 1.1.1  
WP QuickLaTeX: 3.8.6

#### Server Configuration

PHP Version: 7.3.8  
MySQL Version: 5.5.5  
Webserver Info: nginx/1.16.0

#### PHP Configuration

Safe Mode: Disabled  
Memory Limit: 256M  
Upload Max Size: 64M  
Post Max Size: 64M  
Upload Max Filesize: 64M  
Time Limit: 300  
Max Input Vars: 1000  
URL-aware fopen: On (1)  
Display Errors: N/A

#### PHP Extensions

OPcache: Zend  
XDebug: Disabled  
cURL: Supported  
cURL Version: 7.29.0  
imagick: Not Installed  
xsl: Installed

---

<div class="post-metadata">

**Author:** ![figureone](https://pressbooks.community/user_avatar/pressbooks.community/figureone/32/1020_2.png) [@figureone](https://pressbooks.community/u/figureone)\
**Post date:** [June 23, 2020, 1:41am UTC](https://pressbooks.community/t/new-plugin-pressbooks-h5p-dashboard/1372/8 "2020-06-23T01:41:32Z")

</div>

Thanks for the feedback! Those issues should be fixed in version 1.0.5 just released.

The Firefox issue was fixed with some changes to `z-index` (sign in button was behind the H5P).

Re: Non-hidden H5P content, I had assumed all H5P content was in iframes, but it looks like only certain content types are. So I extended the hide/blur to `div.h5p-container` as well.
