• Resolved ace63

    (@ace63)


    Hello,

    I have downloaded this plugin and the right-click works on my website pages but it doesn’t work on H5P content within my page. Text and pictures can easily be copied.

    How can I extend this plugin onto H5P content?

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Plugin Support Adam Salah

    (@adam1318)

    Hello,

    Thank you for your question.

    H5P plugin uses iframes method to put its content inside the WordPress or inside its own iframes.
    Iframes mainly work outframe the activated plugins since it is standalone and this is technically impossible.
    however, you can prevent the selection manually by editing this file
    https://www.plugin-labs.com/wp-content/plugins/h5p/h5p-php-library/styles/h5p.css

    and paste at the bottom of it, the following:

    body, div, p, span{ cursor: inherit ; user-select: none !important;
    -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none;
    -ms-user-select: none;
    }

    Note: when you update the H5P plugin, the file will back to its original content, so this action needs to be repeated after each update.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘How can I protect H5P content with this plugin?’ is closed to new replies.