2.0.0
- The
selector
option now accepts either of the following:
NodeList
HTMLCollection
string
- Or a single DOM element.
-
A breaking change has been made to the
api.end
action which has now been renamed toapi.after
. -
A new method
loadSingle()
has been added. This takes two parameters, the first being a single DOM element and the second being an optional attribute name for reading the YouTube data from the element.