Created
July 12, 2018 14:01
-
-
Save brianaohern/e68145c98cd920ad46b834e6a96815b0 to your computer and use it in GitHub Desktop.
om.Campaign.show Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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