camera patch
This commit is contained in:
parent
c347e237ba
commit
60b5a46e35
@ -17,13 +17,15 @@ const char INDEX_HTML[] PROGMEM = R"HTML(
|
||||
input[type=range]{ width: 100%; }
|
||||
.muted { opacity: 0.7; font-size: 13px; }
|
||||
.status { margin-top: 10px; font-family: monospace; }
|
||||
.cam-wrap { margin: 10px 0; max-width: 420px; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid #ccc; border-radius: 6px; }
|
||||
.cam-img { width: 100%; height: 100%; object-fit: cover; transform: rotate(90deg) scaleY(-1); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h2>ESP32 Robot</h2>
|
||||
|
||||
<div style="margin:10px 0; max-width:420px;">
|
||||
<img src="http://192.168.3.70:81/stream" style="width:100%; border:1px solid #ccc; border-radius:6px; transform: rotate(90deg);" />
|
||||
<div class="cam-wrap">
|
||||
<img class="cam-img" src="http://192.168.3.70:81/stream" />
|
||||
</div>
|
||||
|
||||
<div class="grid">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user