Theoplayer with Peer5 for HLS integration¶
Theoplayer is a feature rich video player that supports HLS.
The integration with Peer5 plugin is as easy as it can get.
In addition to the player script, include Peer5 client and Theoplayer plugin.
Peer5 client and plugins scripts¶
add these two scripts to the
head of your player's page
<script src="//api.peer5.com/peer5.js?id=PEER5_CUSTOMER_ID"></script> <script src="//api.peer5.com/peer5.theoplayer.plugin.js"></script>
The following information needs to be filled according to your actual data:
PEER5_CUSTOMER_IDyour Peer5 Customer ID
MANIFEST_FILEurl to your
THEOPLAYER_LICENSEyour license key from Theoplayer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Visit the full Theoplayer docs here.
To test that you integrated with Peer5 correctly, and to see stats about what the Peer5 integration is doing, you can view the stats overlay.