Hello,
I have an invisible hotspot ("videotv") in my 3D model, when I click on it a video start (hotspot "videospot").
My problem is about the video positioning, I can't find a way to put it where it should stay (inside the tv area) plus the player it moves around if I navigate inside the 3D model.
Both hotspot as the same tx,ty,tz value, I've tried to change those values or even to give a value to rx,ry,rz but the video still moves around the screen.
What am I doing wrong?
This is my code, please.
Thank you.
<style name="hotspot2"
zoom="true"
capture="false"
depth="0"
depthbuffer="true"
alpha="0"
zorder="3"
enabled="false"
onloaded="delayedcall(calc(customtransitiontime !== null ? (customtransitiontime+0.5) : 0.5), tween(alpha,0,0,default,set(enabled,true)); );"
onover="tween(alpha,0);"
onout="tween(alpha,0);"
/>
<hotspot name="videotv"
style="hotspot2"
url.html5="plugins/videoplayer.js"
url.flash="plugins/videoplayer.swf"
url="video/sunrise.png"
videourl="video/sunrise.mp4"
distorted="true"
scale="0.3"
alpha="0.2"
visible="true"
zoom="true"
tx="187"
ty="85"
tz="45"
ath="0"
atv="0"
pausedonstart="true"
onclick="set(hotspot[videospot].visible,true);" />
<hotspot name="videospot"
url.html5="plugins/videoplayer.js"
url.flash="plugins/videoplayer.swf"
videourl="video/sunrise.mp4"
posterurl="video/sunrise.png"
distorted="true"
edge="center"
scale="0.5"
width="550"
height="343.75"
videoheight="343.75"
videowidth="550"
rx="0"
ry="0"
rz="0"
tx="187"
ty="85"
tz="45"
ath="0"
atv="0"
loop="true"
pausedonstart="false"
onclick="set(visible,false);"
visible="false"
/>