Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
53 lines (37 loc) · 2.28 KB

README.md

File metadata and controls

53 lines (37 loc) · 2.28 KB

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