In order to use H5P in Moodle, you need to install an external plugin:
https://moodle.org/plugins/mod_hvp
However, the Moodle community is working hard on integrating H5P in Moodle core. See more information about it here:
https://moodle.org/mod/forum/discuss.php?d=390359
Please note that there is a new forum dedicated only to "H5P", so you can ask questions there:
https://moodle.org/mod/forum/view.php?id=8603