 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__":"\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043e","__ADD__":"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c","__DISABLED__":"\u041d\u0435\u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439","__LOGIN__":"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f","__LOGIN_ID__":"\u041b\u043e\u0433\u0438\u043d ID","__LOGOUT__":"\u0412\u044b\u0439\u0442\u0438","__OFFLINE__":"\u041d\u0435 \u0432 \u0441\u0435\u0442\u0438","__ONLINE__":"\u0412 \u0441\u0435\u0442\u0438","__PAGEWASGENIN__":"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0432","__PASSWORD__":"\u041f\u0430\u0440\u043e\u043b\u044c","__PTZ_CONTROL__":"PTZ-\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435","__SECOND__":"\u0432\u0442\u043e\u0440\u043e\u0439","__SECONDS__":"\u0441\u0435\u043a\u0443\u043d\u0434\u044b","__SSl_DOWNLOAD__":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043d\u0430\u0448 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 CA \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0435\u0433\u043e \u0432 \u0441\u0432\u043e\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443<br\/> (\u0441\u043c. \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043d\u0438\u0436\u0435).","__SSl_NO_CERT__":"\u0420\u0430\u0431\u043e\u0447\u0438\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0434\u043b\u044f %IP% \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d.","__SSl_WELCOME__":"\u0412 \u0446\u0435\u043b\u044f\u0445 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0441\u043f\u0435\u0440\u0435\u0431\u043e\u0439\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e SSL-\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c SSL-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440.","__UPLOAD__":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c","__ZERO_SHIFT__":"\u041d\u0443\u043b\u0435\u0432\u043e\u0439 \u0441\u0434\u0432\u0438\u0433","_ACC_LOG_":"\u0416\u0443\u0440\u043d\u0430\u043b \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438","_ACCESS_ADMIN_":"\u0410\u0434\u043c\u0438\u043d","_ACCESS_DENIED_":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","_ACCESS_FACTORY_":"\u0417\u0430\u0432\u043e\u0434\u0441\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435","_ACCESS_LEVEL_":"\u0423\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430","_ACCESS_LOGIN_":"\u0414\u043e\u0441\u0442\u0443\u043f \u0412\u043e\u0439\u0442\u0438","_ACCESS_MINIMAL_":"\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f","_ACCESS_OPERATOR_":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440","_ACCESS_PASSWORD_":"\u041f\u0430\u0440\u043e\u043b\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430","_ACTION_":"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435","_ADD_":"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c","_ADD_CAM_DIAL_TTL_":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c IP-\u043a\u0430\u043c\u0435\u0440\u0443","_ADD_CAMERA2SITE_":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043c\u0435\u0440\u0443 \u043d\u0430 \u0441\u0430\u0439\u0442","_ADD_CONNECTION_":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435","_ADD_E2U_DIAL_TTL_":"\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 Ethernet \u043a \u043f\u043e\
|