how to enable amazon s3 support for reading files from bucket

tutorial video -> here


Access ZoomSounds > Settings > System check and

install amazon s3

Then input your amazon s3 credentials

 

Create a new user

 

Copy the account key and Secret access key into

 

 

 

ZoomSounds > Settings > Amazon S3

Create a new Amazon s3 bucket

 

Upload your mp3 – you can give Public if you want the direct link to mp3

 

Or private

If you set to public, you can access the mp3 publicly

you can find the file name in the repo

Then you can access your post / page and paste this shortcode

Demo shortcode

[zoomsounds_player artistname="test s3" songname="test s3" type="audio" is_amazon_s3="on" source="private.mp3" config="default" autoplay="off" loop="off" open_in_ultibox="off" enable_likes="off" enable_views="off" play_in_footer_player="off" enable_download_button="off" download_custom_link_enable="off"]

 

The important parts are the source which should match the key attribute here. And the region, which can be found in the object URL . ( eu-west-2 in this example )

Note:

the region code can be found by clicking properties on any item

 

Faq

the waveform is not generated correctly

In the Bucket you can insert CORS policy at the bottom of the permission tab.

[
{
“AllowedHeaders”: [
“*”
],
“AllowedMethods”: [
“HEAD”,
“GET”
],
“AllowedOrigins”: [
“https://sparkpackers.com”
],
“ExposeHeaders”: []
}
]

Was this article helpful?

Related Articles

5 Comments

  1. Ward

    Can I use something similar to above with AWS CloudFront? I can occ course make the access key but what should I insert as CloudFront doesn’t care about Regions (I think)

    1. admin

      Hello

      Sorry, I don’t have experience with CloudFront – but if you can get the link to the direct mp3 it should work

  2. Adam

    are there updated installation instructions? it’s not clear how to point the player at AWS S3 hosted files. where to put the audiofilename/url?

  3. Max

    Hi there. My question is similar to Adam’s from two years ago: I have a public URL from S3 for my sample files and using Woocommerce. Can I just paste the URL in the Track field or must I absolutely use the shortcode in the Description or Short Description or an ACL field?

    2nd question regarding your documentation page from above: Where in the shortcode are we supposed to enter the S3 region?
    Thanks – just got this plugin and it looks awesome.

Leave A Comment?