Skip to content

[MBL-19795][Student] Support offline playback of Studio video ExternalTool module items#3585

Merged
hermannakos merged 2 commits intomasterfrom
MBL-19795-module-studio-video-offline
Mar 23, 2026
Merged

[MBL-19795][Student] Support offline playback of Studio video ExternalTool module items#3585
hermannakos merged 2 commits intomasterfrom
MBL-19795-module-studio-video-offline

Conversation

@hermannakos
Copy link
Collaborator

@hermannakos hermannakos commented Mar 19, 2026

Test plan

  1. Add a Studio video as an ExternalTool module item in a course
  2. Sync the course for offline use
  3. Go offline
  4. Navigate to Modules → tap the Studio video item
  5. Verify a file-like screen appears with the video title, poster thumbnail (if available), and an "Open" button
  6. Tap "Open" → verify VideoViewActivity plays the local video
  7. Verify non-Studio ExternalTool items still show "Not Available Offline"
  8. Verify Studio videos embedded in page HTML bodies still work offline (regression)

refs: MBL-19795
affects: Student
release note: Studio videos added as External Tool module items now play offline after syncing

  • Follow-up e2e test ticket created or not needed
  • Tested in dark mode
  • Tested in light mode
  • Test in landscape mode and/or tablet
  • A11y checked
  • Approve from product

…lTool module items

Extract Studio media IDs from ExternalTool module items during sync so
videos are downloaded via the existing StudioSync pipeline. When offline,
route to a new StudioVideoFragment that displays the video title, poster
thumbnail, and an Open button that launches VideoViewActivity with the
local file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

📊 Code Coverage Report

ℹ️ Student

  • PR Coverage: 42.56%
  • Master Coverage: N/A

ℹ️ Teacher

  • PR Coverage: 25.38%
  • Master Coverage: N/A

ℹ️ Pandautils

  • PR Coverage: 23.66%
  • Master Coverage: N/A

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

🧪 Unit Test Results

✅ 📱 Student App

  • Tests: 1252 total, 0 failed, 0 skipped
  • Duration: 0.000s
  • Success Rate: 100%

✅ 🌅 Horizon

  • Tests: 790 total, 0 failed, 0 skipped
  • Duration: 43.898s
  • Success Rate: 100%

✅ 📦 Submodules

  • Tests: 3343 total, 0 failed, 0 skipped
  • Duration: 57.240s
  • Success Rate: 100%

📊 Summary

  • Total Tests: 5385
  • Failed: 0
  • Skipped: 0
  • Status: ✅ All tests passed!

Last updated: Fri, 20 Mar 2026 14:58:01 GMT

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

Student Install Page

@tamaskozmer tamaskozmer self-requested a review March 19, 2026 14:05
Copy link
Contributor

@adamNagy56 adamNagy56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • In landscape mode, the page is not scrollable. However, if I tap the bottom part of the image, the video starts playing, so the button seems to still be there somehow, it’s just not visible in the UI.

See attached video.

Screen_Recording_20260320_115935_Canvas.mp4

Copy link
Contributor

@adamNagy56 adamNagy56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA +1

@hermannakos hermannakos merged commit 7285fd8 into master Mar 23, 2026
65 of 74 checks passed
@hermannakos hermannakos deleted the MBL-19795-module-studio-video-offline branch March 23, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants