Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › How to add H5P content into Units using shortcodes
- This topic has 6 replies, 2 voices, and was last updated 2 years, 9 months ago by Anshuman Sahu.
Viewing 7 posts - 1 through 7 (of 7 total)
-
AuthorPosts
-
June 11, 2021 at 10:50 am #361128rfjardimParticipantDear Support, How do I add this type of content into Units? I read this already: https://wplms.io/support/knowledge-base/wplms-h5p-addon/ This one didn't work. https://wplms.io/support/page/2/?s=shortcode+units&ht-kb-search=1&lang And none of them did say clearly how to do it. I am using this plugin to create H5P content: https://wordpress.org/plugins/h5p/ If there is another way to add the content that is not shortcodes, that's OK ... as I just need to add the content into units. Thank youJune 11, 2021 at 11:55 am #361134rfjardimParticipantI managed to get an activity displayed using the system's option (Add H5P element), but there are no configuration options. Thus the element is dis-configured. See the screenshot ... I would like to set the size of the element. I have tried using the embed iframe option and the result is the same> an element with fixed size that cannot be changed, even though it's size is on the code, take a look on the screenshoot. https://i.postimg.cc/LXfs0fqB/Screenshot-from-2021-06-11-08-48-42.png The element on the top was added using the system's option (https://i.postimg.cc/3J9x63w6/Screenshot-from-2021-06-11-08-44-32.png) https://i.postimg.cc/1XQzxtwx/Screenshot-from-2021-06-11-08-52-46.png The element at the bottom was added using the code aboveJune 11, 2021 at 12:16 pm #361140rfjardimParticipantI have watched this video: https://www.youtube.com/watch?v=Wbby9lIi3AQ And the result is very clear: the element is perfectly aligned and framed. I also see someone who had a similar problem, and on this thread it seems there was no solution: https://wplms.io/support/forums/topic/units-not-properly-displaying-h5p-contents/ https://www.youtube.com/watch?v=UDb6CV8LGqMJune 11, 2021 at 12:29 pm #361144rfjardimParticipantI logged in as a student, there are two different results: https://i.postimg.cc/cCxNM8fJ/Screenshot-from-2021-06-11-09-23-01.png We can conclude three things: 1 - When adding content to a unit, what we see on screen will look different on the course's unit's screen. 2 - Using the adding h5p content option works fine, but there is no way to configure the size of the element 3 - Using iframe option also works, but the element is not configured properly nor uses the size defined in the iframe codeJune 11, 2021 at 2:33 pm #361159rfjardimParticipantI found another dead and unsolved thread with a similar issue: https://wplms.io/support/forums/topic/iframe-issue-resizing-to-small-fram/June 11, 2021 at 3:50 pm #361164rfjardimParticipantI managed to get it to work somehow, like so ... https://i.postimg.cc/7hc6hVTz/Screenshot-from-2021-06-11-12-44-51.png https://i.postimg.cc/hvhvKwhg/Screenshot-from-2021-06-11-12-45-00.png Is the the only way? Is there another? what I did was to extract the embed link generated by h5p, then selected only the link and ignored the rest, then went and added the element onto the iframe shortcode. I was using the Vibe interface and didn't manage to do that .. I had to use the default Wordpress interface and go back to basics. What are the ways to achieve that using the Vice interface? Thank you https://i.postimg.cc/X7CNx9C2/Screenshot-from-2021-06-11-12-48-30.png https://i.postimg.cc/7hc6hVTz/Screenshot-from-2021-06-11-12-44-51.png https://i.postimg.cc/hvhvKwhg/Screenshot-from-2021-06-11-12-45-00.pngJune 12, 2021 at 2:06 pm #361249Anshuman SahuKeymasterthis is how you can add the content using h5p plugin in wplms v4 : https://wplms.io/support/knowledge-base/h5p-integration-with-wplms-4-0/
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)
- The topic ‘How to add H5P content into Units using shortcodes’ is closed to new replies.