How to use H5P in plain HTML 5,PHP and Mysql?
Submitted by kovarthanan on Fri, 09/26/2014 - 07:37
I would like to use one of the samples in my plain html or plain PHP page with a MySQL backend.
I dont wish to use wordpress or joomla or drupal.
Can this be done ?
Can I call a JS function or a CSS class from within this plain html5 page?
Please keep me informed.
Fri, 09/26/2014 - 11:08
It can be done. But, what
It can be done. But, what exactly are you trying to accomplish? Do you need the H5Ps to be editable (using the web browser) on your site?
Fri, 09/26/2014 - 11:45
Yes, Using Web browser
Yes i need to apply in my site.
Fri, 09/26/2014 - 13:21
Sorry, but I do not
Sorry, but I do not understand what "apply in my site" means. Do you need the editor on your site?
Fri, 09/26/2014 - 13:31
Yeah, I need editor to my site to create e-learning module.
Fri, 09/26/2014 - 13:33
Then you have to implement
Then you have to implement the platform specific code. You could look at how this is done in the H5P plugin for e.g. wordpress.
Fri, 09/26/2014 - 13:42
Using PHP and HTML 5
I dont want to use any framework. I need to implement H5P using core PHP and HTML 5 alone.
Fri, 09/26/2014 - 13:49
That's ok. I'm not saying you
That's ok. I'm not saying you need a framework. I am trying to say you could look at the wordpress-implementation, and convert it to "core PHP".
Fri, 01/23/2015 - 21:54
Hi fnoksIsn't the https:/
Isn't the https://github.com/h5p/h5p-php-library a general PHP version that isn't specific to any franework?
If so, could you please send some documentation about how to get it up and running on a simple PHP server. I am not a PHP expert - I'm just picking it up so I can see H5P in action.
Mon, 01/26/2015 - 11:16
Yes, we have a generic PHP
Yes, we have a generic PHP library for H5P core and also the H5P editor. However they don't work stand alone. They are plugins for publishing platforms. We don't have documentation for creating new publishing platform plugins yet.
You may try out H5P by pressing the Test Drive link at the front page of H5P.org.
Thu, 01/22/2015 - 16:36
Has anyone taken this any further?
Does anyone know of any progress in this area to get H5P running in core PHP or in any other language like python (flask or django)?
Mon, 01/26/2015 - 11:17
We're planning to improve our
Mon, 01/26/2015 - 15:53
Thanks FalconThe notes on the
The notes on the php general library github page say:
Any interaction with LMS, CMS or other frameworks is done through interfaces. Plattforms needs to implement
the following interfaces in order for the h5p libraries to work:
- TODO: Fill in here
In addition frameworks need to do the following:
- Provide a form for uploading h5p packages.
- Place the uploaded h5p packages in a temporary directory
Is there any chance you could give some more detailed guidance as to what needs to be done to integrate into core php site build. In particular the TODO list.
I'd love to get this up and running on my site as I think this single file portability is a massive win for reusability and the growth of resources available. If only it was easier to incorporate the functionality into a generic PHP or Python web framework.
Thanks to you guys for developing this and providing it freely for us to use.
Tue, 01/27/2015 - 11:29
We're planning to add a
Sat, 01/14/2017 - 18:41
This topic is quite old, but I'm interested as well in a plain php version without need to have a wordpress website or other frameworks. Is there any updates about this topic? Thank you!
Mon, 01/16/2017 - 09:27
Hi mungle, unfortunately
Hi mungle, unfortunately there isn't any documentation on writing a plain php version of H5P. There has been some discussion on porting H5P to django:
Hopefully the information there will be of some relevance.