Remove embed and download options

Hi, is there an easy way to remove the embed and download options showing at the bottom of the screen? I think about using your plugin to create activities for children as part of our course and wouldn't like parts of our course end up being downloaded and embeded on other sites.

Thanks in advance for any suggestions, Monika

In Edit mode, simply uncheck those tickboxes from the publish options.

ddimonte's picture

Hello,

I have a content H5P in my moodle course and added a "video" to a slide.  I "unchecked" the download option in the video, but when we save the slide, it still shows the "download" button in the player control.  We don't want users downloading the video, how do I get rid of this?

 

thomasmars's picture

Hi,
Under "Display options" header, un-check "Download button". Then save the content. When the H5P shows up in the view the "download" button should not be visible. If the button does not show up go to the plugin settings "plugin" -> "H5P Settings" and choose "never show" for download button, or "controlled by author, default is on/off" then go back to the settings of the H5P and uncheck the "Download button" option, which should be showing now. If this does not work for you, please provide detailed steps on how you can reproduce this and which Moodle version you are on.

Hi Thomas, 

I got this problem and am not sure if it is the same as in this thread of inquiry...

I am using image hotspot. Each hotspot is attached with a Vimeo video. Under 'Display Options', I unchecked 'Display Download button' and 'Display Embed button'. So it is working that under the frame of the image, there is no H5P download and embed icons. BUT, when I click on a hotspot and get the video frame coming up, there is this download icon at the bottom of the media player. See the screenshot attached.

I have disabled 'download' in Vimeo for the video. When I directly embed the vimeo video in a webpage and paly it, no download icon.   

Anything else I need to configure in my site to remove this icon? It is WordPress 4.8

Thanks!

 

Chloe

As long as it is not the iframe embed code to be used, the download icon of a Vimeo video will be visible if hyperlinking the video.

I am wondering if anyone has submitted a feature request re: making 'embed ifram code' option available for inserting videos in H5P content...hope this can become available soon... Thanks! 

BV52's picture

Hi ucalgarycme,

I think I've seen several request similar to this, here is one example.

-BV52

Hello,

I have a vicious circle. I need the embedded box checked, to bring the code to a html module on my website.

But then, this module displays the option to view the embedded code and we do not want it to be displayed. And if I uncheck the box of embedded code in my account H5P, then I can not bring it to my web html module.

How to solve this?

Thanks and regards,

Juanjo

falcon's picture

If you use WordPress see the WordPress config page.

Best,
Svein-Tore

 

Hello,

Thanks for your interest and help.

The html module is in a page created on Joomla.

The exercise looks good and works well, but we wish to remove the option of embedded code.

Kind regards,

Juanjo

falcon's picture

Oh, have you created the H5P here on H5P.org? Then it isn't currently possible to remove the embed code button. We will make it possible in the future.

Hello,

Yes, the content was created in H5P.org.

We would be grateful if we could turn it off in the future.

Thanks and regards,

Juanjo

After you create your content, get the embed code, then go back to edit and uncheck the option. The embed code will still work even after you do this (but the download and embed action bar and frame won't be there).

falcon's picture

You're right about that it seems :) It's not like that on WordPress afaik. In the future there will be separate settings for what buttons will be displayed in embed mode and normal mode and it will be possible to turn off embed in Drupal.

Hi Falcon, do you know if this feature is on the roadmap for the near future. I am facing the vicious cycle situation in Wordpress (turn embed on, can embed, but embed button shows up on the content) and also need the embed function to work in Moodle. Because of the way Moodle resources and activities are designed eg separate assets, it is really important to be able to embed the content in the body of a page/course however we don't want students getting the embed code. Thank you, Sarah

fnoks's picture

Hi Sarah,

This is at least nothing were are working on for the next release. It might be done later if enough users need this functionality. Here is a relevant issue: https://github.com/h5p/h5p-moodle-plugin/issues/30

Thanks for the link fnoks - it sounds like a promising solution. 

Is there already a solution for disabling the download button in the video-player frame?  Would be very nice!

tim's picture

Hi Erho, I don't think a solution has come up just yet.

telugu's picture

Hi,

I am trying to use h5p activity in Moodle. Is there any way that I can enable show solution button after user checks whether its right or wrong ( I am using Image sequencing

BV52's picture

Hi telugu,

There is an option in the behavioural settings to show solution. You can also see this sample here.

-BV52

vickirush's picture

Hi! Suddenly I can't seem to uncheck the download/embed option on my H5P activities. I uncheck the boxes but after saving it shows up again. 

I've just updated H5P module and I'm using Moodle 3.10.

I've tried all the options on the H5P configuration module, that are shown on the image,... nothing works.

otacke's picture

Hi!

Have you tried to change the setting for "Botón descarger" and "Botón Embedido" to something else than "siempre" and leave that option to the authors for example?

Cheers,
Oliver

vickirush's picture

Yes! I actually tried them all. Apparently, there's a bug... 

otacke's picture

It's working on my end. When I change those to e.g. "let the author select", then authors can change that setting.

I don't know if the H5P core team is aware of any bug - and in order to confirm, you'd probably have to outline that problem in detailed steps, not broad descriptions.

Best,

Oliver 

BV52's picture

Hi vickirush,

I agree with Oliver this also works on my end. I think some additional details might help. You can use the information that is asked in the bugs forum as a guide on what information may help the community diagnose the issue.

-BV 

vickirush's picture

I'm installing the plugin again and hopefully won't present any bug... I'm doing it in a 3.10.3 Moodle version and I'll keep you posted if I need extra help.

Thanks for the bug report page, I surely use it if it happens again.

 

Did it work to you (Reinstalling the pluggin)? we are having the same problem here. Since the update, the bar is always there, like a ghost. We click to remove, save and it is there, if you open the config again, it is clicked to show... and if you open to change something in a h5p that is working normally (without the embebed bar), it will show the bar as soon as you save. It is anoying. 

vickirush's picture

Hi! I re-installed the plugin and now it's working with no problem... weird.

Hi, 

I saw this suggestion below and tried it out, but it didnt work. Content unavailable was displayed after I disabled embed button. Any suggestions? Thanks!

The embed button provides a quick way of getting the embed code but this is not necessary to embed the content. So what you can do is enable the embed option when creating the content. Once created retrieve the embed code by clicking the embed button. You can then disable the option afterwards. You can still use the code that you retrieved even with the embed button disabled.

Hi everybody,

I am embedding H5P activities from WordPress into Simplero (all-in-one platform with LMS).

I tried to copy the code and then disable the embed button, but it stops the content from loading.

Who's got a workaround?

Thanks!

otacke's picture

Hi!

There's no workaround, but regular options.

1) You can set 

define('H5P_EMBED_URL_ALWAYS_AVAILABLE', TRUE);

at the end of your wp_config.php file or in your theme. This will allow to use the URL for embedding regardless of showing the embed button or not. Please note, however, that this is automatically true for all contents. Please also note that people may not be able to get the embed link via the button, but it's still able to get if from the page's HTML code if you see it and the URL scheme that H5P uses is not a secret and very simple, so people can find you content by simply trying some URLs if they want to.

2) You can define your own more complex rules using the embed_access hook that H5P adds to WordPress. Please see https://h5p.org/wordpress-customization and https://github.com/h5p/h5pmods-wordpress-plugin/blob/master/h5pmods.php for details.

Cheers,
Oliver