lms icon indicating copy to clipboard operation
lms copied to clipboard

Unable to Delete Video from Course

Open abhirock74 opened this issue 1 year ago • 1 comments

Bug Report: Unable to Delete Video from LMS Course

Description

Users are unable to delete a video from an LMS course. When attempting to delete the video, no action occurs, and the video remains in the course.

Steps to Reproduce

Screencast from 2024-12-23 12-25-36.webm

  1. Navigate to the LMS course that contains the video.
  2. Locate the video you want to delete.
  3. Click on the "Delete" button or perform the delete action for the video.
  4. Observe that the video is not removed from the course.

Expected Behavior

The selected video should be removed from the LMS course upon clicking the "Delete" button.

Actual Behavior

The video remains in the course despite attempting to delete it. No error message or feedback is provided to the user.

Possible Causes

  • Missing backend API call to handle the delete operation.
  • Permissions issue preventing the user from deleting the video.
  • A front-end bug where the delete action is not triggered correctly.
  • Database constraints preventing the video record from being deleted.

Environment

  • Platform: [Web/Desktop/Mobile]
  • Browser: [e.g., Chrome, Firefox, Safari]
  • Operating System: [e.g., Windows, macOS, Linux]
  • LMS Version: [e.g., v1.2.3]

Logs/Errors

No visible errors or logs are generated on the UI. Server logs and console logs need to be checked for details.

abhirock74 avatar Dec 23 '24 07:12 abhirock74

I was facing the same issue, it's because the added video doesn't reliably give the dots button on the side to modify it. But I stumbled into a very weird and hacky way to be able to delete or modify them, here's how.

https://github.com/user-attachments/assets/84b4864b-c7b4-4556-bc76-148a52b3a2d1

The above video on the LMS is added as a google drive link.

Steps to Reproduce

  • Make sure there's something before or after the video in the content window, just add a line of text or anything.
  • Then, below the video, you click enter a bunch of times, like some 5-8 times to create enough lines and part of the video goes out of view.
  • Then, you kind of slide the cursor across the added lines in the way shown and scroll up while doing so and suddenly you'll be able to get the same dots option on the side of the video, click on that and delete.
  • I have no idea what's the reason this happens, but it's definitely a pretty big bug that I hope can be resolved, and made to work just as easily as getting the dots on the video's side and click delete twice instead of doing all the above shenanigans haha.

ruthwik-xhipment avatar Jan 17 '25 09:01 ruthwik-xhipment

@ruthwik-xhipment

You can remove by your keyboard shift arrow up and arrow down to select and unselect ,after selecting Video press Backspace.

I hope this will help you.

abhirock74 avatar Apr 02 '25 12:04 abhirock74