Hello I im having problem with the chroma key property of the videohotspot. when i im tring to apply chroma key for a video hotspots from the javascript like this
|
Source code
|
1
|
krpano.call('set(hotspot[hs_name].chromakey, 0x238E54|0.294|0.133);');
|
which is applying chroma key value on the hotspot properties.
But it is not apply the effect on the video.
But When i create static hotspot in my tour.xml like this:
|
Source code
|
1
|
<hotspot name="speaker" url.html5="plugins/videoplayer.js" url.flash="plugins/videoplayer.swf" videourl="video/video.mp4" distorted="true" capture="false" ath="-293" atv="2" chromakey="0x238E54|0.294|0.133" scale="0.09" loop="true"/>
|
Inside the scene then it is working perfectly.
but what is the problem when binding chroma key with the javascript is not affecting the video.
what is wrong with this code.
|
Source code
|
1
|
krpano.call('set(hotspot[hs_name].chromakey, 0x238E54|0.294|0.133);');
|
[/code]