krpano 教程 - 插入视频及多边形热点
tour.xml 中插入
<plugin url="%SWFPATH%/plugins/editor.swf" keep="true"/>
然后打开编辑页面,点击屏幕下方editor按钮,按提示操作,添加多边形区域
插入到tour.xml的<scene>中
<hotspot name="videospot"
url="%SWFPATH%/plugins/videoplayer.swf"
alturl="%SWFPATH%/plugins/videoplayer.js"
videourl="%SWFPATH%/image/video.flv|%SWFPATH%/image/video.m4v"
posterurl="%SWFPATH%/examples/plugin-examples/video-hotspot/poster.jpg"
distorted="true"
ath="0"
atv="0"
edge="center"
scale="1.0"
rx="0"
ry="0"
rz="0"
loop="true"
pausedonstart="true"
directionalsound="true"
range="200"
volume="0.7"
onclick="togglepause();"
/>