Cloudflare 中文文档
Stream
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

Shaka Player

Example of video playback with Cloudflare Stream and Shaka Player

First, create a video element, using the poster attribute to set a preview thumbnail image. Refer to Display thumbnails for instructions on how to generate a thumbnail image using Cloudflare Stream.

Then listen for DOMContentLoaded event, create a new instance of Shaka Player, and load the manifest URI.

Refer to the Shaka Player documentation for more information.