Moodle embed should show original course information
Submitted by jarvil on Tue, 02/20/2018 - 10:20
Forums:
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:
thomasmars
Wed, 02/21/2018 - 15:51
Permalink
Hi,This is how Moodle
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
Tue, 03/06/2018 - 07:26
Permalink
Hello,I don't have examples
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