joomla article not work w/s3 bucket

WebRotate 360 product views are now available in Joomla. Any issues?
mneese
Posts: 8
Joined: Sat Jun 06, 2015 12:23 pm
Contact:

joomla article not work w/s3 bucket

Postby mneese » Sat Jun 06, 2015 12:33 pm

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
Posts: 1082
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: joomla article not work w/s3 bucket

Postby WebSupport » Sun Jun 07, 2015 7:58 pm

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: Select all

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


Or something like this for the complete shortcode:

Code: Select all

[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.

mneese
Posts: 8
Joined: Sat Jun 06, 2015 12:23 pm
Contact:

Re: joomla article not work w/s3 bucket

Postby mneese » Mon Jun 22, 2015 9:51 am

Works fine, thanks !!


Return to “Joomla Integration”

cron