Video.js
Example of video playback with Cloudflare Stream and Video.js
<html>  <head>    <link      href="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.10.2/video-js.min.css"      rel="stylesheet"    />    <script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.10.2/video.min.js"></script>  </head>  <body>    <video-js id="vid1" controls preload="auto">      <source        src="https://customer-f33zs165nr7gyfy4.cloudflarestream.com/6b9e68b07dfee8cc2d116e4c51d6a957/manifest/video.m3u8"        type="application/x-mpegURL"      />    </video-js>
    <script>      const vid = document.getElementById('vid1');      const player = videojs(vid);    </script>  </body></html>Refer to the Video.js documentation ↗ for more information.
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Products
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark