# Play H5P content in Open edX using h5pxblock
H5P Xblock provides ability to host and play H5P content in open edX. It has few more features
1. Ability to mark H5P content complete in open edX
2. Ability to capture score of H5P content in open edX
3. Save learner state which can be retrieved later
4. Ability to host H5P content on cloud storage like AWS S3
# Setup
### Install Xblock
```
pip install h5p-xblock
```
### Update Advanced Settings of course
Update course advanced settings by adding `h5pxblock`
![Update course advanced settings](https://github.com/edly-io/h5pxblock/blob/master/docs/images/course_advance_settings.png?raw=true)
### Upload H5P Content
Xblock should be available in Advanced component list of course unit now. Add xblock in unit and click "Edit" button to
upload H5P content and configure it.
![Upload and configure H5P content in Studio](https://github.com/edly-io/h5pxblock/blob/master/docs/images/upload_content.png?raw=true)
### Publish Content
Use "Preview" button to preview it or publish your content and use "View Live Version" button to see how it appears
on LMS
![Preview H5P content in LMS](https://github.com/edly-io/h5pxblock/blob/master/docs/images/preview_content.png?raw=true)
# Working with translations
You can help by translating this project. Follow the steps below:
1. Create a folder for the translations in `locale/`, eg: `locale/es_419/LC_MESSAGES/`, and create your `text.po` file
with all the translations.
2. Run `make compile_translations`, this will generate the `text.mo` file.
3. Create a pull request with your changes.
Raw data
{
"_id": null,
"home_page": "https://github.com/edly-io/h5pxblock",
"name": "h5p-xblock",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python edx h5p xblock",
"author": "edly",
"author_email": "hello@edly.io",
"download_url": "https://files.pythonhosted.org/packages/65/dc/9db6d6fe53ee1473e4f6f94d7e478642cceeb5480c9cd13b2da99fea2353/h5p-xblock-0.2.9.tar.gz",
"platform": null,
"description": "\n# Play H5P content in Open edX using h5pxblock\n\nH5P Xblock provides ability to host and play H5P content in open edX. It has few more features\n\n1. Ability to mark H5P content complete in open edX\n2. Ability to capture score of H5P content in open edX\n3. Save learner state which can be retrieved later\n4. Ability to host H5P content on cloud storage like AWS S3\n\n# Setup\n\n### Install Xblock\n\n```\npip install h5p-xblock\n```\n\n### Update Advanced Settings of course\n\nUpdate course advanced settings by adding `h5pxblock`\n\n![Update course advanced settings](https://github.com/edly-io/h5pxblock/blob/master/docs/images/course_advance_settings.png?raw=true)\n\n### Upload H5P Content\n\nXblock should be available in Advanced component list of course unit now. Add xblock in unit and click \"Edit\" button to \nupload H5P content and configure it.\n\n![Upload and configure H5P content in Studio](https://github.com/edly-io/h5pxblock/blob/master/docs/images/upload_content.png?raw=true)\n\n### Publish Content\n\nUse \"Preview\" button to preview it or publish your content and use \"View Live Version\" button to see how it appears \non LMS\n\n![Preview H5P content in LMS](https://github.com/edly-io/h5pxblock/blob/master/docs/images/preview_content.png?raw=true)\n\n\n# Working with translations\n\nYou can help by translating this project. Follow the steps below:\n\n1. Create a folder for the translations in `locale/`, eg: `locale/es_419/LC_MESSAGES/`, and create your `text.po` file\nwith all the translations.\n2. Run `make compile_translations`, this will generate the `text.mo` file.\n3. Create a pull request with your changes.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "XBlock to play self hosted h5p content inside open edX",
"version": "0.2.9",
"project_urls": {
"Homepage": "https://github.com/edly-io/h5pxblock"
},
"split_keywords": [
"python",
"edx",
"h5p",
"xblock"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9899559e23cdc0977c1e8d6367f4e97ac9bf2737dbb518aed5d7b4d98098c16d",
"md5": "7819ecefba032ba9c0359a8ee9b258ea",
"sha256": "e51228aefa1c92aa5f8bad11ebaf0b95d2d4f9becf3666a5b57120596a582e98"
},
"downloads": -1,
"filename": "h5p_xblock-0.2.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7819ecefba032ba9c0359a8ee9b258ea",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 32018,
"upload_time": "2023-12-08T10:11:46",
"upload_time_iso_8601": "2023-12-08T10:11:46.950529Z",
"url": "https://files.pythonhosted.org/packages/98/99/559e23cdc0977c1e8d6367f4e97ac9bf2737dbb518aed5d7b4d98098c16d/h5p_xblock-0.2.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "65dc9db6d6fe53ee1473e4f6f94d7e478642cceeb5480c9cd13b2da99fea2353",
"md5": "79ed9c1c1b17629bb9a1a3d27340f6e2",
"sha256": "eafdb1a40cc2a29e20ec878f151bf3d54468a5c2934298b02f29cc6ce9db9973"
},
"downloads": -1,
"filename": "h5p-xblock-0.2.9.tar.gz",
"has_sig": false,
"md5_digest": "79ed9c1c1b17629bb9a1a3d27340f6e2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20793,
"upload_time": "2023-12-08T10:11:49",
"upload_time_iso_8601": "2023-12-08T10:11:49.058089Z",
"url": "https://files.pythonhosted.org/packages/65/dc/9db6d6fe53ee1473e4f6f94d7e478642cceeb5480c9cd13b2da99fea2353/h5p-xblock-0.2.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-08 10:11:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "edly-io",
"github_project": "h5pxblock",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "h5p-xblock"
}