Na dann ist ja gut...irgendwie sehe ich die Videohotspots nicht als normale Hotspots an.
Da habe die Release Notes bezüglich der Distorted Hotspots nicht berücksichtigt.
My bad...
Was in meinem Fall ganz gut funktioniert ist, den Video Hotspot onclick einfach auf distorted='false' zu setzten.
#################################################################
And now in english (for those that don't speak german (shame on you

)):
Klaus stated, that this is in fact a limitation of the distorted hotspots in the html5-version.
My solution simple sets the distorted-value to false before playing the video and reverses this before stopping it.
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<action name="startVideo">
tween(rx, 0);
tween(ry, 0);
tween(rz, 0);
tween(altscale, 1.5);
tween(flying, 1.0);
set(distorted, 'false');
play();
</action>
<action name="stopVideo">
pause();
set(distorted, 'true');
tween(rx, get(backup_rx));
tween(ry, get(backup_ry));
tween(rz, get(backup_rz));
tween(altscale, get(backup_scale));
tween(flying, 0.0);
</action>
|