Hi! I’m using Godot 4.7.2 for a game jam, and I thought about including real-world videos into my gameplay. The problem is, I have to export the project for web. That already limits my options quite a bit, but there’s another problem:
Itch.io allows a file to be only 200MB. If Godot packs all my videos into one singular .pck file, my videos can only have a combined file size of 200MB. If I could have them separately, I would be able to use the allowed 500MB fully.
AI suggested to load the videos using the JavaScriptBridge, but I don’t think that would work since I want the videos to be displayed on a “screen” in 3D.
I also thought about splitting my project into multiple .pcks, but it seems I would require root on the web server, which is not given on itch.io.
Is there any way to solve this or should I abandon this idea?
You could try making videos similar to DLCs, so that they load from a different PCK than the game itself.
I’ve already tried doing that, but can’t seem to load any files that are included in the itch web upload. I tried using index/video.ogvand video.ogv, and both times it just said that it couldn’t locate the file. I believe it would be the same with .pck files.
If anything splitting the packs would require using ProjectSettings.load_resource_pack("disk2.pck"); I don’t have high hopes for a similar “itch.io cannot directly access files” reason. I think you would have to download the video files with an HTTP request. Maybe you can shrink the videos, have you tried a lower bitrate?