<script language="javascript" src="iuembed.js"> </script>
<script type="text/javascript" src="iuembed.AmazonS3.js"> </script>
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 650, 450);
// If you do not want to use ActiveX or Java version, set the appropriate
// property to false.
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;
iu.activeXControlCodeBase = "ImageUploader6.cab";
iu.javaAppletCodeBase="./";
iu.addParam("LicenseKey", "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx;xxxxx-xxxxx-xxxxx-xxxxx-xxxxx");
var as3 = new AmazonS3Extender(iu);
as3.setAWSAccessKeyId("AccessKey");
as3.setBucket("Bucket");
as3.setBucketHostName("https://s3.amazonaws.com/");
// ... initialize params as described in the next topic ...
as3.gestSourceFile().SetPolicy(???);
as3.gestSourceFile().SetKey("folder/");
as3.gestSourceFile().SetAcl("public-read-write");
as3.gestSourceFile().SetSignature("Secretkey");
// As soon as you call this method, all necessary HTML code is inserted
// into the page on the current position. Alternatively, you can
// get the string with appropriate HTML code using the getHtml method,
// and write it to the necessary position manually (maybe with some modifications).
iu.writeHtml();
</script>
Is it correct this code?
Post the correct code please.
Thanks