Created
February 6, 2015 15:20
-
-
Save stuwilli/f78de2d205d1cb442aa1 to your computer and use it in GitHub Desktop.
Test for existence of a Brightcove player
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
(function () { | |
if (typeof brightcove !== "undefined") { | |
if (Object.keys(brightcove.experiences).length !== 0) { | |
return true; | |
} | |
} | |
return false; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment