Page 1 of 1

External URL

Posted: Thu Jul 26, 2018 7:45 pm
by Mark360
Hi

Ok so you can use the external URL to load an image or video from another site into the pano. What I would like to know is how you would use a logic block to load several images to different nodes that are located in one file on another server.

For example:

External URL is Https://somesite.com/

Logic block

Trigger=Tags Comparison=contain Value=some_tag_name External URL:folder/image1.png

As I can not seem to get the images to show up in the pano when it is live on the web.

Re: External URL

Posted: Fri Jul 27, 2018 4:34 am
by Tony
Hi Mark,

I've run into something similar and I think you need to have external URL's defined when the project loads.

You may be better creating the external image holders adding in the absolute URL and then using a variable to show and hide them based on the node you are visiting.

I'm actually doing the same thing in a tutorial I'm writing at the moment where I use external images for the thumbnails. I have to load them all at runtime and show and hide them based on mouseovers.

Maybe Hopki can provide an alternative solution?

Tony

Re: External URL

Posted: Fri Jul 27, 2018 12:48 pm
by Hopki
Hi Guys,
What you also need is the site that is hosting the content needs to give permission for you to embed, as an example if you use a text box and iframe to display a web page, sites like ours or Google will not allow this and it is blocked. However sites like Wikipedia do.
Also with content the host will need Cross-Origin Resource Sharing (CORS) enabled.
As an example you would add a .htaccess file to your server: Header set Access-Control-Allow-Origin "*"
The "*" means all your site, or you can add a path to a folder so only this folder is allowed to share its content.
Google it as there is tones of information on it.
Regards,
Hopki

Re: External URL

Posted: Fri Jul 27, 2018 4:53 pm
by Mark360
Thank you both Tony and Martin for putting me on the right path. I am once again forward moving! :)

Tony are the tutorials that you are doing going to be for everyone or are you making a course about how to use Pano? Sorry to ask just absorbing info at a fast pace here and working through Martins examples etc.

Re: External URL

Posted: Sat Jul 28, 2018 2:45 am
by Tony
Hi Mark,
Tony are the tutorials that you are doing going to be for everyone or are you making a course about how to use Pano?
The tutorials are for everyone, you can find Pano2VR and other software tutorials at https://tonyredhead.com/tipsandtutorials

Tony

Re: External URL

Posted: Wed Aug 01, 2018 11:41 am
by Mark360
Sorry for the late reply Tony.

Thank you so much for posting them and allowing us to view them and learn.