我试图在我的示例项目中使用Apple HTML5 VR ...
这个示例代码看起来很好。
threesixty.js
threeSixty = {
init: function() {
this._vr = new AC.VR('viewer', 'images/optimized/Seq_v04_640x378_##.jpg', 72, {
invert: true
});
},
didShow: function() {
this.init();
},
willHide: function() {
recycleObjectValueForKey(this, "_vr");
},
shouldCache: function() {
return false;
}
}
if (!window.isLoaded) {
window.addEventListener("load", function() {
threeSixty.init();
}, false);
}
它加载 Seq_v04_640x378_01.jpg ~ Seq_v04_640x378_72.jpg
但我很好奇,如果我想添加另一张图片来显示 360
怎么改图片名???
感谢您的任何回复或回答:)
韦伯
/编辑 - 添加 Projec 词典截图/
“优化”词典中有 72 张图片