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();"
/>

本文介绍如何使用krpano工具在全景项目中插入视频及多边形热点。通过编辑tour.xml文件并利用editor按钮,可以实现自定义热点区域,并设置视频播放属性如循环播放、暂停状态等。
604

被折叠的 条评论
为什么被折叠?



