Hey guys,
I am attempting to programmatically retrieve the URL of a Video Asset that is stored in the DAM... currently I've gotten as far as retrieving the Video as a Resource & pulling off its ValueMap, but I'm wondering which tools I should use to get the URL? Don't think it is stored in the ValueMap, so I'm thinking I might need to use something like AssetManager. Current approach to get valuemap below
ValueMap imageResourceValueMap = videoResource.getValueMap();
Thanks,
-Joey
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
YOu can get the video metada data from
and the location of the video is the page/url.
videoResource.getPath();
Hi,
YOu can get the video metada data from
and the location of the video is the page/url.
videoResource.getPath();