h5p / h5p-branching-scenario

29 stars 55 forks source link

"Prevent proceed" function does not work in Chinese, Japanese, Korean environments #133

Closed samumist closed 1 year ago

samumist commented 1 year ago

Issue Description

The "Prevent proceed" function does not work in Chinese, Japanese, Korean environments. However, it works fine in English, German, and Spanish, of the few language I tested.

Steps to Reproduce

  1. Set the language of the environment to Chinese, Japanese, or Korean with LUMI.
  2. Create a branching course with only 1 video.
  3. Enable the "Require to watch" option for the video.
  4. Attempt to use the "Prevent proceed" function.
  5. Observe that the function does not work as expected.

Expected Behavior

The "Prevent proceed" function should disable the "proceed" button. It doesn't in Chinese language environment.

截屏2023-06-15 17 35 23

Actual Behavior

The "Prevent proceed" function does not disable the 'proceed' button. Same course, opened in an English/German/Spanish Environment, the 'proceed' button is disabled.

截屏2023-06-15 17 36 10
otacke commented 1 year ago

Just amending:

I can reproduce the behavior on LUMI if I set LUMI's language to Japanese for instance (the language of the content does not matter). There are no messages on the development console.

However:

This may be some strange, yet interesting issue in LUMI, not Branching Scenario - or maybe something that occurs when combining both that either side could fix/work around.

@samumist You should H5P related report bugs at https://h5p.org/forum/9 not here (here reports tend to get not get handled). You can report issues with LUMI using the "Report issue" item in LUMI's "HELP" menu.

samumist commented 1 year ago

Thank you, @otacke, for your help. It appears that the issue may be related to Lumi. I have experienced a similar problem with another content type you created, specifically the 'Image Choice Round' which functions properly on WordPress but not on Lumi.

To confirm whether this is a Lumi-specific issue, I will conduct additional tests on various platforms. If my findings support this hypothesis, I will report the issue to LUMI.

samumist commented 1 year ago

I tested on WordPress and Moodle (Official H5P plugin), both working as expected. It is indeed a Lumi related issue. I'm closing this and will report it to Lumi directly.