voorhoede / head-start

Base setup on top of headless services to help you quickly start a new website
ISC License
3 stars 0 forks source link

feature: Video Block #119

Closed jbmoelker closed 8 months ago

jbmoelker commented 8 months ago

Changes

Adds Video Block that renders a video uploaded in DatoCMS with a cover image, caption, support for subtitles and options to autoplay, mute and loop. Features (also in block readme):

Moved custom image and custom play button overlay to separate ticket.

Associated issue

Resolves #33

How to test

  1. Open /en/overview-page/demos/video-block/
  2. Test with different uploaded videos in CMS, with and without subtitles
  3. Verify streaming, mp4 and fallback work (by disabling one at a time locally)
  4. Verify autoplay and other block options work as expected

Checklist

cloudflare-workers-and-pages[bot] commented 8 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ea2b342
Status: ✅  Deploy successful!
Preview URL: https://7260b848.head-start.pages.dev
Branch Preview URL: https://feat-video-block.head-start.pages.dev

View logs