Drupal 8 Interactive video end screen

Forums: 

Hi,

Is there any way in the api to change the contents of the end of video screen? I'd like to add some of my own buttons in addition to what's there.  If not is it possible to disable the end of video screen?

Also is it possible to automatically submit the points rather than the user needing to press the button?

Thanks,

Bez

Content types: 
BV52's picture

Hi Bez,

Adding/changing the buttons and automatic submission of the points would need changes in the code.

-BV52

Hi,

Is that in the core of the interactive library code.  I.e. is that something I can do through the H5P api or not?

Alternatively can I disable that end of video popup entirely so I can replace with my own if it's not easy to amend?

Thanks

Hi,

Are these changes in the code that can happen on my side wthout hacking the H5P library or not?

Thanks

BV52's picture

Hi Bez,

1. Changes would have to be made on the Interactive Video's library.

2. Yes you can replace it with something entirely different.

3. The changes needs to be done on your H5P plugin libraries.

Please note that changes will be overwritten when an update to the libraries are released. So either you create some sort of back up for these changes or create a pull request.

A visit to these documentation can provide you with additional details:

https://h5p.org/developers

https://h5p.org/contributing

-BV52