harmag
Member
Posted 3 months ago #
With this small change you can quickly add support for the prefix based fetch. This is useful if you have thousands of files in your S3 bucket, but you're only interested in fetching from one directory.
http://pastebin.com/1PR9gr4s
Ofc, if you leave the prefix field empty, the plugin will fetch all the items from the bucket.
http://wordpress.org/extend/plugins/s3-video/
Anthony Mills
Member
Plugin Author
Posted 3 months ago #
Thanks heaps I didn't realise prefixes existed and figured most people would most likely just use a bucket soley for their videos. I added your changes to the codebase on github and the functionality will be available with the next release.
Many Thanks
Anthony
harmag
Member
Posted 3 months ago #
Anthony Mills
Member
Plugin Author
Posted 3 months ago #
Thanks for the addition, much appreciated.