Skip to content

burakbostancioglu/videojs-tracking

Repository files navigation

Video.js Tracking

A simple plugin allows you to track(views, clicks, errors etc.)

Getting Started

Once you've added the plugin script to your page, you can use it with any video:

<script src="video.js"></script>
<script src="videojs-tracking.js"></script>
<script>
  videojs(document.querySelector('video')).tracking();
</script>

There's also a working example of the plugin you can check out if you're having trouble.

Documentation

Plugin Options

You may pass in an options object to the plugin upon initialization. This object may contain any of the following properties:

option

Type: boolean Default: true

An example boolean option that has no effect.

Release History

  • 0.1.0: Initial release

About

A simple tracking library for video.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published