Without a bundler¶
If you’re loading modules via script tags instead of a bundler, include the
SDK scripts in the <head>:
<html>
<head>
<script src="node_modules/@castlabs/prestoplay/cjs/cl.core.js"></script>
<script src="node_modules/@castlabs/prestoplay/cjs/cl.mse.js"></script>
<script src="node_modules/@castlabs/prestoplay/cjs/cl.dash.js"></script>
</head>
<body>
<div id="container">
<video id="video" width="640" height="360"></video>
</div>
</body>
</html>
Next topic: Components
Previous topic: Getting started