Skip to content

Instantly share code, notes, and snippets.

@codegangsta
Created November 23, 2016 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codegangsta/da77658965a063a86ce09df531d31ce3 to your computer and use it in GitHub Desktop.
Save codegangsta/da77658965a063a86ce09df531d31ce3 to your computer and use it in GitHub Desktop.
<script>
// initialize the wistia queue if it hasn't already been initialized
window._wq = window._wq || [];
// Push your callback onto the queue
_wq.push({ "YOUR_WISTIA_VIDEO_ID": function(video) {
// Make any calls you want to the video handle
video.play();
}});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment