EduardoKrausME / moodle-mod_supervideo

8 stars 5 forks source link

Super Video interferes with Drag and Drop functionality on the course page. #18

Closed sokunthearithmakara closed 11 months ago

sokunthearithmakara commented 11 months ago

I'm not sure if it's an intended functionality of super video to work with Drag and Drop, but it does not seem to work correctly.

Steps to reproduce:

  1. On the course page, turn edit mode on.
  2. Open a web page with text on a separate browser tab.
  3. Select some text on the webpage.
  4. Drag the selected text across the tab to the course page tab.
  5. Drop the text on a course section.
  6. A popup shows up with an option to "Add video with Super Video".
  7. Select the option
  8. An error shows up "Exception - Undefined constant "mod_supervideo\grade\GRADE_TYPE_VALUE""

image

eduardokraus commented 11 months ago

I greatly appreciate you for sharing your insights into the functioning of Super Video on Moodle. Your observation is valuable for enhancing the experience for all users.

Upon analyzing the steps you provided to replicate the issue, it is evident that there is a problem. I have made the correction and committed the changes, which you can view at https://github.com/EduardoKrausME/moodle-mod_supervideo/commit/d6e7ebdd7d66786f27cbd389ad3a7c151ab42cd9.