Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Remaining tasks
- Add a configuration route in cloudinary_sdk.info.yml
- Set up new submodule cloudinary_media_library_widget
- Add the following settings to the form
- SAML Authentication (checkbox, under the widget fieldset, optional).
- Starting folder (select, single, under the widget fieldset, optional). Allowed values are the same as for Cloudinary scheme with root folder (values are not available if the API is not configured yet)
- Optimizations (fieldset)
- Default optimizations for image (textarea, under the optimizations fieldset, optional). The stored value should be an array (item per new line)
- Default optimizations for video (textarea, under the optimizations fieldset, optional). The stored value should be an array (item per new line)
- Default DPR (number, step 0.1, under the optimizations fieldset, optional)
- Responsive breakpoints (textarea, under the optimizations fieldset, optional). The stored value should be an array (item per new line)
- Video playback (fieldset)
- Default player (radios, under the video fieldset, required). Allowed values are
HTML 5 Player Cloudinary Video player
- Default player configuration (textarea, json or yaml editor attached, optional, available when cloudinary player is chosen)
- Provide clear description for each extra setting from the docs
- Init default config cloudinary_media_library_widget.settings.yml in config/install
- Use default values for the widget settings
- The default value for the image optimization is
- f_auto - q_auto
- Init config schema cloudinary_media_library_widget.schema.yml in config/schema
- Describe the widget settings
Issue fork cloudinary-3282657
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
sdstyles CreditAttribution: sdstyles as a volunteer and at Dropsolid commentedComment #4
nginex CreditAttribution: nginex at Dropsolid for Dropsolid commentedComment #6
nginex CreditAttribution: nginex at Dropsolid for Dropsolid commentedI did refactor some code related to the form. I also provided a custom helper service to use instead of functions.
Comment #7
nginex CreditAttribution: nginex at Dropsolid for Dropsolid commentedComment #9
sdstyles CreditAttribution: sdstyles as a volunteer and at Dropsolid commentedComment #11
nginex CreditAttribution: nginex at Dropsolid for Dropsolid commentedImproved SDK config form. Separated configs for stream wrapper module.
Comment #12
nginex CreditAttribution: nginex at Dropsolid for Dropsolid commentedSome extra changes are needed like adding CNAME option, starting folder integration, and improving the UI for the widget.
Comment #15
nginex CreditAttribution: nginex at Dropsolid for Dropsolid commented