pauseAllVideos()

Important note: This function can only pause videos that are "known" to Nebula- only Youtube and Vimeo videos that are connected into the Nebula players object. Read More »

youtubeStateChange()

This function checks for the video to play, pause, or end. When played, nebula_playing_video is triggered. When paused, nebula_paused_video is triggered. When ended, nebula_finished_video is triggered. This function also triggers nebula_engaged_video when the user has watched enough of the video to be considered engaged. Read More »

has()

Returns boolean. Works well with nested objects- this helps prevent long conditionals like Note: This function can not detect if an object is defined, so that must be done prior or alongside this function. See above example. Deprecated notice: Use native JS Optional Chaining instead. Read More »