Videoplayer Plugin videoplayer.jsVersion 1.21
语法
作为屏幕上的平面layer元素使用:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<layer name="video" url="videoplayer.js" videourl="video.m4v|video.webm" posterurl="videoposter.jpg" align="center" x="0" y="0" pausedonstart="false" loop="false" volume="1.0" onvideoready="" onvideoplay="" onvideopaused="" onvideocomplete="" onerror="" /> |
作为3D变形热点使用:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<hotspot name="video" url="videoplayer.js" videourl="video.m4v|video.webm" posterurl="videoposter.jpg" ath="0.0" atv="0.0" distorted="true" scale="1.0" rx="0.0" ry="0.0" rz="0.0" pausedonstart="false" loop="false" volume="1.0" directionalsound="true" range="90.0" rangefalloff="1.0" outofrangevolume="0.0" onvideoready="" onvideoplay="" onvideopaused="" onvideocomplete="" onerror="" /> |
作为全景视频使用:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<plugin name="<span style="color: #ff0000;">video</span>" url="videoplayer.js" videourl="video.m4v|video.webm" posterurl="videoposter.jpg" panovideo="true" pausedonstart="false" loop="false" volume="1.0" onvideoready="" onvideoplay="" onvideopaused="" onvideocomplete="" onerror="" /> <image hfov="360" vfov="180"> <sphere url="plugin:<span style="color: #ff0000;">video<span style="color: #000000;">"</span></span> /> </image> |
下一页 为 krpano 1.19 关于手机端限制的说明
页面: 1 2
在 “Videoplayer插件官方文档” 上有 3 条评论