Skip to content

Instantly share code, notes, and snippets.

@vibhavsinha
Last active August 29, 2015 14:02
Show Gist options
  • Save vibhavsinha/07e3904287a1f9e3e4c3 to your computer and use it in GitHub Desktop.
Save vibhavsinha/07e3904287a1f9e3e4c3 to your computer and use it in GitHub Desktop.
A demo for vdoCipher javascript
<script type="text/javascript">
function callStatus(){
var vdo = vdocipher_videos[0];
logbox.value = (typeof(vdo) == "undefined" || typeof(vdo.status) == "undefined") ? -1 : vdo.status;
}
</script>
<input type="text" value="" id="logbox" />
<button onclick="callStatus()">Check Status</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment