joomla article not work w/s3 bucket

mneese

New member
Joomla 3.4.1...pro version of webrotate...
Article and spin work fine when called from website server...

Spin does not work from either s3 bucket or from cloudfront...other renderings such as 360 panotours from KOLOR work fine from this same bucket...

examples from website server:

http://studio7pro.com/index.php/blog/11 ... tellations
http://studio7pro.com/index.php/blog/11 ... cover-girl

CODE for website server playback:
[wr360embed name="magnus_brac" width="100%" height="550px" config="/images/360_spins/magnus_brac/magnus_brac.xml"]

CODE for S3 bucket:
[wr360embed name="magnus_brac" width="100%" height="550px" config="https://s3.amazonaws.com/s7pro-spins/magnus_brac/magnus_brac/magnus_brac.xml"]

This is message from S3:
"This XML file does not appear to have any style information associated with it. The document tree is shown below."

Anybody have an idea why it doesn't work...
 

WebSupport

Active member
Hi!

Yes, you would need to use rootpath shortcode parameter for this to work. It's briefly described on our demo page at the bottom here.

We have to use this approach with the Joomla integration (and other plugins) as loading xml files from an external domain asynchronously is prohibited by browsers due to same origin policy that browsers enforce for security reasons, so the actual xml file would need to sit on the main website where integration is installed.

Using your example above, I think the rootpath value would be the following for the shortcode to work:

Code:
https://s3.amazonaws.com/s7pro-spins/magnus_brac/magnus_brac/

Or something like this for the complete shortcode:

Code:
[wr360embed name="magnus_brac" width="100%" height="550px" config="/images/360_spins/magnus_brac/magnus_brac.xml" rootpath="https://s3.amazonaws.com/s7pro-spins/magnus_brac/magnus_brac/"]

If this doesn't help, please let us know.
 
Top