Twine Version: 2.3.5
Story Format: SugarCube 2.30.0
Chrome OS: 79.0.3945.123
I’m teaching a class using Twine, and of course my students are very interested in adding sounds, music, and images to their stories. However, we are authoring on Chromebooks which has a very limited file system. And because the Chromebook is essentially all web apps, we’re forced to use the online Twine IDE.
I’ve tried to create stories that have media uploaded to an external site, but I’m running into problems (maybe a bandwidth issue when my whole class is working). So, instead I’m trying to hack the “Downloads” folder to store local media.
I found out the relative path by entering ~/downloads into my browser:
But it doesn’t work with the following code:
In my StoryInit passage:
<<cacheaudio "mymusic" "file:///home/chronos/u-7316b76abcfa049ba2259f1e20d64d7b6c90e0c7/downloads/music.mp3">> <<waitforaudio>>
In a later passage (not the initial starting passage):
<<masteraudio stop>> <<audio "mymusic" loop play>>
I’ve also tried
chrome://downloads/music.mp3, but that doesn’t work either.
Any ideas? If I’m kicking a dead horse here, I’ll go back to figuring out the external URL location.