Add automatic Segment event tracking to popular video players.
npm install @segment/analytics.js-video-pluginsAdd automatic Segment event tracking to popular video players.
/plugins directory. Plugins are built into a single module using Webpack and output as a single commonJs module into the /dist directory. This file is then bundled into analytics.js via analytics.js-private using Browserify. Each plugin is accessible at runtime at window.analytics.plugins.yarn release . This will automatically update package.json with the appropriate version bump, build a new dist file, push the updates to GitHub, and publish to npm.Next, follow the instructions to release analytics.js (note: you'll be bumping the version of @segment/analytics.js-video-plugins in that repo to the version you just published.