This library can be used for custom integration projects where the standard BoxCast embedded player may not suffice.
We do strongly encourage you to use the standard embedded player instead of this library where possible, because it is the most robust and well-tested playback option.
See Related:
<script src="https://js.boxcast.com/libs/boxcast-sdk-js-2.0.2/browser.js"></script>
<script>
const { analytics, api } = new BoxCastSDK();
</script>
or, install via NPM
/* Important: If you are running this on node, use this: */
import BoxCastSDK from "boxcast-sdk-js/node";
/* otherwise, if you are running this in a browser, use this: */
import BoxCastSDK from "boxcast-sdk-js/browser";
const { analytics, api } = new BoxCastSDK();
You will need to know your BoxCast account ID and corresponding channel IDs in order to properly utilize this library. Contact BoxCast developer support if you need assistance.