Sub-flow › Preview Course Content › Lesson Player

Lesson Player

Simulate:
βœ• Close
Introduction to Lao Governance Β· submitted content (UC-CCM.06)
Preview Mode
1.2.1 — Principles overview Video Read-only preview β€” not tracked
1.2.1 β€” Principles overview Duration: 12:34
0:00 / 12:34
Resources for this item Supplementary Notes
Spec notes β€” SUC-PLY-01 / SCR-PLY.01 Lesson Player (Preview Mode)
Identity
  • Sub-use case: SUC-PLY-01 β€” Preview Course Content
  • Screen: SCR-PLY.01 β€” Lesson Player (shared with UC-PLY.01 β€” same rendering per content type)
Brief description

Read-only building block reused by 3 host use cases β€” opens the Lesson Player in a new browser tab, showing the content identified by the calling use case with no lock states, no resume position, and no progress tracking. Quiz and Assignment content items render inline as static read-only previews (disabled inputs, no submission). Content shown is the exact version the instructor submitted (UC-CCM.06), or the course's current approved/published content (UC-LMS.11, UC-LMS.19) β€” never the instructor's in-progress draft.

Regions
  • Navigation tree β€” all items shown as accessible, no lock icons
  • Active content info
  • Content viewer (type-adaptive: html / image / video / pdf / docx / xlsx / external_link / scorm / quiz / assignment)
  • Viewer controls (video only)
  • Sequential navigation (← Previous / Next β†’ / Finish Preview)
  • Resources panel (pinned bottom of sidebar) and item supplementary links (below viewer) β€” shown in Preview context same as the learner view, read-only, no completion tracking (T-0231, 2026-07-08 β€” previously hidden in Preview context, which contradicted "exactly as a learner would see it")

Still not shown in Preview context (learner-progress-only regions, per SCR-PLY.01 field visibility rules): Forum tab, resume position, completion %, save status, SCORM completion status.

Actions
  • select_content_item β€” enabled for every item regardless of state (review_context == true, no lock conditions)
  • expand_collapse_module, switch_locale β€” always
  • play_pause, seek, toggle_fullscreen, toggle_captions, change_speed, toggle_transcript β€” video only
  • open_external_link β€” external_link only
  • download_file β€” image / pdf / docx / xlsx
  • open_supplementary_resource "Open resource" β€” always enabled (shown in Preview context, T-0231); no completion is recorded, in either context
  • retry_load β€” enabled on load error (generic SCR-PLY.01 behavior, not tied to any alternative flow)
  • close_player "βœ• Close" β€” always; closes the preview tab, returns to the host page (SCR-CCM.10, SCR-LMS.06, or SCR-LMS.53)
  • go_to_next_item "Next β†’" β€” advances across lesson boundaries; label changes to "Finish Preview" at the last item β€” closes the tab and returns to the host page
  • go_to_prev_item "← Previous" β€” enabled when a previous item exists
Additional requirements
  1. No progress records are created or updated during a preview session. All content items are accessible immediately β€” no sequential lock, no quiz lock. Quiz and Assignment content items are shown as static read-only previews. A "Preview Mode" badge is displayed persistently in the player header.
ReturnUrl context
  • Current returnUrl: /manage-course-library/
  • Fallback when empty: /
  • On Close or Finish Preview β†’ /manage-course-library/ β€” there is no separate cancel signal; this SUC never creates or updates data, so there is nothing to roll back on exit
  • Propagation: ?returnUrl=… carried on all in-page navigation links
Sub-flow context
  • SUC ID: SUC-PLY-01 Β· SUC Name: Preview Course Content
  • Invoked by (per use-cases.yaml includes:):
    • UC-CCM.06 (Review and Approve Course) β€” "Preview Course" button on the Course Review Page (SCR-CCM.10)
    • UC-LMS.11 (Manage Course) β€” "Review Content" button on the Course Detail page (SCR-LMS.06)
    • UC-LMS.19 (Manage Course Library) β€” "Preview Content" action on the Course Library Detail page (SCR-LMS.53)