Repository navigation
staticFile finds a web project's public/ - #194
Merged
Merged
Conversation
A web project keeps its static files in public/. raea's staticFile is /media/x, found in the edit's media/, the project's media/, then its assets/, so a project brought over with its footage in public/ refused it ("vid\\media/orbit.mp4: The system cannot find the path specified", seen on rc7's Windows run) while its sounds played: the sound preload already scans public/.
media_path tries public/ last, the edit's own and then the project's, so nothing found today moves. Every engine path a staticFile takes goes through media_path: the render's video and pictures, the bundler's rewrite, CSS url()s, UI materials, model calls, games and the frame's media rows.
media_from_the_project: a clip only in the project's public/ is found, the edit's own public/ comes ahead of the project's, and assets/ still comes ahead of public/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A web project keeps its static files in
public/. raea'sstaticFileis/media/x, looked for in the edit'smedia/, then the project'smedia/, then itsassets/. So a project brought over with its footage inpublic/refused that footage, while its sounds played, because the sound preload already scanspublic/. rc7's Windows run refused it withvid\media/orbit.mp4: The system cannot find the path specified.media_pathnow triespublic/last, first the edit's own and then the project's, so nothing found today moves. Every engine path astaticFiletakes goes throughmedia_path:url()s and UI materials;media_from_the_projectchecks three things:public/is found;public/comes ahead of the project's;assets/still comes ahead ofpublic/.Checked: the test passes and the gates pass. rc8's Windows run will render a composition with its clip in
public\.🤖 Generated with Claude Code