Interactive video - button color


Idea is to pause video (vimeo hosted) on certain time (0:05)  and overlay it with 3 text buttons - each having interactions:

  1. button - opening simple text "This is wrong solution"
  2. button - opening "This is wrong solution" and going to another http page (different page in Moodle course)
  3. button - opening "Congrats" and then continuing video (go to on click -  timecode 0:06)

Buttons 1 and 2 are blue.. why is button 3 green? If I change Go to on click from Timecode to another URL - button is blue.

Platform used: Moodle 3.6.2+, H5p 1.18

Browsers tested: Firefox v 68.0.1 (latest) , Chrome v 75.0.3770 - windows 7



BV52's picture

Hi Sebastian,

Now I understand what you mean. This is a normal behaviour of the content. The icon is different for timecodes to distinguish it from the other 2 option which shows text/URL. I know this is will not work with how you intend to use "text".



thank you for your reply.

As I am trying to make "game/interactive decision tree" - different button color is making it too easy for students..

I can somehow "hack it" right (override css r something)?

BV52's picture

Hi sebastjan,

You are correct this is possible by using a PHP hook, to add your own CSS-file to the content type. Please visit the Visual Changes page for more details.