how to edit h5p
Submitted by tamil on Sat, 11/11/2017 - 08:51
Forums:
i try to edit h5p file it was changed but upload that file on wordpress to changed on old h5p anyone tellme .
i try to edit h5p file it was changed but upload that file on wordpress to changed on old h5p anyone tellme .
Navigation
Connect with H5P
About
H5P is a registered trademark of H5P Group
Privacy policy |
Copyright ©
2025
fnoks
Tue, 11/14/2017 - 12:52
Permalink
I would like to help you, but
I would like to help you, but it's really hard understanding what kind of problem you are having or what you are trying to achieve. Please elaborate!
tamil
Wed, 11/15/2017 - 05:15
Permalink
i try to modified fill in the blank to change css on blanks.css
How to do it in Wordpress for newbies ;)
For newbies like me, this documentation was difficult to understand so I thought that I could help others by detailing how I managed to do this on Wordpress.
<?php/*** H5P Mods Plugin.* Alters the way the H5P plugin works.* @package H5P* @author Joubel <<a href="mailto:[email protected]">[email protected]</a>>* @license MIT* @link <a href="http://joubel.com">http://joubel.com</a>* @copyright 2015 Joubel** @wordpress-plugin* Plugin Name: H5P Mods* Plugin URI: <a href="http://www.h5p.org">http://www.h5p.org</a>* Description: Overrides the H5P native H5P CSS with your own adjustments.* Version: 0.0.1* Author: H5P* Author URI: <a href="http://www.h5p.org">http://www.h5p.org</a>* Text Domain: h5pmods* License: MIT* License URI: <a href="http://opensource.org/licenses/MIT">http://opensource.org/licenses/MIT</a>* Domain Path: /languages* GitHub Plugin URI: <a href="https://github.com/h5p/h5pmods-wordpress-plugin">https://github.com/h5p/h5pmods-wordpress-plugin</a>*/// If this file is called directly, abort.if(!defined('WPINC')) {die;}/*** Allows you to alter which stylesheets are loaded for H5P. This is* useful for adding your own custom styles or replacing existing once. ** @param object &styles List of stylesheets that will be loaded.* @param array $libraries The libraries which the styles belong to.* @param string $embed_type Possible values are: div, iframe, external, editor.*/functionh5pmods_alter_styles(&$styles,$libraries,$embed_type) {$styles[] = (object)array('path'=>'/custom-h5p.css','version'=>'?ver=1.0'// Cache buster);}add_action('h5p_alter_library_styles','h5pmods_alter_styles', 10, 3);?><code>html.h5p-iframe .h5p-content {font-size: 20px; /* size of the font used in H5P content */color: #5a5a5a; /* color of the H5P content */}</code>Hope this is helpful for newbies like me !
tamil
Wed, 11/15/2017 - 05:17
Permalink
not changes on uploading
nothing happens on css files so pls helpme i try to you tube any tutorial on this but nothing in devlopement
fnoks
Thu, 11/16/2017 - 13:12
Permalink
Hi,Can you check if your
Hi,