Skip to content

BemTV peer-to-peer plugin for Clappr Player (HTTP Live Streaming, HLS, WebRTC, P2P)

License

Notifications You must be signed in to change notification settings

zskylark/clappr-p2phls-plugin

 
 

Repository files navigation

BemTV Plugin for Clappr Media Player

Build Status Coverage Status bemtv google group Issue Stats

This plugin adds peer-to-peer powers for HTTP Live Streaming (HLS) transmissions on Clappr Player.

BemTV P2PHLS

Try it now!

Visit BemTV with a modern browser and try it by yourself.

How to Use

<head>
  <script src="http://cdn.clappr.io/bemtv/latest/p2phls.min.js"></script>
  <script src="http://cdn.clappr.io/bemtv/latest/p2phlsstats.min.js"></script>
</head>
<body>
  <div id="player-wrapper"></div>
  <script>
    var playerElement = document.getElementById("player-wrapper");
    var player = new Clappr.Player({
        source: 'http://cdn.bem.tv/stream/soccer5/playlist.m3u8',
        plugins: { playback: [P2PHLS], container: [P2PHLSStats] },
        poster: "http://cdn2.theinertia.com/wp-content/uploads/2012/05/Medina-Final.jpg",
        watermark: "http://bem.tv/assets/watermark3.png"
    });      
    player.attachTo(playerElement);
  </script>
</body>

Questions/Support?

Post your question at our Google Groups discussion list: https://groups.google.com/d/forum/bemtv

Contribute

If you'd like to support the development of this project, consider make a donation.

Donate

Author

Flávio Ribeiro ([email protected])

BemTV

About

BemTV peer-to-peer plugin for Clappr Player (HTTP Live Streaming, HLS, WebRTC, P2P)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.6%
  • HTML 4.1%
  • CSS 0.3%