You are not logged in.

jordi

Intermediate

  • "jordi" started this thread

Posts: 507

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

1

Thursday, December 12th 2019, 12:02pm

Clipboard JS Plugin


Hi,

I just developed a simple yet powerful JS plugin that allow you to copy to clipboard any string.
You can use it on your own editors to improve time, or also use it in your tours to enhance the user experience.

Syntax / XML Usage Example

<plugin name="c2c" 
url="copy2clipboard.js"
keep="true"
devices="html5
/>

Call it from any action or event like this :

<events name="copy2clipboard" keep="true" onmousedown="plugin[c2c].copy2clipboard(get(mouse.x));" />
plugin[c2c].copy2clipboard('Lorem ipsum dolor amet');
plugin[c2c].copy2clipboard(calc('copying my var value' + myvar));

plugin[c2c].copy2clipboard('全景高科武汉技术有限公司');
plugin[c2c].copy2clipboard('Привет Русский');
plugin[c2c].copy2clipboard('سعودي');
plugin[c2c].copy2clipboard('नमस्कार नमस्कार ');

Download it

You can download the plugin here
jordi has attached the following file:
everpano.com step beyond 360

jeromebg

Professional

Posts: 848

Location: Angers - France

Occupation: Photographer

  • Send private message

2

Thursday, December 12th 2019, 12:11pm

Hi, could you explain the benefit compared to Klaus action : https://krpano.com/forum/wbb/index.php?p…board#post76673 ?

jordi

Intermediate

  • "jordi" started this thread

Posts: 507

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

3

Thursday, December 12th 2019, 12:21pm

Hi,
could you explain the benefit compared to Klaus action
Did not know about that method , there would still be some difference in behaviour.
everpano.com step beyond 360

Taurus

Trainee

Posts: 137

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message

4

Thursday, December 12th 2019, 7:44pm

Jordi, fine!


since the flash died, the ability to automatically copy to the clipboard has disappeared, but this is a very convenient option when creating and debugging a virtual tour
thanks!

serge
--
in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.19pr16

5

Thursday, May 28th 2020, 11:04am

Hi, Jordi!

Found that the plugin does not work in full screen mode. Is it possible to fix it?

Similar threads