如何动态添加热点视频?

krpano中文网问答区分类: 问答区如何动态添加热点视频?
Fiona asked 8年 ago

txtadd(hs,’videoHs’);
addhotspot(get(hs));
set(hotspot[get(hs)].url.html5,’%SWFPATH%/plugins/videoplayer.js’);  //问题在这?
set(hotspot[get(hs)].url.flash,’%SWFPATH%/plugins/videoplayer.swf’); //问题在这?
set(hotspot[get(hs)].videourl,’video.mp4′);
set(hotspot[get(hs)].ath,’0′);
set(hotspot[get(hs)].atv,’0′);
set(hotspot[get(hs)].distorted,’true’);
set(hotspot[get(hs)].scale,’0.5′);
set(hotspot[get(hs)].pausedonstart,’true’);
set(hotspot[get(hs)].onclick,’togglepause()’);
 
以上action代码是问题出在哪里?为什么不起作用?

1 Answers
krpano中文网 管理员 answered 8年 ago

不能set 属性后面加点号设备检查

Your Answer

20 + 5 =