mickey / videojs-ga

Google Analytics plugin for video.js
MIT License
138 stars 109 forks source link

control tracking and options #27

Open alex-phillips opened 8 years ago

alex-phillips commented 8 years ago

Added ability to enable and disable tracking outside of the plugin. This is useful for when you want to disable analytics events during such things as preroll video. Also added the ability to update the options after the plugin has been initialized (ex: change out the source of the player to switch to the next video, you can begin performing analytics on the new video)