HI team,
I am doing a hotspot that loads data from iframe. When you click on it, it will pop up a corresponding link.
but now it is not receiving the onclick event .Please support me
<hotspot name="hs_video_xq1"
id="product"
url="assets/black.png"
pausedonstart="false"
loop="true" renderer="css3d"
distorted="true" ath="94.014" atv="2.531" rx="5.5" ry="-1.1" rz="-0.7" scale="0.743" alpha="1.0"
onloaded="add_iframe(calc(product_link_iframe), 600, 400,calc(product[2].id));"
onclick=" youtubeplayer_open(calc(video[1].video_link)); sound_off(hs_video);" onhover="action(showHotSpot_text, Watch video) "
/>
<action name="add_iframe" type="Javascript">
var iframe = document.createElement("iframe"); iframe.style.position = "absolute"; iframe.style.left = 0;
iframe.style.top = 0; iframe.style.width = "100%"; iframe.style.height = "100%";
iframe.style.border = 0;
iframe.src = args[1] + args[4] ;
caller.registercontentsize(args[2], args[3]);
iframe.setAttribute('allowFullScreen', '');
caller.sprite.appendChild(iframe);
</action>