-
Notifications
You must be signed in to change notification settings - Fork 119
[MBL-19574][S/T/P] Support Studio, Quiz & Archive embeds in WebView & Immersive view #3818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[MBL-19574][S/T/P] Support Studio, Quiz & Archive embeds in WebView & Immersive view #3818
Conversation
refs: MBL-19574 affects: Student, Teacher, Parent builds: Student, Teacher, Parent release note: Enhanced experience for media embeds
Release Note:Enhanced experience for media embeds Affected Apps: Student, Teacher, ParentBuilds: Student, Teacher, Parent
|
BuildsCommit: Fix names (c823a17) |
Claude Code ReviewUpdated: 2025-12-28 Critical Issues Fixed ✅
Remaining Issues
Minor
Improvements ✅
✅ Approved with minor observations |
refs: MBL-19574
affects: Student, Teacher, Parent
builds: Student, Teacher, Parent
release note: Enhanced experience for media embeds
Changes
This is mainly to support the following functions related to iframes of Studio media:
1- Adding javascript file (
CanvasLTIPostMessageHandler.js) provided by Studio team, to fix an issue of resizing for content loaded into WebView as an HTML text.2- Inserting "Open in Details View" button below each studio media LTI frame.
3- Support launching immersive view for Studio media, by 3 ways: Tapping on "Open in Details View" button, tapping on "Expand View" button (of menu item) which loaded into the iframe, and tapping on the iframe itself (only for the case thumbnail embed).
The handling is done by 2 main ways:
1- Examining URL of navigation action passed to WebView delegate method:
webView(_:decidePolicyFor:decisionHandler:)2- Handling a WebView message
fullWindowLaunchwhich is posted inCanvasLTIPostMessageHandler.js:298upon listening to iframerequestFullWindowLaunchmessage event.For more details on the specs of those frames, see document linked in ticket description.
Test Plan
Known Issues
Still waiting for BE team to provide a way to distinguish archived media, so we can avoid inserting "Open in details view" button below them.
Checklist