h5p / h5p-wordpress-plugin Goto Github PK
View Code? Open in Web Editor NEWAdds support for H5P Content in WordPress.
Home Page: https://wordpress.org/plugins/h5p/
Adds support for H5P Content in WordPress.
Home Page: https://wordpress.org/plugins/h5p/
I want to prequalify a pull request related to the following:
User story:
A user has his an educational site which is hooked up to a LRS and wants to be able to gather data on how students are spending their time on videos in order to use a metric to adjust their course to be more engaging and to see what videos and elements are connecting with people the most.
UX:
Directly this wouldn't effect the user experience, but by creating more verbs that track skips, play, pause, and give a list of segments played in video this can be used to get a more valid video complete statement by seeing if the entire video was actually watched and data can be collected that can give a more granular idea of how well videos are connecting with audiences
Accessibility:
Not relevant
Technical solution:
My team would like to write code that adds more xAPI statements. We want to create statements that track users interactions with the interactive videos more thoroughly like play, pause, skip, segments watched. We want to use the segments watched to piece together and determine if video was actually completed and allow the statements to be available so that that and plugin connecting to a LRS can collect and pass these back and educators can get a more granular idea of how students are interacting with the videos.
Please request Finnish translation editor rights for me on https://make.wordpress.org/polyglots/, so that I can translate and approve translations for Finnish language.
Hello Polyglots, I am the theme author for the Interactive Content – H5P plugin. I have a translation editors that I would like to be able to approve translation for my plugin. Please add the following WordPress.org user as translation editors :
#fi – @sippis
Thank you#editor-requests
When creating a Course presentation the path to the font-awesome font library is broken and no icons show in the editor. The broken path seem to exist of both the physical and virtual address at the same time.
Best regards
Aron
I am having this error http://prntscr.com/6zrr2g not showing the Hotspot image , using WP 4.2.1 , nginx server with php-fpm
Hi
i'm not abble to use it
Is-it something special to do at the installation
regards
Olivier
Add New
Warning: include_once(/homez.646/clicandl/www/wp-content/plugins/h5p/public/../h5p-php-library/h5p.classes.php) [function.include-once]: failed to open stream: No such file or directory in /homez.646/clicandl/www/wp-content/plugins/h5p/public/class-h5p-plugin.php on line 276
Warning: include_once() [function.include]: Failed opening '/homez.646/clicandl/www/wp-content/plugins/h5p/public/../h5p-php-library/h5p.classes.php' for inclusion (include_path='.:/usr/local/lib/php') in /homez.646/clicandl/www/wp-content/plugins/h5p/public/class-h5p-plugin.php on line 276
Warning: include_once(/homez.646/clicandl/www/wp-content/plugins/h5p/public/../h5p-php-library/h5p-development.class.php) [function.include-once]: failed to open stream: No such file or directory in /homez.646/clicandl/www/wp-content/plugins/h5p/public/class-h5p-plugin.php on line 277
Warning: include_once() [function.include]: Failed opening '/homez.646/clicandl/www/wp-content/plugins/h5p/public/../h5p-php-library/h5p-development.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /homez.646/clicandl/www/wp-content/plugins/h5p/public/class-h5p-plugin.php on line 277
Fatal error: Interface 'H5PFrameworkInterface' not found in /homez.646/clicandl/www/wp-content/plugins/h5p/public/class-h5p-wordpress.php on line 3
I have a website that is based on WordPress and holding content that is fully developed with h5p. I recently moved hosting from a local server to blue host and for the first time happening I cannot be able to activate or delete the h5p plugin.I backed it up through direct ssh to the host and moved it in a different directory hence uploaded a new plugin but still has the same error.
During activation this is the error message
**_Plugin could not be activated because it triggered a fatal error.
Fatal error: Declaration of H5PWordPress::fetchExternalData() must be compatible with that of H5PFrameworkInterface::fetchExternalData() in /home1/thespea5/public_html/psychology/wp-content/plugins/h5p/public/class-h5p-wordpress.php on line 3_**
When creating content in Wordpress via the Visual Editor the Add h5p button appears. When clicking the Add h5p button nothing happens
Please find attached a finalized French translation of the H5P WordPress plugin.
Notice this does not cover translation of the hub, which seems to be not possible right now, so don't hesitate to notify be when the hub becomes also localizable.
h5p-fr_FR.zip
Hallo everybody,
H5P plugin is awesome. Wanting to contribute to the development of the tool I translated the plugin into Bosnian!
Best regards!
Freshly installed and it doesn't load the images, even the editor of "Course Presentation type" doesn't load the tool's image (pictures attached) and also the uploaded *.h5p file doesn't load the images when it is viewed (it is just blank, pictures attached) and edit picture from H5p plugin also doesn't load the image, but the WordPress media library does load it's picture and even it can be edited.
https://h5p.org/sites/default/files/Screen%20Shot%202017-09-02%20at%208.28.56%20PM.png
https://h5p.org/sites/default/files/Screen%20Shot%202017-09-02%20at%208.29.13%20PM.png
https://h5p.org/sites/default/files/Screen%20Shot%202017-09-02%20at%208.37.43%20PM.png
https://h5p.org/sites/default/files/Screen%20Shot%202017-09-02%20at%208.37.53%20PM.png
https://h5p.org/sites/default/files/Screen%20Shot%202017-09-02%20at%208.41.14%20PM.png
Getting a lot of error messages when the plugin is activated on the command line using:
wp plugin activate h5p
The plugin works fine, however, and it seems that the errors are related to database indices being updated by removing them and adding them again, and since they don't exist they can't be removed.
But it is a somewhat confusing user experience to have all that error text there when there is actually no error.
Mikaels-iMac:plugins mikael$ wp plugin activate h5p
WordPress database error Can't DROP 'id'; check that column/key exists for query ALTER TABLE `wp_h5p_contents` DROP INDEX `id` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_0'; check that column/key exists for query ALTER TABLE `wp_h5p_contents` DROP INDEX `id_0` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_1'; check that column/key exists for query ALTER TABLE `wp_h5p_contents` DROP INDEX `id_1` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_2'; check that column/key exists for query ALTER TABLE `wp_h5p_contents` DROP INDEX `id_2` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_3'; check that column/key exists for query ALTER TABLE `wp_h5p_contents` DROP INDEX `id_3` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_4'; check that column/key exists for query ALTER TABLE `wp_h5p_contents` DROP INDEX `id_4` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'content_id'; check that column/key exists for query ALTER TABLE `wp_h5p_contents_libraries` DROP INDEX `content_id` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'content_id_0'; check that column/key exists for query ALTER TABLE `wp_h5p_contents_libraries` DROP INDEX `content_id_0` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'content_id_1'; check that column/key exists for query ALTER TABLE `wp_h5p_contents_libraries` DROP INDEX `content_id_1` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'content_id_2'; check that column/key exists for query ALTER TABLE `wp_h5p_contents_libraries` DROP INDEX `content_id_2` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'content_id_3'; check that column/key exists for query ALTER TABLE `wp_h5p_contents_libraries` DROP INDEX `content_id_3` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'content_id_4'; check that column/key exists for query ALTER TABLE `wp_h5p_contents_libraries` DROP INDEX `content_id_4` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id'; check that column/key exists for query ALTER TABLE `wp_h5p_results` DROP INDEX `id` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_0'; check that column/key exists for query ALTER TABLE `wp_h5p_results` DROP INDEX `id_0` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_1'; check that column/key exists for query ALTER TABLE `wp_h5p_results` DROP INDEX `id_1` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_2'; check that column/key exists for query ALTER TABLE `wp_h5p_results` DROP INDEX `id_2` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_3'; check that column/key exists for query ALTER TABLE `wp_h5p_results` DROP INDEX `id_3` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_4'; check that column/key exists for query ALTER TABLE `wp_h5p_results` DROP INDEX `id_4` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries` DROP INDEX `id` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_0'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries` DROP INDEX `id_0` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_1'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries` DROP INDEX `id_1` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_2'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries` DROP INDEX `id_2` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_3'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries` DROP INDEX `id_3` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'id_4'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries` DROP INDEX `id_4` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_libraries` DROP INDEX `library_id` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_0'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_libraries` DROP INDEX `library_id_0` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_1'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_libraries` DROP INDEX `library_id_1` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_2'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_libraries` DROP INDEX `library_id_2` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_3'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_libraries` DROP INDEX `library_id_3` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_4'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_libraries` DROP INDEX `library_id_4` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_languages` DROP INDEX `library_id` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_0'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_languages` DROP INDEX `library_id_0` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_1'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_languages` DROP INDEX `library_id_1` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_2'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_languages` DROP INDEX `library_id_2` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_3'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_languages` DROP INDEX `library_id_3` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
WordPress database error Can't DROP 'library_id_4'; check that column/key exists for query ALTER TABLE `wp_h5p_libraries_languages` DROP INDEX `library_id_4` made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_h5p/h5p.php'), call_user_func_array, H5P_Plugin::activate, H5P_Plugin::check_for_updates, H5P_Plugin::upgrade_120, H5P_Plugin::remove_duplicate_indexes
Success: Plugin 'h5p' activated.
I'm working at a university in North America and supporting a number of teachers who are working to publish open textbooks. For many of our authors, we authoring our texts using Pressbooks and then embedding interactive content using the H5P plugin for WordPress. Pressbooks also has an awesome API for books that's built on the WP REST API that lets us do some really amazing things with cloning books from any open network to any other open network. One problem that we’re encountering is that we haven’t yet tightly integrated H5P activities with the Pressbooks cloning routine. My understanding is that while H5P does provide an javascript API: https://h5p.org/documentation/api/H5P.html, it doesn’t currently produce the REST API endpoints we would need to clone these activities along with other content in a Pressbooks.
As I understand it, in order to allow H5P activities in book to be cloned using the Pressbooks cloning tool, two things need to happen: 1) REST API endpoints need to be added to H5P activities via the WordPress REST API and 2) The Pressbooks cloning routine should be modified so that it looks for and copy/clones any H5P activities exposed via the WordPress REST API. We're interested in working with the H5P developer community to do step 1, namely, to add custom endpoints to H5P activities in this WordPress plugin, and would consider funding this development or helping to contribute to a pull request to that end. Thoughts/advice/discussion/direction welcome!
It appears that since version 1.7.2 we can now network enable H5P on multisite and allow each individual site to create H5P activities and install libraries on/for their own sites (thank you!). However, it doesn't appear that we can centrally manage and maintain the various H5P libraries we use on that multisite.
Here's our use case: we have a single WP multisite instance and want to make H5P available for all of the many sites on our network. We'd prefer to install and update the various H5P libraries for all the sites from a single place, rather than requiring each site admin to download and update their own individual libraries. Is that possible with the way the H5P for Wordpress plugin is currently written?
For example, here's what the H5P hub looks like on one site on our network:
and here's what the hub looks like on another site:
I can understand that some networks will want to keep content types and updates separate, but for those of us who'd like to manage and update these centrally for many sites, what can we do? Even if we couldn't apply updates and install content types centrally for all sites, I don't know of a way right now to even install all available updates for a single site, meaning that updating available libraries is a particularly laborious process.
If neither central management nor bulk updating of content types for single sites is currently possible, can anyone offer me a few pointers as to how it might be achieved to see whether this is something we could look into funding or contributing a pull request for?
Within a fresh Wordpress install, when creating a drag and drop question, I can add a drop zone, but cannot add text or an image.
The error I'm getting is:
VM165998:17144 Uncaught TypeError: Cannot set property '3' of undefinedH5PEditor.widgets.dragQuestion.H5PEditor.DragQuestion.C.insertDropZone @ VM165998:17144buttons.createElement @ VM165998:16839(anonymous function) @ VM165998:307b.event.dispatch @ jquery.js?ver=1.5.3:2v.handle @ jquery.js?ver=1.5.3:2
Updated the client site to use latest version 1.10.0
. After that every page with h5p shortcode that embeds accordion content crashes site and causes following fatal error.
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /var/www/stage.env.com/projects/project/releases/20170608103444/content/plugins/h5p/h5p-php-library/h5p.classes.php:1651 Stack trace: #0 /var/www/stage.env.com/projects/project/releases/20170608103444/content/plugins/h5p/h5p-php-library/h5p.classes.php(1961): H5PExport->createExportFile(Array) #1 /var/www/stage.env.com/projects/project/releases/20170608103444/content/plugins/h5p/public/class-h5p-plugin.php(839): H5PCore->filterParameters(Array) #2 /var/www/stage.env.com/projects/project/releases/20170608103444/content/plugins/h5p/public/class-h5p-plugin.php(924): H5P_Plugin->get_content_settings(Array) #3 /var/www/stage.env.com/projects/project/releases/20170608103444/content/plugins/h5p/public/class-h5p-plugin.php(825): H5P_Plugin->add_assets(Array) #4 /var/www/stage.env.com/projects/project/releases/20170608103444/wp/wp-includes/shortcodes.php(345): H5P_Plugin->shortcode(Array, '', 'h5p') #5 [internal function]: do_shortcode_tag(Array) in /var/www/stage.env.com/projects/project/releases/20170608103444/content/plugins/h5p/h5p-php-library/h5p.classes.php on line 1651
This error is filling up our logs recently. Any ideas what might be the cause?
[04-Mar-2018 23:58:45 UTC] WordPress database error Table 'databasename.wp_h5p_libraries_hub_cache' doesn't exist for query SHOW FULL COLUMNS FROM wp_h5p_libraries_hub_cache
made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, H5P_Plugin->get_library_updates, H5PCore->fetchLibrariesMetadata, H5PCore->updateContentTypeCache, H5PWordPress->replaceContentTypeCache
Hello!
I downloaded the zip file from here (github), I extracted it and pasted the folder in content/plugins, but when I activated the plugin I had the following error message (WordPress 4.2 in Italian in localhost):
The plugin generated 574 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
In fact, many settings are broken.
So, I tried to install the zip file in my blog from the WordPress plugin page and it's ok, but if I upload the libreries I have this error message (WordPress 3.9.4 in Italian in remote):
Fatal error: Class 'ZipArchive' not found in /web/htdocs/www.carettacaretta.it/home/blog/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php on line 642
I tried again to install the plugin (from the WordPress plugin page) in a WordPress installation in original English language, but I have this message again (WordPress 4.2 in English in localhost):
The plugin generated 582 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
But in this case the settings seem not broken. However this error appears only in the newest WordPress version 4.2, in fact these errors don't appear in version 4.1.1 (I tested it too).
Hello,
I have just created a topic in the H5P.org forum concerning Spanish translations. I have uploaded there the zip file with pot inside.
Let me know if I can do anyhting.
Thanks,
You do not update the h5p_contents_libraries table in your upgrade progress thus the libraries are never dissociated and old libraries can never be deleted
I love the feature in version 1.5.6 where it automatically checks for new versions of libraries. However, it doesn't seem to work 100% reliably.
Currently, I made a fresh install on my local machine, and I got version 1.6.2 of the Question Set library.
On our server there the installed version of Question Set is 1.5.2, but I'm still not prompted with the option to update it.
Is there a button somewhere I need to press in order to check for updates? Have looked for such a button, but can't find it...
Sorry for the lack of debugging information. If there is something you need me to check either on my local machine or on the server, I would be happy to do so.
Please find below arabic translation for H5P plugin on WordPress
h5p arabic translation.zip
Thanks.
XAPI events list features "completed" event.
The problem is this event is never triggered after answering summary. I can only get "attempted" event after answering summary quiz and "completed" after watching video.
There also should be "answered" event after answering the summary, but it's not fired at all.
Hello,
I’m running an educational website on WP and I've been encountering a serious error on the site that has various types of h5p content.
• While adding multiple audio files to a Course presentation type of content – version 1.7.13, upon saving, the file does not end up being saved,
• instead all headers/titles turn into gibberish,
• the following message is displayed in many lines above the content:
Warning: mkdir(): File exists in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 460
Warning: Path is not a directory /home/website/public_html/website domaine/wp-content/uploads/h5p/content/71/https://website domaine in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 465
Warning: mkdir(): File exists in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 460
Warning: Path is not a directory /home/website/public_html/website domaine/wp-content/uploads/h5p/content/71/https://website domaine in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 465
Warning: mkdir(): File exists in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 460
Warning: Path is not a directory /home/website/public_html/website domaine/wp-content/uploads/h5p/content/71/https://website domaine in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 465
Warning: mkdir(): File exists in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 460
Warning: Path is not a directory /home/website/public_html/website domaine/wp-content/uploads/h5p/content/71/https://website domaine in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 465
Warning: mkdir(): File exists in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 460
Warning: Path is not a directory /home/website/public_html/website domaine/wp-content/uploads/h5p/content/71/https://website domaine in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 465
Warning: mkdir(): File exists in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 460
Warning: Path is not a directory /home/website/public_html/website domaine/wp-content/uploads/h5p/content/71/https://website domaine in /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php on line 465
Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/website domaine/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php:460) in /home/website/public_html/website domaine/wp-includes/pluggable.php on line 1210
I’ve only encountered this type of error when adding audio files and mostly on Course presentations. Is there any chance the audio is causing the problem?
There’re also various issues with the content itself if the presentation managed to be saved:
• some functionality is lost after making roughly more than 3 changes to a Course presentation,
• e.g. if there’s a Drag and Drop slide, some of the drop zones are misplaced in the corners of the slide,
• or the correct positions/answers haven’t been saved at all.
Is there something I’m doing wrong and is there any way to fix this problem as it is making working with the plugin very challenging?
Thank you.
I was unable to load the editor at all. When I checked the console; it seemed like the editor was constantly trying to load it's resources again and again but had the incorrect url : http://wp-content/xxxx
. When I viewed source of my editor page, I realized the H5PIntegration object had an incorrect URL; all resource URL's were starting with a double slash instead of a single slash.
I think the regex used for doing preg_replace for generating URLs fails to generate a correct URL on Azure IIS based setups.
FIX: After spending a lot of time going through the source code, I finally found a simple fix (2 files):
FYI, I'm using version : 1.10.0.
1- h5p/admin/class-h5p-content-admin.php::add_editor_assets(). (Line # 945)
After that line I added the following code: $url = str_replace('//', '/', $url);
2- h5p/public/class-h5p-plugin.php::add_core_assets(). (Line # 1114)
After that line I added the following code: $rel_path = str_replace("//", "/", $rel_path );
Could you guys, please test out my fix and add it to the source code if it doesn't break anything else?
Thanks!
PHP message: PHP Fatal error: Class 'H5PEventBase' not found in /var/www/site/wp-content/plugins/h5p/public/class-h5p-plugin.php on line 1131 PHP message: PHP Stack trace: PHP message: PHP 1. {main}() /var/www/site/wp-cron.php:0 PHP message: PHP 2. do_action_ref_array() /var/www/site/wp-cron.php:117 PHP message: PHP 3. call_user_func_array:{/var/www/site/wp-includes/plugin.php:600}() /var/www/site/wp-includes/plugin.php:600 PHP message: PHP 4. H5P_Plugin->remove_old_log_events() /var/www/site/wp-includes/plugin.php:600" while reading response header from upstream, client: 1.1.1.1, server: studentlife.com.cy, request: "HEAD /wp-cron.php HTTP/1.1"
Hi everybody,
I like the H5P plugin very much and I want to contribute to the development of the tool, so I translated the plugin into German!
Simple text flashcards were created using H5P: Task description, question and answer (no image). The testing results are below:
Tested using Windows 10 Enterprise Build 1607, JAWS 18.0.2324, Firefox 51.0.1
This may actually be the best flash card example we have seen so far. It is possible to work with these flash cards using a screen reader. There are a few issues, but none of them will prevent a user from successfully making use of the cards:
• No automatic announcement of whether the users response was correct.
o Note: This can be manually determined by rereading the flash card content.
• Previous/Next Controls do not announce labels when navigating via arrow keys, navigation quick-keys, or when using the buttons list
o Note: The controls do read correctly when navigating using tab. I have no idea what could explain this behavior.
o Note #2: This is actually an issue I have seen with all H5P content when using JAWS anytime there is a previous/next control presented. If you know of a way to get this feedback back to H5P that would be great.
• The correct response/solution is presented in the DOM prior to the question text, which forces the user to backtrack from the “check” button in order to read the correct answer.
o Note: There are multiple ways in which a user can make it quicker/easier to backtrack. If I were using these I would create a placemarker right above the location where the answer appears, then I could jump to that spot with a single command.
• Frame used to display Flash Card is read as “GRE Frame”. You can manually change the name of the frame by modifying the title attribute or adding an aria-label to the embed code. Example: aria-hidden=”Flash Cards” or title=”Flash Cards” should result in it reading out “Flash Cards Frame”, which would bring it in-line with WCAG 2.0 A 2.4.1. I would suggest changing the title first, and if that causes trouble (H5P might not like it) then restore the original title and use the aria-label instead. SC H64 suggests using title as it is most consistent across browsers/AT, but aria-label can be used as an alternative if need be.
Marlene also looked it over for color and contrast issues. Here is her feedback:
There was a color contrast issue with the white on gray “Check” text and another issue with the red on pink “incorrect response” text.
I’ve added screenshots below showing the exact text and Colour Contrast Analyser results. The black on gray text for clues and the light green on dark green “correct response” text had sufficient color contrast.
Robert Squires on behalf of
Aaron M. Page, B.S.
Accessibility Specialist
Accessible Technology Services, UMOnline
University of Montana
Email: [email protected]
Phone: (406) 243-2082
I’ve been coming across 'Content unavailable' with a H5P background when working with the Interactive Video content type on the WordPress plugin. It sems to be to do with the toolbar settings, and seems to follow the following rules:
It happens when:
• Display toolbar below content is ticked and embed code is unticked
• Display toolbar below content is unticked, embed code is unticked and either copyright or download (or both) are ticked.
This means it only seems to work as expected when:
• Display toolbar below content is ticked and embed button is ticked
• Display toolbar below content is unticked and embed button is ticked
• Nothing is ticked.
Is this the desired behaviour, or a bug?
Hello,
I was able to upload the presentation H5P file form your site (n°613).
When I try to create a new presentation, I can find the content type "cours presentation".
I can create pages, add video ect.
When I want to validate ("create" button), I've got the following message : no such library.
All the others content types work fine.
Could you hlpme solve that issue ?
Hello,
I'm currently using the Dialog cards and after trying multiple times to get around this issue, it still doesn't load any more than 8 dialogs at a time. I've read through the documentation and nowhere said that there's a limit to the number of dialogs you can add at a time.
I've tried using the Dialog cards both as stand-alone and in a Course presentation and encountered the same issue in both. After the 8th dialog the navigation disappears and no content is loaded. I'm using text and image as content types. The library is up-to-date in the 1.9.4 version of the plugin.
Also, when there's a larger text on one of the dialogs, everything is stretched to fit that larger text and as a result it no longer fits in the height of the screen, which is a problem.
Thank you for your time.
I am using H5P content in WordPress. The content in my custom theme is loaded via ajax. Is there any tutorial on how can I enable h5p shortcodes in content loaded via ajax.
H5P content types often receive updates to the libraries that power them. When this occurs, users who have already installed the content type on their site now see a message that indicates 'Update available'.
Problems:
For each content type they can click details, which brings them to a page from which they can either use or update the content type. Updating each content type thus takes two clicks -- 1. details and 2. update, with another click needed to return to the main menu and then 2 more clicks to update the next content type. If the user has 30+ content types installed for their site and hasn't updated their libraries recently, this can be A LOT of clicking and waiting.
If they click 'update available' the content hub behaves as if they have selected 'use.' This is confusing and probably not what the user expected to see when clicking 'update available'
Suggestions:
Add an 'update all' content types option to the main hub view (perhaps at the right of the 'All Content Types (xx results) line)? If this button was clicked, all content types would be universally updated. This would be enormously efficient as a time saving option.
Either allow the user to update an individual content type from the main hub view (i.e. by displaying the 'update' and 'use' button directly here instead of requiring them to first click 'details' to see this.
I don't understand the underlying structure/processes for updates right now, but would be willing to work on a PR for either/both of these suggestions if someone could orient me to the underlying code and do a little bit of hand-holding/guidance.
Its gone the enabling and disabling for embedding.
So everytime I want to embed a question/game its not available, because it cant.
No chance to configure.
We're interested in understanding how our H5P activities are being used by learners globally (i.e. even when the activities are embedded on other parts of the WP instance (like the hypothes.is annotation pane, for instance, and/or websites other than our own). In order to do that, we think we'll need to do a few things:
We've built a (hardcoded) proof of concept for us to use locally that we think works, and are wondering whether we might be able to clean this code up and have you consider a pull request that does what we've described here? Any thoughts @limikael or @icc?
Please remove download option fro the rapper for any quiz or content type.
Fantastic app, thanks for the wordpress plugin/
I'm getting the following errors when saving most types of content
Warning: Invalid argument supplied for foreach() in /var/www/efoliodev/htdocs/blog/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php on line 1581 Warning: Invalid argument supplied for foreach() in /var/www/efoliodev/htdocs/blog/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php on line 1581 Warning: Invalid argument supplied for foreach() in /var/www/efoliodev/htdocs/blog/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php on line 1581 Warning: Invalid argument supplied for foreach() in /var/www/efoliodev/htdocs/blog/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php on line 1581
The content still appears to save though. I just can't release it to the students until its resolved thanks
Thanks,
Alex
First of all, a big thank you for bringing h5p to wordpress!
When creating new or trying to edit uploaded h5pcontent I receive the "Unable to create content directory." error and nothing is saved. Tried this both locally and on a web-server.
My guess is that it is a path issue (somewhere) and not permissions related. In the local installation it seemed that folders actually were created. But I'm not sure, they might have been created when I uploaded example-content.
Best regards
Aron
Hi,
I'm testing the new version (released 22 April) and it's translated only in wordpress parts (file .po and .mo), but not in all the others texts (files .json). I translated in Italian the entire software.
What's wrong? Thanks!
Frode,
Hi,
I have H5P installed on a multisite network. I'm the network administrator. Each site has a upload quota set.
When I upload files within the WordPress Media Library, the free quota space display on the site dashboard is updated immediately. As in, if I upload a 5 MB file, the free space goes down by 5 MB immediately.
However, with H5P uploads, the quota does NOT change. If I upload a 50 MB H5P video, the free space remains the same. In order to update the free space display, I have to upload a media file through the library to "refresh" the display. After I do that, the free space is displayed properly (including both the media library files and the H5P files).
Maybe the quota is cached and H5P uploads are not clearing the cache.
There is a deformity in table's style when screen size decreases...
I just use
tried to install plugin via gui in Wordpress backend , tried plugin install via ftp
Not able to install new content., here what gui says
No content types are available
Your site is having difficulties connecting to H5P.org and listing the available content type
I already spent hours for this, ist there any possiblity to send a few links , explanations.
....suppose Database was not generated, i don´t know for what reason?
i just set up a php logfile which is filled with the Lines beneath:
[22-Mar-2018 21:19:12 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_contents' doesn't exist für Abfrage SELECT hc.title AS title, hl.title AS content_type, u.display_name AS user_name, GROUP_CONCAT(DISTINCT CONCAT(t.id,',',t.name) ORDER BY t.id SEPARATOR ';') AS tags, hc.updated_at AS updated_at, hc.id AS id, u.ID AS user_id, hl.name AS content_type_id
FROM wp_h5p_contents hc
LEFT JOIN wp_h5p_libraries hl ON hl.id = hc.library_id LEFT JOIN wp_users u ON hc.user_id = u.ID LEFT JOIN wp_h5p_contents_tags ct ON ct.content_id = hc.id
LEFT JOIN wp_h5p_tags t ON ct.tag_id = t.id
LEFT JOIN wp_h5p_contents_tags ct2 ON ct2.content_id = hc.idGROUP BY hc.id ORDER BY hc.updated_at DESC LIMIT 0, 20 von do_action('wp_ajax_h5p_contents'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_contents, H5PContentQuery->get_rows
[22-Mar-2018 21:19:12 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_contents' doesn't exist für Abfrage SELECT COUNT(DISTINCT hc.id)
FROM wp_h5p_contents hc
LEFT JOIN wp_h5p_libraries hl ON hl.id = hc.library_id LEFT JOIN wp_users u ON hc.user_id = u.ID LEFT JOIN wp_h5p_contents_tags ct ON ct.content_id = hc.id
LEFT JOIN wp_h5p_tags t ON ct.tag_id = t.id
LEFT JOIN wp_h5p_contents_tags ct2 ON ct2.content_id = hc.id
von do_action('wp_ajax_h5p_contents'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_contents, H5PContentQuery->get_total
[22-Mar-2018 21:19:17 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_libraries' doesn't exist für Abfrage SELECT hl4.id,
hl4.name AS machine_name,
hl4.title,
hl4.major_version,
hl4.minor_version,
hl4.patch_version,
hl4.restricted,
hl4.has_icon
FROM (SELECT hl2.name,
hl2.major_version,
MAX(hl2.minor_version) AS minor_version
FROM (SELECT hl.name,
MAX(hl.major_version) AS major_version
FROM wp_h5p_libraries hl
WHERE hl.runnable = 1
GROUP BY hl.name) hl1
JOIN wp_h5p_libraries hl2
ON hl1.name = hl2.name
AND hl1.major_version = hl2.major_version
GROUP BY hl2.name, hl2.major_version) hl3
JOIN wp_h5p_libraries hl4
ON hl3.name = hl4.name
AND hl3.major_version = hl4.major_version
AND hl3.minor_version = hl4.minor_version von do_action('wp_ajax_h5p_content-type-cache'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_content_type_cache, H5PEditorAjax->action, H5PEditorAjax->getContentTypeCache, H5peditor->getLatestGlobalLibrariesData, H5PEditorWordPressAjax->getLatestLibraryVersions
[22-Mar-2018 21:19:17 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_libraries_hub_cache' doesn't exist für Abfrage SELECT * FROM wp_h5p_libraries_hub_cache von do_action('wp_ajax_h5p_content-type-cache'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_content_type_cache, H5PEditorAjax->action, H5PEditorAjax->getContentTypeCache, H5peditor->getLatestGlobalLibrariesData, H5peditor->getUserSpecificContentTypeCache, H5PEditorWordPressAjax->getContentTypeCache
[22-Mar-2018 21:19:17 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_events' doesn't exist für Abfrage SELECT library_name, max(created_at) AS max_created_at
FROM wp_h5p_events
WHERE type='content' AND sub_type = 'create' AND user_id = 4
GROUP BY library_name
ORDER BY max_created_at DESC von do_action('wp_ajax_h5p_content-type-cache'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_content_type_cache, H5PEditorAjax->action, H5PEditorAjax->getContentTypeCache, H5PEditorWordPressAjax->getAuthorsRecentlyUsedLibraries
[22-Mar-2018 21:19:20 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_libraries' doesn't exist für Abfrage SELECT hl4.id,
hl4.name AS machine_name,
hl4.title,
hl4.major_version,
hl4.minor_version,
hl4.patch_version,
hl4.restricted,
hl4.has_icon
FROM (SELECT hl2.name,
hl2.major_version,
MAX(hl2.minor_version) AS minor_version
FROM (SELECT hl.name,
MAX(hl.major_version) AS major_version
FROM wp_h5p_libraries hl
WHERE hl.runnable = 1
GROUP BY hl.name) hl1
JOIN wp_h5p_libraries hl2
ON hl1.name = hl2.name
AND hl1.major_version = hl2.major_version
GROUP BY hl2.name, hl2.major_version) hl3
JOIN wp_h5p_libraries hl4
ON hl3.name = hl4.name
AND hl3.major_version = hl4.major_version
AND hl3.minor_version = hl4.minor_version von do_action('wp_ajax_h5p_content-type-cache'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_content_type_cache, H5PEditorAjax->action, H5PEditorAjax->getContentTypeCache, H5peditor->getLatestGlobalLibrariesData, H5PEditorWordPressAjax->getLatestLibraryVersions
[22-Mar-2018 21:19:20 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_libraries_hub_cache' doesn't exist für Abfrage SELECT * FROM wp_h5p_libraries_hub_cache von do_action('wp_ajax_h5p_content-type-cache'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_content_type_cache, H5PEditorAjax->action, H5PEditorAjax->getContentTypeCache, H5peditor->getLatestGlobalLibrariesData, H5peditor->getUserSpecificContentTypeCache, H5PEditorWordPressAjax->getContentTypeCache
[22-Mar-2018 21:19:20 UTC] WordPress-Datenbank-Fehler Table 'd009bfe3.wp_h5p_events' doesn't exist für Abfrage SELECT library_name, max(created_at) AS max_created_at
FROM wp_h5p_events
WHERE type='content' AND sub_type = 'create' AND user_id = 4
GROUP BY library_name
ORDER BY max_created_at DESC von do_action('wp_ajax_h5p_content-type-cache'), WP_Hook->do_action, WP_Hook->apply_filters, H5PContentAdmin->ajax_content_type_cache, H5PEditorAjax->action, H5PEditorAjax->getContentTypeCache, H5PEditorWordPressAjax->getAuthorsRecentlyUsedLibraries
After the update to 1.9 some of our h5p content types aren't working anymore. For example "MultipleChoice" throws the exception Unable to find constructor for: H5P.MultiChoice 1.9
in the developer console of the Browser (FF56).
I already tried to update the content type cache with no luck. The "Libraries" says that Multiple Choice 1.9.2 is installed. Do you have any suggestions?
We're running H5P on a Wordpress multisite (an instance of Pressbooks, actually), and would like to have a greater ability to centralize, manage, and share H5P activities across the network, without having to activate H5P for each individual site and install the H5P libraries over and over again each time a new site activates H5P.
Here’s an ideal scenario or our use case:
When H5P is network activated on a multisite network, a single instance of the necessary libraries is installed and a shared H5P activity library is created for all sites on the network to use (the multisite behaves like a single supersite, essentially).
When a user creates a new H5P activity in a specific book/site in the network, that particular H5P activity receives a hard-coded tag that corresponds to the book/site’s identity in some way (perhaps the URL or the site title). They can add additional tags, but they can’t remove this tag. For example, if the book was “Portuguese" at http://testsite.com/portuguese, any time a user logged into the Portuguese admin panel created an H5P activity, it would automatically be tagged ‘Portuguese’, giving the user a reliable filter to find only those activities in the library that were created in/for that book/site.
When a user attempts to insert an H5P activity from the wordpress interface, the selection screen automatically loads with the hard-coded tag selected (so that the activities are already filtered by book/site). This tag can be removed/deselected by the user, however, allowing them to see all the H5P activities created and published on the network. For example, a user in the Portuguese book/site would click ‘Add H5P’ activity and the tag ‘Portuguese’ would automatically be selected, so that the user would only see H5P activities created on/for that book/site. If desired, however, they could X out Portuguese, and see any/all H5P activities created on the network, allowing them to insert an H5P activity created on/for another site in the network.
When users use the ‘Insert H5P’ button on the WYSIWYG, the embed code for the H5P activity is inserted rather than an id-specific shortcode. This way, if the wordpress title is exported or moved to a different server, the H5P activity will remain embedded and functional, without having to reimport/upload all of the H5P activities to the new server in exactly the same order.
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Hi,
Scenario
So we have a large multisite install that has a lot of student and staff blogs on it and we'd like them to use H5P to create learning content. What we can do is 'network activate' the plugin which works. However then the individual staff and students also need to upload the zipped libraries into each of their blogs. Unfortunately, this is beyond the capabilities of most staff and students :)
Ideal Scenario
I appreciate this is a significant new feature, and would require some kind of shared file location for the .hp5 files, but this is how most institutions running a multisite for student and staff blogs would want to work. i.e. getting individual students / staff to upload .h5p libraries for each of their blogs would simply be too much of a road block.
Hopefully that makes sense? Can you foresee this ever being developed in the future?
Thanks again for your support and fantastic product,
Alex
I'm not completely sure if this is the right place for an issue report or if I have to submit it to a general repository? Anyway, I encountered two problems:
1.) First of all creative commons licenses require a link to the license text ("provide a link to the license"). In the "rights of use" pop-up there is no such link:
2.) Creative commons license have different version numbers, e.g. the current one is 4.0: https://creativecommons.org/licenses/by/4.0/ - but there is also 1.0: https://creativecommons.org/licenses/by/1.0/
Problem is that there are legal changes and compatiblity issues: https://creativecommons.org/compatiblelicenses/
So the there is a need to specify a version of the license.
Right now it is implemented like that:
Additionally it would be awesome if you could include a custom license with a license link.
Thanks for the great work on h5p!
Best regards,
Matthias
I try to upload an image in content type "Collage" and take "Unable to upload image. The file is probably to large." . the size of image is 5kb. Does anyone have any ideas about it? I use xampp.
Thank you!
The H5P plugin allows users to bypass the maximum upload file size of a WordPress Multisite network as defined in Network Settings → Upload Settings → Max upload file size (default: 1500kb).
The file upload fails with a descriptive message informing the user that the file is larger than the network's maximum upload file size.
The file uploads, bypassing the network's settings.
I'm finding that even after a day of playing with this tool that I've got a LOT of learning objects and the list is quite hard to manage.
Would be really useful to have a way of managing the content e.g. folders
so you could create and name your folders and move objects into those folders. Clicking the folder would show the same sortable table list as you have for the 'root' content.
Hopefully that makes sense. Or perhaps a tagging system similar to the WP posts that allows you to filter by tags. That would also work.
Thanks again,
Alex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.