JavaScript
2 years ago in JavaScript
<script>document.title='Video Editor',flashvars={"apiserver":"/","storePath":"https://josephcrosmanplays532-duked.github.io/Wrapper-Online-2.0-Assets/store/3a981f5cb2739137/<store>","isEmbed":1,"ctc":"go","ut":60,"bs":"default","appCode":"go","page":"","siteId":"go","lid":13,"isLogin":"Y","retut":1,"clientThemePath":"https://josephcrosmanplays532-duked.github.io/Wrapper-Online-2.0-Assets/static/ad44370a650793d9/<client_theme>","themeId":"custom","tlang":"en_US","presaveId":"m-31","goteam_draft_only":1,"isWide":1,"collab":0,"nextUrl":"pages/html/list.html","tray":"custom"}</script><body style="margin:0px"><object id="obj" data="https://josephcrosmanplays532-duked.github.io/Wrapper-Online-2.0-Assets/animation/4148120ad1cb1260/go_full.swf" type="application/x-shockwave-flash" width="100%" height="100%"><param name="flashvars" value="apiserver=%2F&storePath=https%3A%2F%2Fjosephcrosmanplays532-duked.github.io%2FWrapper-Online-2.0-Assets%2Fstore%2F3a981f5cb2739137%2F%3Cstore%3E&isEmbed=1&ctc=go&ut=60&bs=default&appCode=go&page=&siteId=go&lid=13&isLogin=Y&retut=1&clientThemePath=https%3A%2F%2Fjosephcrosmanplays532-duked.github.io%2FWrapper-Online-2.0-Assets%2Fstatic%2Fad44370a650793d9%2F%3Cclient_theme%3E&themeId=custom&tlang=en_US&presaveId=m-31&goteam_draft_only=1&isWide=1&collab=0&nextUrl=pages%2Fhtml%2Flist.html&tray=custom"> <param name="allowScriptAccess" value="always"></object></body><iframe style='display:none'name='dummy'></iframe><form style='display:none'id='uploadbanner'enctype='multipart/form-data'method='post'action='/upload_asset'target='dummy'><input type='text'name='params'/><input id='fileupload'name='import'type='file'onchange='importComplete(this)'accept='.mp3,.wav,.png,.jpg'/><input type='submit'value='submit'id='submit'/></form><script>interactiveTutorial={neverDisplay:function(){return true}};function studioLoaded(arg){console.log(arg)}function initPreviewPlayer(xml){confirm('Before proceeding, please make sure all your changes have been saved.')&&window.open('player?movieId='+flashvars.presaveId,'MsgWindow','width=1280,height=723,left='+(screen.width/2-640)+',top='+(screen.height/2-360))};function exitStudio(){window.location='/html/list.html'}const fu=document.getElementById('fileupload'),sub=document.getElementById('submit');function showImporter(){fu.click()};function importComplete(obj){const file=obj.files[0];if(file!=undefined){const ext=file.name.substring(file.name.lastIndexOf('.')+1);var params=flashvars.presaveId+'.';if(ext=='mp3'||ext=='wav'){var c;while(c!='vo'&&c!='se'&&c!='mu'){c=prompt('Would you like to upload this as a voiceover ("vo"), sound effect ("se"), or as music ("mu")?').toLowerCase()}params+=c}else if(ext=='jpg'||ext=='png'){var c;while(c!='bg'&&c!='prop'){c=prompt('Would you like to upload this as a background ("bg") or as a prop ("prop")?').toLowerCase()}params+=c}obj.parentElement.firstChild.value=params+'.'+ext;sub.click();return true}}</script>
1