Download Link towards Scene7 not working | Community
Skip to main content
November 30, 2020
Solved

Download Link towards Scene7 not working

  • November 30, 2020
  • 5 replies
  • 3965 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shelly-goel

@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-assets-to-pages.html?lang=en#dynamic

5 replies

Jineet_Vora
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 1, 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

Level 2
April 8, 2025

Hi @jineet_vora ,

We got one requirement to use flv, mpeg, avi video formats, for this formats only after appending preset to scene7 url then only video was playing otherwise it was downloading the video.

https://<domain>/is/content/<directory>/<assetName>-0x720-3000k

What could we do in such cases, should we hard-code the preset value in scene7 url and how do we know which preset should be used? Please suggest.

 

Regards,

Karthika Vijayakumar

shelly-goel
Adobe Employee
shelly-goelAdobe EmployeeAccepted solution
Adobe Employee
December 1, 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-assets-to-pages.html?lang=en#dynamic

mr-smithAuthor
December 2, 2020

Thanks for your answer @shelly-goel, but those DM components allow me to download the asset/video ? if not, that's not an option

mr-smithAuthor
December 2, 2020
Thanks for your answer @shelly-goel, but those DM components allow me to download the asset/video? If not, that's not an option.
shelly-goel
Adobe Employee
Adobe Employee
December 2, 2020
Yes these would render/ play the video within and not download though you asked for way to access/ workarounds. Would need to understand your use case and why would you want the end users to download your assets? Huge number of download requests would impact the performance too. OR are you looking for download/ sharing options internally?
mr-smithAuthor
December 7, 2020
Ok, thanks for that anyways.