Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofVideoplayer load URL in emscripten

$
0
0

@kokawa2003 wrote:

If I read a video from URL( for example http://localhost/sample.mp4)in ofVideoplayer
like this
ofVideoPlayer fingerMovie;
bool bres=fingerMovie.load(“http://localhost/sample.mp4”);
this code is working in linux
but not work in web
Its output is this
localhost - - [09/Sep/2018 15:34:06] code 404, message File not found: /home/kokawa2003/qt/OFNewPlayer/bin/data/http:/localhost/sample.mp4
localhost - - [09/Sep/2018 15:34:06] “GET /data/http://localhost/sample.mp4 HTTP/1.1” 404 -

I think if ofVideoPlayer parse URL .it will work.
Is it right?
Please tell me how to solve this
Does’t the emscripten player work with websokect?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles