Cloudflare Docs
Stream
Edit this page on GitHub
Set theme to dark (⇧+D)

dash.js

Example of video playback with Cloudflare Stream and the DASH reference player (dash.js)
<html>
<head>
<script src="https://cdn.dashjs.org/latest/dash.all.min.js"></script>
</head>
<body>
<div>
<div class="code">
<video
data-dashjs-player=""
autoplay=""
src="https://customer-f33zs165nr7gyfy4.cloudflarestream.com/6b9e68b07dfee8cc2d116e4c51d6a957/manifest/video.mpd"
controls="true"
></video>
</div>
</div>
</body>
</html>

Refer to the dash.js documentation for more information.