Change the last digits of h5P embed id in WordPress

Hi,

I am looking for a way to change the last digits of h5P embed id that is generated automatically in the Wordpress environment upon content creation. Currently the id's follow a set sequence 1,2,3,4,...etc. which makes it easier for the students to guess the other content from source links in iframe. I am giving a sample embed code that is generated in wordpress. Can we change the bold number 1 to something else?

<iframe src="https://www.example.com/.........?action=h5p_embed&id=1" width="631" height="416" frameborder="0" allowfullscreen="allowfullscreen" title="Example Content"></iframe>

How can we do it? Is there a way to ensure this protection?

Thanks

Vir

fnoks's picture

Hi,

I don't think you can change the id, unfortunately. Another option would be to test out h5p.com, where the IDs are not sequential numbers. It also offers the possibility to protect the public content when embedded externally.