Issues
File Upload Component - when selecting Video asset through path field, asset is not previewed in drag&drop
Description
Details
Details
Assignee
Reporter
Components
Fix versions
Affects versions
Priority
Activity
Stefan SeifertNovember 15, 2022 at 5:52 PM
should be fixed in next version of media handler (PR).
you can give it a try with version 1.14.19-SNAPSHOT of media handler
Stefan SeifertNovember 15, 2022 at 12:30 PM
i tested a custom component with the wcm-io/handler/media/components/granite/form/fileupload
Granite UI component in both AEM 6.5.14 and AEMaaCS 2022.10.9398.20221020T071514Z-220900 and drag & dropping video assets from the sidebar to the edit dialog worked fine. i could drop it either on the fileupload field or the pathfield below, it worked in both cases - the asset path was updated in the path field.
what did not work especially for video assets was updating the thumbnail of the selected asset in the fileupload widget. this is cosmetic, as the asset reference is still updated and stored correctly on saving the dialog. i will look why this is different.
When selecting Video Asset (MP4) via path field can be noticed that drag&drop area is not updated. It works with Image asset.
ref: https://wcm.io/handler/media/graniteui-components.html
Steps to reproduce:
In Media Handler-aware File Upload select video asset via path field.
Notice that drag&drop area hasn’t been updated.
Expected behaviour:
It should be similar as it is with Image asset
In Media Handler-aware File Upload select image asset via path field.
Notice that drag&drop area has been updated.
Behaviour of the component should be consistent with all asset types.
Affected version: Media Handler 1.14.18