rtMedia icon indicating copy to clipboard operation
rtMedia copied to clipboard

Fix multiple uploader issue

Open Utsav-Ladani opened this issue 2 years ago • 2 comments

Fix multiple uploader issue

  • In the current version of the rtMedia Plugin, users cannot use multiple uploaders.
  • Previous code is designed so that only one uploader might work.
  • In this PR, added support for multiple uploaders using the backbone.js library.

Enhancement

  • Re-build all functionalities and divide the code into further parts to increase the readability.
  • Fix multiple uploaders issue.
  • Create multiple views, models, and collections to enhance the code reusability and robustness.
  • Add a few more highlighters to the file preview according to the current state of the uploading process to enhance the UI.
  • Add transition in the progress bar to make its movement smooth.
  • Add support for removing queued media while uploading ( media is in the queue, and the upload process is not started ).
  • Add appropriate messages and strings to better error logging.

Other fixes

  • Removed or unselected files will not be uploaded now in this version.
  • Reload the view after uploading using the rtGalleryObject view.

Note

  • There are different types of uploaders at different places, e.g., Activity comment, media page, shortcode, etc.
  • These changes only affect the shortcode and media page uploaders.
  • There will be a PR on the rtMedia Pro plugin to make related changes to support new changes in the rtMedia Core plugin.

Related Issues

  • #1983

Related PRs

  • https://github.com/rtCamp/rtMedia-Pro/pull/1381

Utsav-Ladani avatar Aug 03 '23 11:08 Utsav-Ladani

Hi @Utsav-Ladani, verified the fix and the uploaded media is not visible. getting the console error. Refer below video.

consoleerror.webm

pavanpatil1 avatar Aug 04 '23 03:08 pavanpatil1

Hi @Utsav-Ladani, verified the fix and the uploaded media is not visible. getting the console error. Refer below video.

Can you send me the content of your post?

Utsav-Ladani avatar Aug 04 '23 04:08 Utsav-Ladani