External platforms: consent-gated click-to-load, operator allow list, Twitch, Cloudflare Stream, SoundCloud, Mixcloud. Needs app 0.84.0. Release 0.10.0. #11

Closed
oliver.maklott wants to merge 0 commits from oliver.maklott/b4-providers into main AGit

Plan phase B4. Uses the SDK consent shims of app 0.84.0. Verified: 70 pack tests, test:media (76), fmt/lint/check, boundary and ui-adoption checks, and the headless-Chromium harness (consent placeholder in German, one grant loads both YouTube embeds, blocked notice, Twitch and Cloudflare under the video skin, SoundCloud and Mixcloud widgets visible above the audio skin). Wistia, Dailymotion, Spotify and TikTok left out (reasons in the commit). 🤖 Generated with Claude Code

Plan phase B4. Uses the SDK consent shims of app 0.84.0. Verified: 70 pack tests, test:media (76), fmt/lint/check, boundary and ui-adoption checks, and the headless-Chromium harness (consent placeholder in German, one grant loads both YouTube embeds, blocked notice, Twitch and Cloudflare under the video skin, SoundCloud and Mixcloud widgets visible above the audio skin). Wistia, Dailymotion, Spotify and TikTok left out (reasons in the commit). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
External platforms: consent-gated click-to-load, an operator allow list, and Twitch, Cloudflare Stream, SoundCloud and Mixcloud. Needs app 0.84.0. Release 0.10.0.
All checks were successful
Publish / dev-image (pull_request) Successful in 0s
Publish / test (pull_request) Successful in 1m34s
Publish / pack-and-publish (pull_request) Has been skipped
324aef759c
- providers.ts: one table of platforms (URL pattern, kind, Video.js element).
  YouTube and Vimeo play unless the operator blocks them; Twitch, Cloudflare
  Stream, SoundCloud and Mixcloud only when allowed (pack settings,
  data/config/media.json). A blocked platform shows a notice.
- GDPR: each platform is an optional cookie function (media:youtube, …)
  plus a privacy-policy section. The assemble route asks
  isGdprFunctionAllowed (app 0.84.0); without consent the embed is a
  click-to-load placeholder: "Load content" once, or "Always load …" which
  grants the consent (action `grant`) and loads the page's other embeds of
  that platform. With the cookie banner off, players load directly.
- SoundCloud and Mixcloud keep their widget visible (their terms; it credits
  the uploader) with the audio skin below; Twitch and Cloudflare play under
  the video skin. Every platform frame gets the referrer policy (it was
  YouTube only).
- Left out: Wistia (its player package pulls a webpack toolchain and
  reports errors to Sentry), Dailymotion (needs a Player ID per site and
  cannot run under a skin), Spotify and TikTok (own chrome only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oliver.maklott closed this pull request 2026-11-22 16:02:35 +01:00
All checks were successful
Publish / dev-image (pull_request) Successful in 0s
Publish / test (pull_request) Successful in 1m34s
Publish / pack-and-publish (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
limedoc-plugins/media!11
No description provided.