Hi,
Please find attached two Copy to Clipboard components, one for the Silhouette skin and one for the Simplex skin.
Download the components then double click to add the component to Pano2VR, you can add to the User Defined category or create a new category.
For the buttons to work you need to select Direct Node Access found under the HTML5 output and HTML tab.
For more information about Direct Node Access please see: https://ggnome.com/doc/pano2vr/6/dna/
Open your skin and open the Components Toolbox.
Select the component from the category you saved it to and add it to the skin.
When viewing the output the button will copy the current node and FoV (zoom) to the clipboard.
Paste the link into an e-mail or Social Media post to share the view you want others to see.
The component works by using a GoTo URL action:
The URL text field contains the JavaScript that makes this work.
Select the pen button to show the URL text box to view the code:
When the copy button is clicked the viewer will see instructions on how to paste the URL.
If you wish to change the language you can edit the text that is highlighted blue in the code.
Update thanks to Daniele Brandani for code improvements.
Regards,
The Gnomes
Copy to Clipboard component
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
- Attachments
-
- simplex_copy_view_to_clipboard.ggskc
- (17.76 KiB) Downloaded 943 times
-
- silhouette_copy_view_to_clipboard.ggskc
- (7.29 KiB) Downloaded 987 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Thank you, why does it not work? Checkmark is set. Should show the nadir.
https://pano.szenerien.de/XPhase_Pro_S/ ... 6,-90,70,4
Best regards
Harald
https://pano.szenerien.de/XPhase_Pro_S/ ... 6,-90,70,4
Best regards
Harald
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Harold,
I'm not seeing a copy button?
Regards,
I'm not seeing a copy button?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Sorry, Hopki, I changed the skin.
Here is a new example:
https://pano.szenerien.de/Pano2VR-Direc ... index.html
The coordinates are shown in the pasted URL, but the panorama is not aligning to them.
What does it mean "edit"? I only paste the copied URL into the URL-address bar.
Here is a new example:
https://pano.szenerien.de/Pano2VR-Direc ... index.html
The coordinates are shown in the pasted URL, but the panorama is not aligning to them.
What does it mean "edit"? I only paste the copied URL into the URL-address bar.
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Harold,
Can you check the component, maybe download it again as the URL is not correct.
The URL:
Regards,
Can you check the component, maybe download it again as the URL is not correct.
The URL:
Code: Select all
https://pano.szenerien.de/Pano2VR-Direct_Node_Access/index.html#,-120.03973459498597,-8.247386190194822,28.149211122994704,4#,74.97051361210796,3.1017830194021374,51.098451370840266,4
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
I downloaded and installed both components again.
https://pano.szenerien.de/Pano2VR-Direc ... index.html
This is not working.
https://pano.szenerien.de/Pano2VR-Direc ... index.html
This is not working.
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Can you post your skin?
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Harold,
It has to be a pro tour project, DNA does not work with a single node.
However, you can add a node then delete it, this flips the switch so to speak.
Then it will work.
Regards,
It has to be a pro tour project, DNA does not work with a single node.
However, you can add a node then delete it, this flips the switch so to speak.
Then it will work.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Thanks, Hopki, that worked! I thought something like this would only work with a tour consisting of several panoramas, but I didn't test it. Great support, as always - thanks again!
One question: What do you mean with: "select Edit"?
One question: What do you mean with: "select Edit"?
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Harald,
I was referring to the displayed text.
In the component you see the javascript, in this code is the message you see when you click the copy button.
You can open this and change the text, "edit" it if you feel the need, maybe you have a second language or something.
Regards,
I was referring to the displayed text.
In the component you see the javascript, in this code is the message you see when you click the copy button.
You can open this and change the text, "edit" it if you feel the need, maybe you have a second language or something.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Hopki,
ok, got it! Nice feature!
ok, got it! Nice feature!
Hopki, pay attention to two groups of parameters inside the string! This happens when two identical windows are opened at once. Parameters from two windows are copied to the clipboard at once. This is a big problem! How do I fix it?Hopki wrote: ↑Tue Jul 07, 2020 8:43 pm The URL:Code: Select all
https://pano.szenerien.de/Pano2VR-Direct_Node_Access/index.html#,-120.03973459498597,-8.247386190194822,28.149211122994704,4#,74.97051361210796,3.1017830194021374,51.098451370840266,4
"#,-120.03973459498597,-8.247386190194822,28.149211122994704,4#,74.97051361210796,3.1017830194021374,51.098451370840266,4"
UPD
We have to do this.
text = document.URL
i = text.indexOf("#");
if (i >= 1) {
text = text.substring(0, i);
}
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi David,
Can I assume you mean in the URL where it shows #node1, you would want to see #NodeOne, NodeOne being the custom ID.
So, ...index.html#NodeOne,-39.83380200403046,-13.288782547134456,70,4
Regards,
Can I assume you mean in the URL where it shows #node1, you would want to see #NodeOne, NodeOne being the custom ID.
So, ...index.html#NodeOne,-39.83380200403046,-13.288782547134456,70,4
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/