GithubHelp home page GithubHelp logo

Doesn't work BUT ... about picam-viewer HOT 5 CLOSED

lippih avatar lippih commented on June 11, 2024
Doesn't work BUT ...

from picam-viewer.

Comments (5)

kamranayub avatar kamranayub commented on June 11, 2024

from picam-viewer.

hazardary avatar hazardary commented on June 11, 2024

Hi,
I also have the same problem. I can view the stream correctly followed your post but the webpage doesn't working. I have tried chrome and edge and ie. Inspect the webpage, I found:

I know nothing about js and I don't know how to tell if it grab the right path. Also, how can you redirect the web address http://babypi.local/ to this address? I have to use http://babypi.local/picam-viewer/index.html to see the player.

from picam-viewer.

kamranayub avatar kamranayub commented on June 11, 2024

Actually it sounds like you may not have configured nginx correctly, the root should be pointing to your picam-viewer path, so the URL should just be http://babypi.local not http://babypi.local/picam-viewer

I can double check the guide, it should be configuring it that way unless you missed a command or the guide missed something. But yeah that's my guess!

Also I noticed I can no longer use the shortcut DNS babypi.local, I have been using the IP address for the past year or two. I can add that note as well.

from picam-viewer.

hazardary avatar hazardary commented on June 11, 2024

Thanks a lot. I got it fixed. I changed
root /var/www/html
to
root /var/www/html/picam-viewer

in nginx default config. I think you didn't mention this in "Adding a web player" section. Great tutorial. Thanks again.

from picam-viewer.

kamranayub avatar kamranayub commented on June 11, 2024

from picam-viewer.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.