Copy Paste HTML from course to course

Is there a way to copy / paste the html from one course to another?

I have 29 different H5P interactive vids that I need to insert into 8 different courses.

To make it easier I inserted ALL 29 H5P interactive vids into ONE page in ONE course
then copied the entire html and pasted it into a new page within each of the different courses.
Alas, this did not work: All students got the attached error. This is due to the target course code being different source code- eg SSCO-69161

The only way to make them work seems to be to individually insert each and every interactive vid into each
and every course! (232 individual insertions!)

Attachments: 
otacke's picture

Hi jorganiser!

Your approach doesn't work, because moodle attaches the contents to the course, and you cannot access them if you're not a participant of that course.

You could e.g. download each H5P content using the download button in the lower left corner beneath the content view (unless zou or the moodle admin deactivated this feature). In the other course, you can then start inserting a new H5P content, but instead of creating it from scratch, just upload the downloaded file.

The next update of H5P will also provide a copy&paste option for content, so the detour using download/upload won't be necessary.

Best,
Oliver

Hello, 
would you mind giving us an update on this statement below?

'The next update of H5P will also provide a copy&paste option for content, so the detour using download/upload won't be necessary'.

This is a super useful/needed feature. I know there's a way to copy and paste a single element, but the capacity to copy and paste multiple elements at once would be an incredibly time-saving feature. 

Thanks!

otacke's picture

Hi Delta!

What kind of update on that statement do you expect? The feature was released some time ago. I don't know what the core team is planning, but I've neither come across a ticket on extending the copy&paste feature nor have I noticed something in the code last time I had a look at the H5P core.

Cheers,

Oliver