How to do sharing

Having trouble getting started? The viewer isn't loading properly?
creatip
Posts: 2
Joined: Sat Feb 06, 2016 5:27 am
Contact:

How to do sharing

Postby creatip » Sat Feb 06, 2016 5:46 am

Hello,

I'm currently using the free version, and wanna play with it for a while to see if I'm gonna purchase the pro in the future.

After reading for a while, I decided I wanna go with the option of 'host 360 product views for your clients or yourself'

It's written that I can upload the resources to dropbox, and use the 'iframe' code on the client's side. The question is, how exactly do I do this?

I have:
- make a separate folder in my dropbox
- upload the 360 sharing script (imagerotator, sharedviews, viewloader.html, etc) into the folder
- upload my test project, the folder under '360 assets' into the 'sharedviews' folder
- copy and paste the iframe code to my wordpress test page.
- change the src url to the url I got from the dropbox when I clicked 'share link' on the viewloader.html, which is this url "https://www.dropbox.com/s/76qq07nkzhulg4n/viewloader.html?dl=0"
- Added the iframe code in the 'text' tab of the wordpress page, and when I click the ''visual' tab, there's a gray box in the page (I imagine this is the box where the image should be), so I presume the iframe code is working with wordpress.
- Pressed 'preview' of the page but can't see anything.

Where did I go wrong?

Please explain as if I'm an idiot :)

Thank you in advance.

WebSupport
Posts: 1016
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: How to do sharing

Postby WebSupport » Mon Feb 08, 2016 2:59 pm

Hi there and thanks fort the details :)

You would need to put everything into your Public folder on Dropbox to be accessible as "hosted" web files.

Here's a snippet from the link that follows:

Create a folder within your public folder; you can label this “site” or “website” or something similar. Put your website (all of your HTML pages, for example) inside this folder. Right click on your homepage and select Copy Public Link. Anyone with this link can open the web page in their browser


https://ultimatedropboxguide.com/2015/0 ... h-dropbox/

So in our case you would need to copy the link to viewloader.html that you would upload into a public folder first (along with everything else) such that it can be used in your iframes with 360 views that you would share.

Since you already have WordPress hosting, it's better to host the webrotate "hosting" script and your 360 product images right there because Dropbox has an issue where they purposely don't mark image files as "cache-able" by web browsers. This has a bad side-effect with our 3D product views in that a browser would release images from browser cache after some time of user inactivity which will cause odd issues with the viewer if user tries to spin the images again without a page refresh...

creatip
Posts: 2
Joined: Sat Feb 06, 2016 5:27 am
Contact:

Re: How to do sharing

Postby creatip » Tue Feb 09, 2016 3:31 am

Hello,

Thank you very much for the reply.

Ok, I've tried what you suggested, host the script on my wordpress hosting. Uploaded the whole thing via FTP.

Let's say the URL is abc.com, and I uploaded everything under the folder 'webr'. When I open the page 'abc.com/webr/clientspage.html' it loaded successfully and running as it should.

But when I tried putting the iframe code in a new wordpress page, it only displays a grey box, like a broken plugin. Does this mean I have to install the wordpress plugin?

EDIT: Nevermind, it's the problem of using 'http' instead of 'https'. Somehow it won't work with 'https'. It's running smoothly now. Thank you :)


Return to “Setup Issues and Embedding”

cron