Custom Video component

Avatar

Avatar
Level 1
ArunV
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
ArunV
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
ArunV
Level 1

16-10-2020

Hi,

 

I am creating a custom video component. In cq dialog, added file upload module and droptarget. In HTML we are getting the file url with ${properties.fileNameParameterReference}

 

So this works fine if I am dropping a  video from DAM but not when direct upload. So on time of direct upload fileNameParameterReference is empty but for image there is a Image model with ${image.src} we are able to get it. is there any same way for video too??

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 3
MVP
Manjunath_K
MVP

Likes

140 likes

Total Posts

188 posts

Correct reply

61 solutions
Top badges earned
Give Back 3
Give Back
Boost 50
Boost 5
Boost 3
View profile

Avatar
Give Back 3
MVP
Manjunath_K
MVP

Likes

140 likes

Total Posts

188 posts

Correct reply

61 solutions
Top badges earned
Give Back 3
Give Back
Boost 50
Boost 5
Boost 3
View profile
Manjunath_K
MVP

16-10-2020

Hi @ArunV 

It works fine when we directly browse & upload video on OOTB Video component, can you please compare your dialog xml with OOTB video component & add required changes if anything missing.

 

Component path : /libs/foundation/components/video/cq:dialog/content/items/column/items/file

video1.png

 

 

Retrieved video file after browser & upload : 

video.png

 

 

Answers (1)

Answers (1)