Advertisement
Guest User

Rotate mjpg stream

a guest
Apr 1st, 2025
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.48 KB | Source Code | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Bird Cam</title>
  7.     <style>
  8.         body {
  9.             background-color: #f4f1e8; /* Soft beige background */
  10.             color: #3e2f1d; /* Earthy brown text */
  11.             text-align: center;
  12.             font-family: 'Georgia', serif;
  13.             padding: 20px;
  14.         }
  15.  
  16.         h1 {
  17.             font-size: 2.5em;
  18.             color: #2f4f2f; /* Deep forest green */
  19.             margin-bottom: 10px;
  20.             text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  21.         }
  22.  
  23.         .stream-container {
  24.             display: inline-block;
  25.             padding: 15px;
  26.             background-color: #ffffff;
  27.             border-radius: 15px;
  28.             border: 3px solid #8b5a2b; /* Wooden brown */
  29.             box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  30.             position: relative;
  31.             object-fit: contain; /* Ensures the image fits within the container */
  32.         }
  33.  
  34.     </style>
  35. </head>
  36. <body>
  37.     <h1>🐦 Bird Cam!</h1>
  38.     <div class="stream-container">
  39.         <table id="tbl" style="overflow-x:auto;"><tr>
  40.         <td><img src="http://192.168.1.52:81/stream" alt="Live Stream" id="video"></td>
  41.         </tr><tr>
  42.         <td><video controls autoplay width="600" height="60" id="audio"><source src="http://192.168.1.52:82/audio" type="audio/mpeg"></video></td>
  43.         </tr></table>
  44.     </div>
  45. </body>
  46. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement