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.