Comments (5)
from picam-viewer.
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.
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.
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.
from picam-viewer.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picam-viewer.