Sie sind nicht angemeldet.

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.

1

Samstag, 13. März 2010, 02:09

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)


2

Samstag, 13. März 2010, 03:39

Ah got it figured out *whistling*

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.

dany89vl

Anfänger

Beiträge: 8

Wohnort: Ramnicu Valcea | Sibiu , Romania

Beruf: Panoramas, Web Design, Graphics

  • Nachricht senden

3

Samstag, 13. März 2010, 09:08

Re:

Can you put a link to show us how is your video effect ?

4

Sonntag, 14. März 2010, 22:59

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.

esys

Fortgeschrittener

Beiträge: 267

Wohnort: Balazé France

Beruf: photographer

  • Nachricht senden

5

Montag, 6. Dezember 2010, 17:39

Flyout video ?

Hi guys,

I'd like to do the same thing as you "dany89vl". Did you success ? *g*

Sorry "hitodenashi" but you gave us a quiet short explanation. Anyway too short for me..! *sad*


Thanks for your help.
Steph

Ähnliche Themen