0.1.0 • Published 7 years ago

clappr-logo-plugin v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

clappr-logo-plugin

An external Clappr player plugin.

Screenshot

Install

npm install --save clappr-logo-plugin

Usage

Add both Clappr and the logo plugin scripts to your HTML:

<head>
  <script type="text/javascript" src="http://cdn.clappr.io/latest/clappr.min.js"></script>
  <script type="text/javascript" src="clappr-logo-plugin.js"></script>
</head>
var player = new Clappr.Player({
  source: "http://your.video/here.mp4",
  plugins: [LogoPlugin],
  logo: {
    path: 'http://media.moddb.com/images/members/4/3925/3924855/unnamed.png',
  }
});

Scripts

  • npm start launch public/index.html at http://0.0.0.0:port and you can see usage example
  • npm build build to dist/clappr-logo-plugin.min.js

Contribute

Welcome to issues/PR's!

0.1.0

7 years ago

1.0.0

7 years ago