videojs-event-tracking
Version:
Track events with VideoJS and keep an eye on performance metrics
22 lines (20 loc) • 697 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>videojs-event-tracking Demo</title>
<link href="node_modules/video.js/dist/video-js.css" rel="stylesheet">
<link href="examples/console.css" rel="stylesheet">
</head>
<body>
<video id="videojs-event-tracking-player" class="video-js vjs-default-skin" controls preload="auto"></video>
<button type="button" id="load">load another source</button>
<div id="console"></div>
<ul>
<li><a href="test/">Run unit tests in browser.</a></li>
</ul>
<script src="node_modules/video.js/dist/video.js"></script>
<script src="dist/videojs-event-tracking.js"></script>
<script src="examples/base.js"></script>
</body>
</html>