REFERENCE / RECIPES
Recipes
Use these routes when you already know what result you need and want to get directly to the right guide. Each recipe links the minimum sequence of pages without repeating the entire reference.
Create content
Create a course with Studio
New course → units and lessons → content → learner view → download or save.
CODECreate a package programmatically
Workspace → resources → optional progression → build → validation → Player.
DOCUMENTSImport with Reader
Read document → review extracted structure → convert only the content you want to incorporate.
NAVIGATIONAdd progression
Defines obligatory nature, completion, minimum score, blocks and prerequisites.
Play
Incorporate the Player
Choose an installation way → mount <p2lrn-player> → asigna src → escucha ready and error.
Quizzes and games
Part of a native quiz → choose a supported presentation → try the example → play with Player.
3DUse 3D activities
Check compatible mechanics, alternative accessibility, physics and completion behavior.
TESTTest a package
Select an example → open it in the viewer → review loading, presentation and events.
Integrate with a platform
Save progress
Configure Host Adapter → load status → save changes → report score → log events.
PRIVATEServe protected resources
Authorize on your server → return a verified URL → Player consumes the resource without introducing secrets into the packet.
EVENTSReact to playback
Listen to public events → identify activity and context → update your app or telemetry.
MIGRATIONEvaluate an external format
Check what can be preserved, read, edited, and played before designing your migration.
Connected and offline
Continue offline
Wraps Host Adapter with createOfflineHostAdapter() → asigna namespace/store → usa createOfflineSyncController() if you want reconnection opt-in.
Reopen the course without network
Create createCacheStoragePackageCache() → cachePackageURL() → asigna player.packageCache.
Share a verified library
Store by SHA-256 → createResourceLibraryResolver() → Studio or Host Adapter selector.
Connect via LTI 1.3
Deploy the self-hosted provider → register real LMS → Deep Linking/binding → launch → AGS if applicable.
Distribute large content
If a large resource should not be contained within the main file, see Multipart. The descriptor preserves hashes and the Player reconstructs the content from the verified parts.