Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jQuery(document).ready(function($){
$(document).on('OptinMonsterInit', function(event, data){
// If video is playing (add your own logic here), remove the optin.
if ( data.optin ) {
$('#om-' + data.optin).remove();
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.