Skip to content

Instantly share code, notes, and snippets.

@MaxPower15
Created December 13, 2012 18:31
Show Gist options
  • Save MaxPower15/4278527 to your computer and use it in GitHub Desktop.
Save MaxPower15/4278527 to your computer and use it in GitHub Desktop.
Programmatically launch an existing popover on the page.
<a id="my_popover" href="http://fast.wistia.com/embed/iframe/fcf31a497a?autoPlay=true&controlsVisibleOnLoad=true&playerColor=81c2f0&popover=true&version=v1&videoHeight=360&videoWidth=640" class="wistia-popover[height=360,playerColor=81c2f0,width=640]"><img src="http://embed.wistia.com/deliveries/e45e6fd93899ef7abbbd0d1dc643e99e8d2f84d7.jpg?image_play_button=true&image_play_button_color=4991C4e0&image_crop_resized=150x84" alt="" /></a><script charset="ISO-8859-1" src="http://fast.wistia.com/static/popover-v1.js"></script>
<script>
wistiaJQuery("#my_popover").click();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment