Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Download Link towards Scene7 not working

Avatar

Avatar
Level 1
mr-smith
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
mr-smith
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
mr-smith
Level 1

30-11-2020

I have a “download” link (HTML 'a' tag) which has the `href` pointing to Scene7/Dynamic Media URLs. Those URLs are NOT the asset, but an API that provides the assets along with the video player.

 

I tried a bunch of things, here a couple:

- Adding download at the HTML 'a' tag: eg '<a href="scene7.server..." download>'

- Add Content-Disposition header in Scene7 server

I found that this will not work (because it’s not a matter of the 'a' tag neither the browser, is a matter of the URL itself.

 

So, I tested using the AEM instance directly, and works! But (at least in this case) this is NOT a valid solution since if we're loading directly from DAM it'll have major performance ramifications.

 

QUESTION: 

  • There is a way to download assets from Scene7/Dynamic Media? Either a different URL or tweaking any props in S7/DM instance?
  • There is a way to directly access the ASSET in S7/DM?
  • Any workaround of this situation?
  • Any other thoughts?

 

Thanks so so much in advance.

AEM DAM DAM Assets Download Links Dynamic Media Scene 7 API Scene7

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

183 likes

Total Posts

343 posts

Correct Reply

88 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

183 likes

Total Posts

343 posts

Correct Reply

88 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
shelly-goel
MVP

01-12-2020

@mr-smith  It would be recommended to use Dynamic Media components (like Generic DM component, 360 Video, Interactive, Smart Crop, 3D) instead of directly adding the DM media url. You would also get other configuration options like selection of viewer, image/ viewer preset, modifiers, breakpoints, smart crop, etc.

Please refer this for details:

https://experienceleague.adobe.com/docs/experience-manager-65/assets/dynamic/adding-dynamic-media-as...

Answers (1)

Answers (1)

Avatar

Avatar
Give Back
Level 4
Jineet_Vora
Level 4

Likes

42 likes

Total Posts

45 posts

Correct Reply

22 solutions
Top badges earned
Give Back
Ignite 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Give Back
Level 4
Jineet_Vora
Level 4

Likes

42 likes

Total Posts

45 posts

Correct Reply

22 solutions
Top badges earned
Give Back
Ignite 1
Boost 5
Boost 3
Boost 25
View profile
Jineet_Vora
Level 4

01-12-2020

Hello @mr-smith,

The Scene7 Link which you have configured is an API link which will fetches the video based on best fit. For example if you're viewing the video in a mobile it will fetch its corresponding resolution rather than downloading a high resolution. Also, the video is generally downloaded in parts and not full at once based on scrubbing speed, buffer speed, etc. Once the video starts playing please observe the XHR entries in your browser network tab of type 'media'.

You'll see something like this: https://s7d6.scene7.com/is/content/<directory>/<assetName>-0x720-3000k

 

This is a media link and can directly play in the browser. However, it is not wise to use direct link in your hyperlink.

 

Hope this helps,

Jineet