Created by Mathew Lim for the SLS Community
ACP Media Companion helps educators package ACP-generated HTML5 interactives with media files into a ready-to-upload ZIP.
The tool is designed for workflows using SLS Authoring Copilot (ACP), where teachers:
- Generate an interactive with
index.html,style.css, andscript.js - Reference media files using main-folder filenames (for example,
image.png) - Upload media and produce a final ZIP for use in SLS
SLS's Authoring Copilot (ACP) currently generates interactives without embedded media such as images, sound, and video. Many teachers also do not know how to modify project files (index.html, style.css, and script.js) to embed media files correctly.
As a result, interactives may be less engaging and may rely on generic SVG images that are not always suitable.
This programme provides a practical bridge between ACP output and SLS deployment by:
- Consolidating code and media in one interface
- Detecting path issues early
- Producing a correct ZIP structure for upload
Solution follows this order:
- How to prompt ACP to create media placeholders in the HTML5 files.
- Step-by-step instructions on how to add media files and package them into a ZIP file with the HTML5 files.
- An additional HTML5 ZIP-Media Compiler for teachers who are unsure how to manage folders, place media files, and zip them before uploading to SLS.
- Teachers using SLS Authoring Copilot (ACP)
- Curriculum designers preparing interactive resources
- Support teams helping teachers package HTML5 resources
- Guided prompt templates to help teachers instruct ACP to create media placeholders in HTML5 files
- Ready-to-use prompt patterns for:
- image placeholders
- sound effects
- video placeholders
- background audio controls
- Filename emphasis for case-sensitive media references
- 8-step instructional workflow with video walkthroughs
- Covers:
- preparing ACP prompts
- setting correct filenames
- downloading the interactive ZIP file
- adding media and uploading to SLS
- Includes manual and compiler-assisted paths for packaging
- Additional help for teachers who are unsure how to manage folders and ZIP files
- Upload a ZIP file and auto-load:
index.htmlstyle.cssorstyles.cssscript.js
- Upload media files by button or drag-and-drop
- Main Folder Path Checker to flag incorrect media references
- Media filename matching checks to detect mismatch errors
- Generate a new ZIP file with HTML5 files and media in the main folder
- Prepare or generate interactive code in ACP.
- (Optional) Add teacher-created content and/or existing interactive code into ACP Knowledge Base.
- Ensure media filenames in prompts are exact and case-sensitive.
- Generate and refine output in ACP.
- Download the interactive ZIP file from ACP.
- Upload the ZIP file into HTML5 ZIP-Media Compiler.
- Resolve main-folder path and naming errors if flagged.
- Upload all required media files.
- Generate final ZIP.
- Upload final ZIP into SLS Text Media Component.
- Validate that media displays/plays correctly in SLS.
Media files should be referenced using main-folder filenames:
image.pngbackgroundmusic.mp3introvideo.mp4
Examples:
heroimage.jpgclicksound.mp3introvideo.mp4
Current guide-page media references include:
assets/banner.png(header banner image)assets/step-01.mp4toassets/step-08.mp4
Core files:
index.html- Main compiler application UIscript.js- App logic for uploads, path checks, ZIP generation, previewstyle.css- Shared styling for all pagesjszip.min.js- ZIP handling libraryglossary-hover.js- Hover glossary definitions for key technical terms
Guidance pages:
prompting-acp-to-add-media.htmlprompting-acp-media.jsguide-to-media-embedding.htmlguide-to-media-embedding.jsinstructions-using-ai-chatbot.html
Created by Mathew Lim for the SLS Community.