|
Some time you wish that rather than playing media file shared in a URL, it should be downloaded at local drive first. You can do this by setting the Metadata (called content-disposition) for the object (media file) so that its contents are not displayed. You can set content-disposition header using Bucket Explorer.
New
Now Bucket Explorer provides customization to set Content-Disposition metadata. You can add desired extension in tag named "<AttachContentDispositionForExtension>" in BucketExplorer.xml file. The saved extension inside this tag will get this extension automatically set when you upload them.
|
|
Steps to set content disposition property:
-
Run Bucket Explorer as usual and login.
-
Upload the media player file in your desired bucket.
-
Update the ACL of this file as
Read
to
All Users
.
-
Then update the Metadata by right clicking on object and select
“Update MetaData”
option.
-
Add the following things:
-
In Key -->
Content-Disposition
-
In Value -->
attachment; filename={$$file_name_without_path_$$}
-
After that generate web URL by clicking
Web Url
icon from object tool bar.
-
Now URL for that media file is generated, copy it and paste it into address bar of browser.
-
It will ask to download and save media files on local drive.
|
Related Topics
:
|
|