Moodle embed should show original course information

jarvil's picture

Hello,

How can I know from which course the H5P-embed code have been taken from originally? The url https://moodle.com/mbed.php?id=161 takes me straight to the H5P and I cannot tell from which course it is from. There should be a way to tell from which course the original embed code is taken from.

<iframe src="https://moodle.com/mbed.php?id=161" width="780" height="464" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://moodle.com//mod/hvp/library/js/h5p-resizer.js" charset="UTF-8"></script>

Summary: 
Moodle embed should show original course
Content types: 
0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
thomasmars's picture

Hi,
This is how Moodle structures their URLs, and to my knowledge there is nothing we can do to change this. One possible way may perhaps be to add it as a query parameter, but the data has no purpose for the view so it is not a good solution. Do you have an example of how another plugin does this ?

jarvil's picture

Hello,

I don't have examples but I found a work-around, if you pick the embed URL from the

code http://xxxx.xxxx/moodle/33x/mod/hvp/embed.php?id=419

and change embed.php to view.php you can see the original course page.

 http://xxxx.xxxx/moodle/33x/mod/hvp/view.php?id=419