html on the questions
Submitted by daherele on Wed, 05/06/2015 - 19:18
Forums:
It's possible insert html on the activities? I want insert a image, for example, in some question in single choice set activities. Thanks!
It's possible insert html on the activities? I want insert a image, for example, in some question in single choice set activities. Thanks!
Navigation
Connect with H5P
About
H5P is a registered trademark of H5P Group
Privacy policy |
Copyright ©
2024
falcon
Thu, 05/07/2015 - 15:29
Permalink
It's not possible at the
frankw
Tue, 05/12/2015 - 00:49
Permalink
HTML link
Hi, I would like to include a url in the "click & drag image" for the Course presentation
Would you be able to point me to the files I need to work on to make this happen?
Thanks
falcon
Tue, 05/12/2015 - 13:03
Permalink
Hi, I don't understand. What
frankw
Tue, 05/12/2015 - 14:47
Permalink
HTML
Hi, I would like to make an "image clickable" by adding a URL to the image - I don't see a way to do that now - how would I go about making changes to the code?
falcon
Wed, 05/13/2015 - 09:05
Permalink
I understand. Are you using
I understand. Are you using Wordpress or Drupal? With Drupal you could try to do this by adding a link field to the images you want links on using hook_h5p_semantics_alter, and add a js that adds the links to the images via hook_h5p_scripts_alter.
I'm not sure if you're able to get all the data you need in your javascript but it is worth a try. You could also modify H5P Image and add a link to it directly and make a pull request for it but I'm not sure if it will be accepted so doing it via the api is better if it is possible. Would be nice if you could write your experiences here if you decide to do this.
H5P drupal API: http://cgit.drupalcode.org/h5p/tree/h5p.api.php
H5P.Image repo: https://github.com/h5p/h5p-image
frankw
Wed, 05/13/2015 - 19:42
Permalink
Thanks
We are using Drupal - I will give this a shot and get back to you
jukka79
Sun, 06/21/2015 - 07:22
Permalink
HTML in the feedback texts
hi,
Is it possible to add HTML in the feedbacks, for example, here in the multiple choice question:
"You did not pass this time.
You got 1 points of 5 possible."
(Add here HTML like links etc.)
I am using Drupal 7 and was not able to change the editor text type
falcon
Mon, 06/22/2015 - 11:52
Permalink
I think this documentation
I think this documentation page might help. Note that you also probably need to change the field widget to html.
jukka79
Mon, 06/22/2015 - 13:40
Permalink
thanks
Hi, thanks a lot. Ill take a look.
milanofr
Sun, 07/19/2015 - 17:25
Permalink
insert a swf in course presentation
Hi, is it possible to insert a swf file instead of an image?
Thanks for your answer
falcon
Mon, 07/20/2015 - 09:44
Permalink
Not by default. You'll need
Not by default. You'll need to make some customizations to allow that. This the most relevant part of the documentation:
http://h5p.org/adding-text-editor-buttons
Sarrah
Thu, 03/23/2017 - 16:26
Permalink
How integrate h5p content in html page?
I create a content (.h5p) and i would to intégrate it in a html page, i copy the code and make it in html page but it doesn(t work, is there ho have the same problem and he was resolved it, please help me i need it in my graduate project
tim
Thu, 03/23/2017 - 17:17
Permalink
Hi Sarrah, take a look at
Hi Sarrah, take a look at embedding iframes:
https://www.w3schools.com/tags/tag_iframe.asp
H5P's can be embedded in exactly the same way. Try copying the embed link at the bottom of each of the examples.
Good luck!
otacke
Thu, 03/23/2017 - 17:18
Permalink
Should not be a big deal ...
Hi Sarrah!
Do you want to embed the H5P content from the page that you created it on, or do you want to use an H5P file that you downloaded? In the former case, you would simply have to include the iframe code that's presented to you when clicking on the embed button. In the latter case, you might want to look at a project that allows you to use H5P content without a full blown content management system. You basically just have to unzip an H5P file into the folder called workspace and you are good to go.
Miquel Fuster
Thu, 12/28/2017 - 18:12
Permalink
Change text by html in custom feedback in Quiz
I take a look to this code, but I'm not a developer and I don't know what I have to change. Can somebody help me with the code, please? I'm using Drupal 8.
I need this to add a link to the next Quiz depending on your results.
Thanks,
Miquel
thomasmars
Thu, 01/04/2018 - 16:49
Permalink
Hi, what have you tried so
Hi, what have you tried so far and where are you stuck ?
You will probably need some developer knowledge/resources for accomplishing this.