Lieber Besucher, herzlich willkommen bei: krpano.com Forum.
Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert.
Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können.
Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang.
Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Flyout video controled by another hotspot/button?
Tried to rework the official example of flyout video to start up with a click on a hotspot but quickly got nowhere.
It doesn't even flyout.
Any suggestions?
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<hotspot name="caller" ...
onclick="if(get(hotspot[video].flying) == 0.0, flyout-video(video);hotspot[video].togglepause() );
if(get(hotspot[video].flying) == 1.0, flyback-video(video);hotspot[video].togglepause() )"
/ >
<action name="flyout-video">
copy(hotspot[%1].backup_rx,hotspot[%1].rx);
copy(hotspot[%1].backup_ry,hotspot[%1].ry);
copy(hotspot[%1].backup_rz,hotspot[%1].rz);
copy(hotspot[%1].backup_scale,hotspot[%1].scale);
tween(hotspot[%1].rx, 0);
tween(hotspot[%1].ry, 0);
tween(hotspot[%1].rz, 0);
tween(hotspot[%1].scale, 1.5);
tween(hotspot[%1].flying, 1.0);
</action>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »hitodenashi« (13. März 2010, 03:14)
Ah got it figured out
|
Quellcode
|
1
2
3
4
5
|
onclick="
if(hotspot[video].flying == 0.0,
flyout-video(video);hotspot[video].togglepause());
if(hotspot[video].flying == 1.0,
flyback-video(video);hotspot[video].togglepause())"
|
I was sure I have tried that before, oh well.
Re:
Can you put a link to show us how is your video effect ?
RE: Re:
Can you put a link to show us how is your video effect ?
Not yet, but you can use my code and do it yourself.
Flyout video ?
Hi guys,
I'd like to do the same thing as you "dany89vl". Did you success ?
Sorry "hitodenashi" but you gave us a quiet short explanation. Anyway too short for me..!
Thanks for your help.
Steph