Skip to content

jhonatangcavalcanti/clappr

 
 

Repository files navigation

npm version Build Status Dependency Status Coverage Status License Greenkeeper badge



Using the Player

Add the following script on your HTML:

<head>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"></script>
</head>

Now, create the player:

<body>
  <div id="player"></div>
  <script>
    var player = new Clappr.Player({source: "http://your.video/here.mp4", parentId: "#player"});
  </script>
</body>

Live Demo

Test it at cdn.clappr.io.

CDN

You can use the latest published version at https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js

Vendors

You can re-use some vendors used internally, for instance you can use Kibo through Clappr.Vendor.Kibo.

Status

Clappr is under heavy development but production-ready. Feel free to open issues and send us pull requests.

Sponsor

image

About

🎬 An extensible media player for the web.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.4%
  • CSS 5.4%
  • HTML 2.4%
  • ActionScript 2.2%
  • Shell 0.6%