VIDEO_SELECTEDaction, use the state before the action and the state after the action to hydrate the analytics event
VIDEO_PLAYEDaction using the
trackTimingfunctions used above are called
eventDefinitionsand are what you use to create events that are consumable by an analytics service (a.k.a "target"). Each target will have its own set of
eventDefinitionsthat you can use and customize.