SimpleVideo

SimpleVideo

new SimpleVideo()

Source:
Properties:
Name Type Description
settings object

configurations for SimpleVideo

started boolean

true if playback has started, false otherwise

isInView boolean

true if player is in view

playler object

video player object created via third party library (video.js)

$poster element

DOM reference of poster image element

$container element

DOM reference of container element where video is inserted

posterSelector string

css selector for poster image DOM element

identifer string

css class identifier a SimpleVideo element

animateInCss string

css class for animation of showing element

animateOutCss string

css class for animation of hiding element

prefix string

prefix of DOM element id of a SimpleVideo

libraries object

library URLs required for enabling video and the respective load state

videoCount number

number of SimpleVideo instances on the page

ready boolean

whether or not video object is ready to be instantiated

numLibLoaded number

number of scripts loaded

API_READY string

name of event fired when libraries are loaded

SimpleVideo Module for playing video without ads, analytics, playback control

SimpleVideo