|
@@ -1198,9 +1198,10 @@
|
|
|
window.open(SERVER_URL+"/api/export/"+code)
|
|
|
})
|
|
|
$("#autoplayer_btn").off().on('click',function(){
|
|
|
- var img=$(this).find("img")
|
|
|
+ var img=$(this).find("img");
|
|
|
+ AutoPlayer=!AutoPlayer
|
|
|
if(AutoPlayer){
|
|
|
- img.attr("src","image/auto3d_stop.png");
|
|
|
+ img.attr("src","image/auto3d_start.png");
|
|
|
try{
|
|
|
//循环播放
|
|
|
player.Native.CameraAnimation.setLoop(true);
|
|
@@ -1208,12 +1209,11 @@
|
|
|
player.Native.CameraAnimation.start();
|
|
|
}catch(e){}
|
|
|
}else{
|
|
|
- img.attr("src","image/auto3d_start.png");
|
|
|
+ img.attr("src","image/auto3d_stop.png");
|
|
|
try{
|
|
|
player.Native.CameraAnimation.stop();
|
|
|
}catch(e){}
|
|
|
- }
|
|
|
- AutoPlayer=!AutoPlayer
|
|
|
+ }
|
|
|
})
|
|
|
function GetData(){
|
|
|
$.getJSON(SERVER_URL+"/api/index",{},function(res){
|