Skip to content

emscripten - regression from #7617 - video files are not found #7627

@ofTheo

Description

@ofTheo

I think we have a regression from this #7617
Not sure why but since #7617 ( cc @artificiel ) moving the html to a directory and not copying the data/ folder videos now don't load.

emrun bin/opencvExample 

Now listening at http://0.0.0.0:6931/
 ofxEmscriptenVideoPlayer::load 
127.0.0.1 - - [01/Sep/2023 10:04:41] code 404, message File not found: /Users/theo/Downloads/of_v0.12.0_osx_release/examples/computer_vision/opencvExample/bin/opencvExample/data/fingers.mp4
127.0.0.1 - - [01/Sep/2023 10:04:41] "GET /data/fingers.mp4 HTTP/1.1" 404 -

copying data/ into opencvExample/ fixes the issue.

@Jonathhhan as he has some insight into how file loading is working from index.data

but this might warrant a patch-release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions