 Embed Video Encoder settings: working Save, logo upload, module removal
- New updateServerModuleSettings.php: saves the Embed Video Encoder
settings window (frame size, port, quality, time stamp / label / logo)
with range checks. Other module types get a clear "not supported".
- Settings window: Save button shown when the content provides
saveSettings(); the Time Stamp, Label and Logo tabs and the show
checkboxes are enabled again.
- Positions are pixel number fields (negative = from right / bottom edge,
as la_mojo uses them); font scale / thickness are number fields; line
type offers OpenCV values (normal 8, thin 4, antialiased 16, old 0/1
shown as 8/4). Hints explain positions and that the time stamp is only
drawn when the label is off.
- New uploadAsset.php: logo upload converts any GD-readable picture to an
RGBA PNG data/assets/images/<md5>.png and stores logo_md5; the preview
shows the current logo and the first upload proposes a size.
- doModuleOperation.php removal: real module type ids (2 Kafka, 6 SSDP,
8 Embed Video, 9 Modem, 12 BVMS, 13 Attention) and tables that do not
exist in the database are skipped instead of failing.
- Frame preview no longer fails when the Logo tab is not rendered yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16
4 hours ago |
|
{"___ENABLED__":"\u05de\u05d5\u05e4\u05e2\u05dc","__ADD__":"\u05dc\u05b0\u05d4\u05d5\u05b9\u05e1\u05b4\u05d9\u05e3","__DISABLED__":"\u05e0\u05b8\u05db\u05b6\u05d4","__LOGIN__":"\u05d4\u05ea\u05d7\u05d1\u05e8\u05d5\u05ea","__LOGIN_ID__":"\u05de\u05d6\u05d4\u05d4 \u05db\u05e0\u05d9\u05e1\u05d4","__LOGOUT__":"\u05dc\u05d4\u05ea\u05e0\u05ea\u05e7","__OFFLINE__":"\u05dc\u05d0 \u05de\u05e7\u05d5\u05d5\u05df","__ONLINE__":"\u05d1\u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8","__PAGEWASGENIN__":"\u05d4\u05d3\u05e3 \u05e0\u05d5\u05e6\u05e8 \u05d1","__PASSWORD__":"\u05e1\u05d9\u05e1\u05de\u05d4","__PTZ_CONTROL__":"\u05d1\u05e7\u05e8\u05ea PTZ","__SECOND__":"\u05e9\u05c1\u05b0\u05e0\u05b4\u05d9\u05b8\u05d4","__SECONDS__":"\u05e9\u05e0\u05d9\u05d5\u05ea","__SSl_DOWNLOAD__":"\u05d0\u05e0\u05d0 \u05d4\u05d5\u05e8\u05d3 \u05d0\u05ea \u05d0\u05d9\u05e9\u05d5\u05e8 \u05d4-Root CA \u05e9\u05dc\u05e0\u05d5 \u05d5\u05d4\u05ea\u05e7\u05df \u05d0\u05d5\u05ea\u05d5 \u05d1\u05de\u05e2\u05e8\u05db\u05ea \u05e9\u05dc\u05da<br\/> (\u05e8\u05d0\u05d4 \u05d4\u05d5\u05e8\u05d0\u05d5\u05ea \u05dc\u05de\u05d8\u05d4)","__SSl_NO_CERT__":"\u05d0\u05d9\u05e9\u05d5\u05e8 \u05d4\u05e2\u05d1\u05d5\u05d3\u05d4 \u05e2\u05d1\u05d5\u05e8 %IP% \u05dc\u05d0 \u05de\u05d5\u05ea\u05e7\u05df.","__SSl_WELCOME__":"\u05de\u05d8\u05e2\u05de\u05d9 \u05d0\u05d1\u05d8\u05d7\u05d4 \u05d5\u05e2\u05d1\u05d5\u05d3\u05d4 \u05d7\u05dc\u05e7\u05d4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05d4\u05e6\u05e4\u05e0\u05ea SSL \u05d0\u05e0\u05d5 \u05de\u05e1\u05e4\u05e7\u05d9\u05dd \u05d0\u05d9\u05e9\u05d5\u05e8 SSL \u05dc\u05d4\u05ea\u05e7\u05e0\u05d4 \u05d1\u05de\u05d7\u05e9\u05d1 \u05d4\u05dc\u05e7\u05d5\u05d7","__UPLOAD__":"\u05d4\u05e2\u05dc\u05d4","__ZERO_SHIFT__":"\u05d0\u05e4\u05e1 \u05e9\u05d9\u05e4\u05d8","_ACC_LOG_":"\u05d9\u05d5\u05de\u05df \u05d0\u05d1\u05d8\u05d7\u05d4","_ACCESS_ADMIN_":"\u05de\u05e0\u05d4\u05dc \u05de\u05e2\u05e8\u05db\u05ea","_ACCESS_DENIED_":"\u05d2\u05d9\u05e9\u05d4 \u05e0\u05d3\u05d7\u05ea\u05d4","_ACCESS_FACTORY_":"\u05de\u05d5\u05d2\u05d3\u05e8 \u05d1\u05de\u05e4\u05e2\u05dc","_ACCESS_LEVEL_":"\u05e8\u05de\u05ea \u05d2\u05d9\u05e9\u05d4","_ACCESS_LOGIN_":"\u05d2\u05d9\u05e9\u05d4 \u05dc\u05db\u05e0\u05d9\u05e1\u05d4","_ACCESS_MINIMAL_":"\u05d2\u05d9\u05e9\u05d4 \u05de\u05d9\u05e0\u05d9\u05de\u05dc\u05d9\u05ea","_ACCESS_OPERATOR_":"\u05de\u05b7\u05e4\u05e2\u05b4\u05d9\u05dc","_ACCESS_PASSWORD_":"\u05e1\u05d9\u05e1\u05de\u05ea \u05d2\u05d9\u05e9\u05d4","_ACTION_":"\u05e4\u05e2\u05d5\u05dc\u05d4","_ADD_":"\u05dc\u05b0\u05d4\u05d5\u05b9\u05e1\u05b4\u05d9\u05e3","_ADD_CAM_DIAL_TTL_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e6\u05dc\u05de\u05ea IP","_ADD_CAMERA2SITE_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e6\u05dc\u05de\u05d4 \u05dc\u05d0\u05ea\u05e8","_ADD_CONNECTION_":"\u05d4\u05d5\u05e1\u05e3 \u05d7\u05d9\u05d1\u05d5\u05e8","_ADD_E2U_DIAL_TTL_":"\u05d4\u05d5\u05e1\u05e3 \u05d0\u05ea\u05e8\u05e0\u05d8 \u05dc\u05de\u05ea\u05d0\u05dd \u05d8\u05d5\u05e8\u05d9","_ADD_EVT_FILTER_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e1\u05e0\u05df \u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd","_ADD_FILTER_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e1\u05e0\u05df","_ADD_IP_CAMERA_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e6\u05dc\u05de\u05ea IP","_ADD_MEDIA_SERVER_":"\u05d4\u05d5\u05e1\u05e3 \u05e9\u05e8\u05ea \u05de\u05d3\u05d9\u05d4","_ADD_MODULE_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05d5\u05d3\u05d5\u05dc","_ADD_NEW_PHN_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df \u05d7\u05d3\u05e9","_ADD_NEW_WTR_":"\u05d4\u05d5\u05e1\u05e3 \u05e9\u05d9\u05d0 \u05d7\u05d3\u05e9","_ADD_REMOTE_UART_":"\u05d4\u05d5\u05e1\u05e3 UART \u05de\u05e8\u05d7\u05d5\u05e7","_ADD_USER_":"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e9\u05ea\u05de\u05e9","_ADM_SETTINGS_":"\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05de\u05e0\u05d4\u05dc \u05de\u05e2\u05e8\u05db\u05ea","_ADMIN_":"\u05de\u05e0\u05d4\u05dc \u05de\u05e2\u05e8\u05db\u05ea","_ADV_TAB_":"\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05de\u05ea\u05e7\u05d3\u05de\u05d5\u05ea","_AJX_REQFAILURE_":"\u05d1\u05e7\u05e9\u05ea \u05d0\u05d9\u05d9\u05d0\u05
|