[Solved] Webrotate360 viewer problem
Mar 4, 2016 7:48 pm by olegthered
Mar 4, 2016 7:48 pm by olegthered
Hello,
I can't see webrotate360 viewer on these translated page:
http://en.tracers.ru/shop/urban-backpack
http://en.tracers.ru/shop/tactic-backpack
Re: Webrotate360 viewer problem
Mar 4, 2016 8:51 pm by Edvard
Mar 4, 2016 8:51 pm by Edvard
Hi,
I cannot see your original version for some reason to test it. It is redirecting me to English version always.
Thanks!
Re: Webrotate360 viewer problem
Mar 5, 2016 8:10 am by olegthered
Mar 5, 2016 8:10 am by olegthered
I removed that redirection.
Check it now please.
Re: Webrotate360 viewer problem
Mar 5, 2016 11:18 am by Edvard
Mar 5, 2016 11:18 am by Edvard
Hi,
It seems the issue is because of this javascript which tries to load the Webrotate files from tracers.ru instead of en.tracers.ru:
<script language='javascript' type='text/javascript'>function getWR360License(){return'http://tracers.ru/wp-content/plugins/webrotate-360-product-viewer/license.lic';}function getWR360PopupSkin(){return'pp_default';}function getWR360GraphicsPath(){return'http://tracers.ru/wp-content/plugins/webrotate-360-product-viewer/imagerotator/html/img/basic';}</script>
and
<script language='javascript' type='text/javascript'>jQuery(document).ready(function(){jQuery('#'+'wr360view01_playerid').rotator({graphicsPath:'http://tracers.ru/wp-content/plugins/webrotate-360-product-viewer/imagerotator/html/img/basic',licenseFileURL:'http://tracers.ru/wp-content/plugins/webrotate-360-product-viewer/license.lic',rootPath:'',configFileURL:'../../wp-content/plugins/webrotate-360-product-viewer/360_assets/Urban/Urban.xml',responsiveBaseWidth:700,zIndexLayersOn:true});});</script>
<script language='javascript' type='text/javascript'>function getWR360License(){return'http://tracers.ru/wp-content/plugins/webrotate-360-product-viewer/license.lic';}function getWR360PopupSkin(){return'pp_default';}function getWR360GraphicsPath(){return'http://tracers.ru/wp-content/plugins/webrotate-360-product-viewer/imagerotator/html/img/basic';}</script>
If you change the URLs to be relative and do not include http://tracers.ru the issue would be fixed.
Thanks!
Re: Webrotate360 viewer problem
Mar 5, 2016 4:20 pm by olegthered
Mar 5, 2016 4:20 pm by olegthered
I tried this before.
I used ../../wp-content/plugins/webrotate-360-product-viewer/360_assets/Urban/Urban.xml for webrotate shortcode on http://en.tracers.ru/shop/tactic-backpack but problem is still there.
Re: Webrotate360 viewer problem
Mar 5, 2016 8:36 pm by Edvard
Mar 5, 2016 8:36 pm by Edvard
Are you saying that you have deleted http://tracers.ru prefix from the code I have sent to you?
So for example http://tracers.ru/wp-content/plugins/we ... icense.lic
becomes
/wp-content/plugins/webrotate-360-product-viewer/license.lic
Re: Webrotate360 viewer problem
Mar 6, 2016 5:36 pm by olegthered
Mar 6, 2016 5:36 pm by olegthered
Yes, I deleted prefix and made path relative
i tried ../../wp-content_etc and /wp-content_etc
But still no effect
Re: Webrotate360 viewer problem
Mar 7, 2016 8:19 pm by Edvard
Mar 7, 2016 8:19 pm by Edvard
Can you change it and let me know, so I can check?
Re: Webrotate360 viewer problem
Mar 7, 2016 9:01 pm by olegthered
Mar 7, 2016 9:01 pm by olegthered
I wrote you that I already changed it
Re: Webrotate360 viewer problem
Mar 7, 2016 9:24 pm by Edvard
Mar 7, 2016 9:24 pm by Edvard
OK, I see it.
Now try to set this rules in your .htaccess
<IfModule mod_headers.c>
<Location "/wp-content/plugins/webrotate-360-product-viewer/360_assets/">
Header set Access-Control-Allow-Origin "*"
</Location>
</IfModule>
It will allow xml files in /wp-content/plugins/webrotate-360-product-viewer/360_assets/ directory to load from cross domain.
Thanks!
Re: Webrotate360 viewer problem
Mar 8, 2016 8:43 am by olegthered
Mar 8, 2016 8:43 am by olegthered
I added your code to .htaccess and got Internal Server Error
Re: Webrotate360 viewer problem
Mar 8, 2016 9:46 am by Edvard
Mar 8, 2016 9:46 am by Edvard
Ok, then create a .htaccess file in /wp-content/plugins/webrotate-360-product-viewer/360_assets/ directory and add this inside:
Header set Access-Control-Allow-Origin "*"
Re: Webrotate360 viewer problem
Mar 8, 2016 10:03 am by olegthered
Mar 8, 2016 10:03 am by olegthered
Done
But no effect
Re: Webrotate360 viewer problem
Mar 8, 2016 11:22 am by Edvard
Mar 8, 2016 11:22 am by Edvard
OK, then use this one, it will be global for all your xml files.
<FilesMatch "\.(xml)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
Re: Webrotate360 viewer problem
Mar 8, 2016 12:27 pm by olegthered
Mar 8, 2016 12:27 pm by olegthered
Done
Now it's working!
Thank you
Re: Webrotate360 viewer problem
Mar 8, 2016 2:13 pm by Edvard
Mar 8, 2016 2:13 pm by Edvard
Good to hear that!
Re: Webrotate360 viewer problem
Mar 9, 2016 7:49 am by olegthered
Mar 9, 2016 7:49 am by olegthered
I found that same issue appears in Yandex browser when I am on http://en.tracers.ru/shop/urban-backpack/
I am checking it via iPad
Re: Webrotate360 viewer problem
Mar 9, 2016 2:44 pm by olegthered
Mar 9, 2016 2:44 pm by olegthered
on Safari (Mac OS 10.9.5) on http://en.tracers.ru/shop/urban-backpack/ I can't see viewer. On original language everything is fine.
Re: Webrotate360 viewer problem
Mar 9, 2016 8:13 pm by olegthered
Mar 9, 2016 8:13 pm by olegthered
On Safari on iPad same issue
Any idea?
Re: Webrotate360 viewer problem
Mar 9, 2016 9:05 pm by Edvard
Mar 9, 2016 9:05 pm by Edvard
I need to check, it will take some time to test on mentioned platforms.
Re: Webrotate360 viewer problem
Mar 9, 2016 10:32 pm by Edvard
Mar 9, 2016 10:32 pm by Edvard
Hi,
I have made a special configuration for you on our server. Now it works on iPad, hopefully on other browsers as well.
It seems that Access-Control-Allow-Origin doesn't work the same way in all browsers and there is a need to configure more headers to fix it.
Thanks!
Re: Webrotate360 viewer problem
Mar 10, 2016 8:30 pm by olegthered
Mar 10, 2016 8:30 pm by olegthered
Now it works fine on all mentioned platforms. Don't know why.
Re: Webrotate360 viewer problem
Mar 10, 2016 8:32 pm by Edvard
Mar 10, 2016 8:32 pm by Edvard
I think you haven't read my previous post.
Thanks!
Re: Webrotate360 viewer problem
Mar 11, 2016 4:33 am by olegthered
Mar 11, 2016 4:33 am by olegthered
Yes, I missed next page button here
OK! That's good!
Thank you
SIMILAR TOPICS
Joomshaper Pagebuilder buttons Link edit problem | Jan 11, 2019 10:04 am | Replies: 1 | Post by: kumatest |
Problem with plugin | Dec 30, 2018 11:59 pm | Replies: 1 | Post by: Iyari |
Problem of translation in my website | Dec 8, 2018 12:15 pm | Replies: 1 | Post by: Ibrahim |
Problem with qTranslate-x, please help! | Aug 22, 2018 9:14 am | Replies: 1 | Post by: sadammkhan |
The problem with the translation of the social plugin | Dec 27, 2017 7:52 am | Replies: 1 | Post by: UriyFil |