Hi,
the jsget() call is synchronous, but that action is new to 1.19-pr3, so make sure to use at least that version.
Best regards,
Klaus
my version is 1.83....,before the version of 1.19-pr3,the action is disable?
Hi,
the jsget() call is synchronous, but that action is new to 1.19-pr3, so make sure to use at least that version.
Best regards,
Klaus
my version is 1.83....,before the version of 1.19-pr3,the action is disable?
I useed jsget function ,but it not work?
the code
Get the address of the current webpage:
jsget(ret, 'location.href');
trace('location=', get(ret));
Let the user enter something:
jsget(passwort, 'prompt("Enter Password")');
if(password == 'hidden', ...);
Get the current date in the format YYYY-MM-DD:
jsget(date, 'new Date().toISOString().slice(0,10);');
trace('date=', get(date));
now I want ot get a value of js function return after use js function.
eg.
function test(p1, p1)
{
var sum = parseInt(p1) + parseInt(p2);
return sum;
}
I want to get sum value in krpano, hou to get it?
Hi,
that's an iOS limitation (Android has it too):
Video and Audio files are requiring an user interaction like a click/touch to be able to start playing.
That means the play call works only when it comes from the an onclick event.
Best regards,
Klaus
I want the video to play by function not click event,how to do it
Hi,
that's an iOS limitation (Android has it too):
Video and Audio files are requiring an user interaction like a click/touch to be able to start playing.
That means the play call works only when it comes from the an onclick event.
Best regards,
Klaus
Hi,
that's an iOS limitation (Android has it too):
Video and Audio files are requiring an user interaction like a click/touch to be able to start playing.
That means the play call works only when it comes from the an onclick event.
Best regards,
Klaus
I want the video to play by function not click event,how to do it
I want the video paused after 3 seconds,how to do it
how to use editor plugin
I want to load video before into krpano,but i don't know how to do it
thank you for your help,but i can't understander it ,
<action name="a" type="Javascript" autorun="preinit"><![CDATA[
alert();
]]></action>
and i put it on click,but it not work,can you give me a sample complete example,i will thank you very much.
Display MoreHi,
there a several ways to use Javascript in or with krpano:
For calling external Javascript code from the krpano xml there are these actions available:
Hi,there a several ways to use Javascript in or with krpano:
For calling external Javascript code from the krpano xml there are these actions available:
js
jscall
jsgetIn the HTML5 viewer it's additionally also possible to use Javascript code directly inside the xml:
https://krpano.com/docu/xml/#action.jsAnd for calling from Javascript to krpano there is the 'krpano Javascript Interface':
https://krpano.com/docu/js/#top
how to use javascript on the krpano
what is the function of showtext,I can't understander the meaning :showtext(scene 2, infostyle)
what is "b]scene 2[/b]",who can help me ,I will thanks you very much.
May I download your example,i will learn how to do it only to study,thanks.
Display MoreHello guys,
I`m new on this forum. I`m reading posts when i need help but it`s the first time when i`m posting for help :)
I use krpano from more that 2 years but i never had advanced projects like this. I need to make a vr with video scens inside, something like this exampleHello guys,
I`m new on this forum. I`m reading posts when i need help but it`s the first time when i`m posting for help :)
I use krpano from more that 2 years but i never had advanced projects like this. I need to make a vr with video scens inside, something like this examplehttp://www.kolor.com/virtual-tours-…x.html?s=pano35
Can anywone advise me how to do this? Kind of stept by step :D
Thank`s all!Hi,I'm lucky to see your post,I want to learn this also, if you have solve it ,can you tell me how to do it,thank you very much,my email:2294963715@qq.com
You can use the virtual tour editor that's in the examples folder.
Additionally you can set ath,atv, rx, ry,rz, width, and height in the javascript console directly.
how to make like this http://www.kolor.com/virtual-tours-…tml?s=pano35,if you can do like this, please send message for me, I will thanks for you very much,thank you.