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
|
<action name="videoLoadComplete">
def(selfName, string, get(name));
//Add playbutton.
//Create button name
def(newHotspotName, string, calc(selfName + "-playbutton"));
addhotspot(get(newHotspotName));
set(hotspot[get(newHotspotName)],
url:string='/images/play-button.svg',
width:int=40,
height:int=40,
ath:number=get(ath),
atv:number=get(atv),
zoom:string=get(zoom),
scale:number=get(scale),
distorted:boolean=get(distorted),
rx:number=get(rx),
ry:number=get(ry),
rz:number=get(rz),
videohs:string=get(videohs),
onclick:string=get(onclick)
);
js(setVideoHotSpotButton(get(newHotspotName),get(width),get(height),get(rx),get(ry),get(rz),get(scale)));
);
</action>
|