rtMedia
rtMedia copied to clipboard
Fix multiple uploader issue
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.jslibrary.
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
rtGalleryObjectview.
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 Proplugin to make related changes to support new changes in thertMedia Coreplugin.
Related Issues
- #1983
Related PRs
- https://github.com/rtCamp/rtMedia-Pro/pull/1381
Hi @Utsav-Ladani, verified the fix and the uploaded media is not visible. getting the console error. Refer below video.
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?