Forked from: vintage's Remote shooting for RX100M2 with Sony's Camera Rem View Diff (12) forked: Remote shooting for RX100M2 with Sony's Camera Remote API Tokuhiro.Nis Follow 2015-01-24 16:06:58 License: MIT License Fork0 Fav0 View1386 Play Stop Reload Fullscreen Smart Phone Readme JavaScript 2 lines HTML 10 lines CSS 10 lines forked: Remote shooting for RX100M2 with Sony's Camera Remote API // forked from vintage's "Remote shooting for RX100M2 with Sony's Camera Remote API" http://jsdo.it/vintage/mLUV <script> function shot(){ var a=new XMLHttpRequest; a.open("POST","http://192.168.1.29:10000/camera",true); a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); a.send('{"method":"actTakePicture","params":[],"id":1}'); }; </script> <button style="padding: 10px 30px;font-weight: bold; font-size:6ex;" onclick="shot();">Shot</button> forked: Remote shooting for RX100M2 with Sony's Camera Remote API * { margin: 0; padding: 0; border: 0; } body { background: #fdf; font: 30px sans-serif; } // forked from vintage's "Remote shooting for RX100M2 with Sony's Camera Remote API" http://jsdo.it/vintage/mLUV <script> function shot(){ var a=new XMLHttpRequest; a.open("POST","http://192.168.1.29:10000/camera",true); a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); a.send('{"method":"actTakePicture","params":[],"id":1}'); }; </script> <button style="padding: 10px 30px;font-weight: bold; font-size:6ex;" onclick="shot();">Shot</button> * { margin: 0; padding: 0; border: 0; } body { background: #fdf; font: 30px sans-serif; } use an iframe compat browser, deer Play on jsdo.it games Author Share ブログに埋め込む QR Tag Download Complete! Description What kind of game? Control Device Smartphone Controllerjsdo.it WebSocket Controller» Mouse Keyboard Touch Device Fullscreen Activated Inactivated jsdo.it games から削除する Submit Author Tokuhiro.Nishikawa Tweet Default Panel Auto play Screenshot Readme JavaScript HTML CSS Size Width: px Height: px code <script type="text/javascript" src="http://jsdo.it/blogparts/txhi/js"></script> other api camera remote rx100m2 sony Discussion Questions on this code? Tags api camera other remote rx100m2 sony