External URL

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Mark360
Posts: 38
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

External URL

Post by Mark360 » Thu Jul 26, 2018 7:45 pm

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.
If it looks impossible you just have not found the right angle to view it from.

User avatar
Tony
Posts: 520
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: External URL

Post by Tony » Fri Jul 27, 2018 4:34 am

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
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

User avatar
Hopki
Gnome
Posts: 8562
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: External URL

Post by Hopki » Fri Jul 27, 2018 12:48 pm

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

User avatar
Mark360
Posts: 38
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

Re: External URL

Post by Mark360 » Fri Jul 27, 2018 4:53 pm

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.
If it looks impossible you just have not found the right angle to view it from.

User avatar
Tony
Posts: 520
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: External URL

Post by Tony » Sat Jul 28, 2018 2:45 am

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
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

User avatar
Mark360
Posts: 38
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

Re: External URL

Post by Mark360 » Wed Aug 01, 2018 11:41 am

Sorry for the late reply Tony.

Thank you so much for posting them and allowing us to view them and learn.
If it looks impossible you just have not found the right angle to view it from.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests