From f95e0d9434f5fccbc5e6be9ba046e6eff4d18587 Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Thu, 4 Jun 2026 11:13:13 -0600 Subject: [PATCH 1/2] Chore: Update stale YouTube event-broadcast comment (closes #26) --- js/YouTubeView.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/js/YouTubeView.js b/js/YouTubeView.js index e3f61b4..c101619 100644 --- a/js/YouTubeView.js +++ b/js/YouTubeView.js @@ -101,12 +101,14 @@ export default class YouTubeView extends ComponentView { } /** - * this seems to have issues in Chrome if the user is logged into YouTube (possibly any Google account) - the API just doesn't broadcast the events - * but instead throws the error: - * Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://www.youtube.com'). - * This is documented here: - * https://code.google.com/p/gdata-issues/issues/detail?id=5788 - * but I haven't managed to get any of the workarounds to work... :-( + * Historically, Chrome with a signed-in Google account could silently drop + * player state events, throwing: + * Failed to execute 'postMessage' on 'DOMWindow': The target origin provided + * ('https://www.youtube.com') does not match the recipient window's origin + * ('http://www.youtube.com'). + * Upstream: https://issuetracker.google.com/issues/35174286 + * (closed Won't Fix / Not Reproducible, 2020). No longer reproducible now that + * the page and the YouTube embed are both served over https. Kept for context. */ onPlayerStateChange(e) { switch (e.data) { From 27159134478d0689bb3bccac7c11a1aaaae1b4b0 Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Thu, 4 Jun 2026 11:17:24 -0600 Subject: [PATCH 2/2] Chore: Update README metadata footer --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a92d20..d51ff3f 100644 --- a/README.md +++ b/README.md @@ -75,5 +75,9 @@ The attributes listed below are used in *components.json* to configure **Adapt Y No known limitations ---------------------------- -**Framework versions:** 5.19.1
-**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-youtube/graphs/contributors) \ No newline at end of file + +adapt learning logo
+**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-youtube/graphs/contributors)
+**Accessibility support:** WAI AA
+**RTL support:** Yes
+**Cross-platform coverage:** Chrome, Chrome for Android, Firefox (ESR + latest version), Edge, Safari for macOS/iOS/iPadOS, Opera