openfun / marsha

:clapper: An opensource LTI Learning Content Management System (LCMS)
MIT License
104 stars 24 forks source link

♻️(lib_video) manage sharing error when one resource is already shared #2512

Closed AntoLC closed 7 months ago

AntoLC commented 7 months ago

Purpose

Issue: #2511

When a user tried to share a resource when another one was already shared, the sharing was not started and an error was displayed.

Proposal

We now stop the sharing of the first resource and start the sharing of the new one if we get the error 'Video is already sharing' from the backend.