Interactive Video: MC option text expanding beyond div

I've noticed that for some of my multiple-choice questions in Interactive Videos, the text of an answer option expands beyond the containing div (see attached screenshot). I've tried playing around with some of the CSS properties (e.g., word-wrap) of the container and answer div, but to no avail so far.

BV52's picture

Hi spazfox,

I am unable to reproduce this issue on my end. In order give your bug report the best chance of getting answered, please include the following information:

  1. Steps to recreate the bug
  2. Platform you're using: Drupal, Wordpress, Moodle (version number would be helpful as well)
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type version
  7. Can you reproduce this issue everytime to reach a certain number of characters.

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!


Thanks. I was unable to reproduce the problem on fresh content, too, and realized that it must have been due to the original content creators copying and pasting text from a word processing program or something. When I completely deleted what they entered and manually retyped it into the H5P editor, it worked fine (i.e., without extending beyond the container divs). Perhaps there is a bug with the H5P text editor not appropriately stripping out any extraneous tags?

BV52's picture

Hi spazfox,

It's good to hear that you found what is causing the issue. 

Yes you might be correct regarding extraneous tags. I created a report to get this checked.