Importing existing Contents into Column

Hi,

is it possible to import existing contents (like Course Presentation) into Column?

Thank you

BV52's picture

Hi hsl-luzern,

I'm afraid importing contents into Column is not possible. Although there is a workaround by using the Iframe embeder and embedding the content that you created. To do this copy a part of the embed code from your Course Presentation i.e. https://h5p.org/h5p/embed/######. Here's a simple sample of an Iframe embedder in Column with an audio recorder as the embedded activity.

-BV52

Hi BV52,

thank you for your answer, that's pretty cool! I don't understand exactly yet what part of the embed code to copy. And what's the difference to copy just the URL adress.

thank you

BV52's picture

Hi hsl-luzern,

I edited my sample above to better explain this :-)

The embed code that is generated by the embed button will look like this: <iframe src="https://h5p.org/h5p/embed/219007" width="1048" height="484" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>. You have to remove most of it and leave this part https://h5p.org/h5p/embed/219007.

If you use URL it will embed the whole page including the heading with the H5P logo, links and more. The embed code will only embed the content part of the page. In the sample I created you will see that the first embeded object uses the embed code and the second uses the URL.

I hope this helps if you have further questions feel free to post it here.

-BV52

that was really helpful! But there is one thing I don't understand:

I embedded a Documentation Tool in the iFrame Embedder. It works fine (screenshot 1). But below the Documentation Tool there is a whole blank page (screenshot 2) that was't existing in the original and wich is very useless. Why does this happen?

Thanks al lot

Attachments: 
BV52's picture

Hi hsl-luzern,

You would have to adjust the height of the Iframe container in the editor. As you can see in my sample content the first iframe is 300px and the second is 700px if I'm not mistaken. It does have some trial and error factor in it but once you get the hang of it you will have a general idea on the size.

-BV52

This is what my embed code looks like...and I'm trying some combinations of what to keep but with no success. Are you able to help?

 

<iframe src="https://themobilemontessorian.com/wp-admin/admin-ajax.php?action=h5p_emb..." width="1098" height="738" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://themobilemontessorian.com/wp-content/plugins/h5p/h5p-php-library..." charset="UTF-8"></script>

 

And this is the URL of the three items I'm trying to put into a column. I didn't realize when I was making this page you couldn't stick them into a column later.

 

https://themobilemontessorian.com/lewis-and-clark-interactive-exploration-map/

 

This is what my embed code looks like...and I'm trying some combinations of what to keep but with no success. Are you able to help?

 

<iframe src="https://themobilemontessorian.com/wp-admin/admin-ajax.php?action=h5p_emb..." width="1098" height="738" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://themobilemontessorian.com/wp-content/plugins/h5p/h5p-php-library..." charset="UTF-8"></script>

 

And this is the URL of the three items I'm trying to put into a column. I didn't realize when I was making this page you couldn't stick them into a column later.

 

https://themobilemontessorian.com/lewis-and-clark-interactive-exploration-map/

 

otacke's picture

Hi!

"I didn't realize when I was making this page you couldn't stick them into a column later."

You can since summer/fall of 2018 by copying your content to the clipboard from within the editor and then pasting it into a Column.

Best,

Oliver 

I just found that :) I'm seriously new, as in three days and furiously trying to put my Montessori materials online for my students from home.

h5p is awesome, super addicting and flexible--well done! Thank you so much for making this free and so user-friendly, it's saving my butt right now.

Hi Oliver

you say you can copy CP or other content into a column I had trouble with this. I was hoping to copy to the interactive book, otherwise it will take me days to rebuild from an existing CP. 
I tried copy to clipboard and then change content type but that didin't seem to work. Importing content now seems more important now that we have more activities that combine objects. Can you please explain if it is possible and how. 

Cheers Scott (have a great xmas!!)

otacke's picture

Hi Scott!

I'll gladly try, but I fear I need a more clear picture of what you're trying to copy and paste where and how.

Best,
Oliver

Hi Oliver

looks like its not supported, which is a shame. I managed to make a multichoice, then copy to clipboard and then switch LO type to column and IB then paste but when I try the same technique with Course presentations it says "content in the clipboard is not supported in this context.

That's a shame as I'm sure that loads of people that have made content in course presentatons would like to bundle them all together in the interactive book or Branching.

Do you think this will be a future development? Any ideas if its being worked on? 

Cheers for your time

Scott

otacke's picture

Hi Scott!

You can only paste instances of Column into the Interactive Book. But you can paste any content that's available in Column into the Column content that's inside an Interactive Book. Notice that below the paste button that doesn't let you paste (that's for IB) there's a Column content that should also has a paste button, just enabled this time if Multiple Choice or Course Presentation or ... is in the clipboard.

Since I am not part of the H5P core team - just a regular fellow like you - I don't know anything about development plans.

Best,
Oliver

BV52's picture

Hi Scott,

Just to add to this the image below summarizes what Oliver mentioned:

Interactive Book

  1. Replaces the whole content.
  2. Paste a Column content
  3. Paste contents that can be created in Column.

Please note that there are existing bugs with pasting in Interactive Book as well as Column.

https://h5ptechnology.atlassian.net/browse/HFP-3003

https://h5ptechnology.atlassian.net/browse/HFP-3160

In regards to plans from the H5P core team I'm not sure yet. The H5P OER HUB is still keeping them occupied at the moment. Once it is released we may have a better idea on whats next.

-BV

Attachments: 

Thanks guys for all your comments and help. I have managed to copy and paste a course presentation but the ones I have do not work and I'm guessing that is because they are too large. I manage to copy and paste a 10 slide CP but I have a 45 slide and 75 slide to copy and paste and it does not allow these to be copy and pasted. Cheers anyway, at least I know it works, just not wit hlarge CPs

Have a great xmas

otacke's picture

Hi Scott!

Now I get it. That's only an indirect limitation of H5P. H5P uses the browser's so called local storage for copy and paste. That local storage is limited to a maximum size between 2MB and 10MB per website depending on the browser (https://www.geeksforgeeks.org/what-is-the-max-size-of-localstorage-values/).That's why large content cannot be copied/pasted.

Best,

Oliver 

I have managed to get 2 tabs open and copy and paste of 2 cps open, one by itsself and the other in interactive book and most items copy straight across, would be nice to have copy page though

Cheers again

Scott

otacke's picture

Hi Scott!

Not sure what a copy page is supposed to be, but maybe BV will understand.

Best,
Oliver

BV52's picture

Hi Scott,

I'm also not sure what you mean. Would it be a copying a slide?

-BV

hi 

when I click on install I get error

curl operation timed out after 30000 milliseconds with 687659 bytes received 

BV52's picture

Hi supriya _g,

You can also install the content type by downloading the sample content and uploading it into Wordpress.

-BV