iband-player
v0.2.0
Published
IBand Player SDK for playing 360/VR streams.
Downloads
2
Maintainers
Readme
iband-player
IBand JavaScript Player SDK for playing 360/VR streams.
Install
Via NPM:
npm install iband-player
Via CDN:
Usage
<!DOCTYPE html>
<html lang="en">
<head>
<link href="path-to/bundle.min.css" rel="stylesheet">
</head>
<body>
<video id="my-video" width="640" height="264"></video>
<script src="path-to/bundle.min.js"></script>
<script>
var sdk = new IBandSDK('YOUR_SDK_TOKEN');
var stream = sdk.createStream('YOUR_STREAM_ID');
var player = sdk.createPlayer('#my-video');
player.setStream(stream);
</script>
</body>
</html>
Demo Player
Please see here.
API Reference
https://doremeet.github.io/PlayerSDK-Web/
License
This library is unlicensed and created by IBand Ltd.
This library use the sub-libraries Video.js and videojs-panorama.