Skip to main content

Getting started

To load the Caast Library on your website you just need to add this code at the end of your body tag element

<script type="text/javascript">
// Replace those values by those available in your administration interface
var CAAST_APP_ID = 'YOUR_APP_ID';
(function (c, a, A, s, t, J, S) {
if (!a.getElementById('caast_library')) {
(c[t] = c[t]), (J = a.createElement(A)), (S = a.getElementsByTagName(A)[0]);
J.async = 1;
J.src = s;
J.id = 'caast_library';
S.parentNode.insertBefore(J, S);
}
})(window, document, 'script', 'https://cdn.caast.tv/caast-latest/caast.js?APP_ID=' + CAAST_APP_ID, 'caast');
</script>

With this simple snippet Caast Library is now running on your website, lets have a look on advanced configuration in order to customize the Caast Library.