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:
Thanks so so much in advance.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@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:
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
Views
Replies
Total Likes
@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:
Thanks for your answer @shelly-goel, but those DM components allow me to download the asset/video ? if not, that's not an option
Views
Likes
Replies
Views
Likes
Replies