You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
play: inside a chat, a package too big for the chat's save cannot be downloaded without leaving it, and links open nothing on a press #100
The owner's ChatGPT run of 2026-11-24, with the play page of #98 framed by a card that saves files up to 64 MB:
A quiz: Download saved the package through the chat with one press. This works.
An Interactive Video with a 230 MB video attached in the chat: Download showed "more than the chat can save from here" and pointed to the build page. There the video has to be chosen again, outside the chat. Before play: Download saves nothing inside a chat's card; the card can save, so the page should hand it the file #98 the same press fetched the video from the chat and built the package in the chat, and the owner saved it from there. The owner: "I can't download in the chat and need to go to the website. The previous variant allowed this."
A press on "Open in the build page" opens nothing in the card. The link opens only from the browser's own menu (right-click, "Open link in new tab"). The same menu on Download saves the package, also where a press saves nothing.
So #98 took away the one way a big package could be saved without leaving the chat, and the page's links do nothing on a press there.
What to change
In the play page (src/h5p/play/):
A package bigger than the framing page saves is not refused. Download fetches the files and builds the package as it did before play: Download saves nothing inside a chat's card; the card can save, so the page should hand it the file #98, and the package stays behind Download. The browser is left to save it, and the row under the stage says how to save it where the frame lets the page save nothing: right-click Download, or press and hold it, and open the link in a new tab.
The same is said when the framing page answers that it did not save. The row with the build page as the way on goes: nobody is sent out of the chat to choose the video again.
A framing page that opens links says so ({ type: 'opens' }), and a press on a link of the page hands it the address ({ type: 'open', href }) in place of opening a tab. A press with a key held, and the browser's own menu, are left to the browser.
The sizes beside links, which only the refusal read, go.
Not in this issue
The most a chat's save takes. 64 MB is the card's guess; it is to be measured in the card, not here.
Activity
docs: the play page's row in short sentences (#100)
Merge pull request #101 from missing-elements/fix/play-save-in-chat