Content creation

Discussions related to "the good and proper use" of H5P as a content creation tool

how to give a user URL option based on results

I am creating a test so that if a user passes a quesiton set, he needs to have a link to a certain page, or be redirected there automatically, and if the  user fails he has URL to a different page. is this possible? The pass/fail video option is currently the only option to display to pass / fail users.

Add Source Button to h5pEditor

Can anyone point a way to do this? By following the instructions at https://h5p.org/adding-text-editor-buttons I have built a module with an after_build hook and manage to add tags and buttons to the h5peditor tool bar, but I cannot seem the add the Source (i.e. sourcearea) button plugin? I ahve downloaded the plugin and the js to load it is being run but the H5PEditor.HtmlAddons.text.sourcearea function id never breing called? Any ideas?

Thank you

Pages