Skip to content

Instantly share code, notes, and snippets.

@brianaohern
Created July 12, 2018 14:01
Show Gist options
  • Select an option

  • Save brianaohern/e68145c98cd920ad46b834e6a96815b0 to your computer and use it in GitHub Desktop.

Select an option

Save brianaohern/e68145c98cd920ad46b834e6a96815b0 to your computer and use it in GitHub Desktop.
om.Campaign.show Example
document.addEventListener('om.Campaign.show', function(event) {
if (event.detail.Campaign.id === "CAMPAIGN_ID") {
// Add your own logic to pause video on page
}
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment