 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
8 hours ago |
|
{"___ENABLED__":"\u6709\u52b9","__ADD__":"\u8ffd\u52a0","__DISABLED__":"\u7121\u52b9","__LOGIN__":"\u30ed\u30b0\u30a4\u30f3","__LOGIN_ID__":"\u30ed\u30b0\u30a4\u30f3ID","__LOGOUT__":"\u30ed\u30b0\u30a2\u30a6\u30c8","__OFFLINE__":"\u30aa\u30d5\u30e9\u30a4\u30f3","__ONLINE__":"\u30aa\u30f3\u30e9\u30a4\u30f3","__PAGEWASGENIN__":"\u30da\u30fc\u30b8\u304c\u751f\u6210\u3055\u308c\u305f\u306e\u306f\u3001","__PASSWORD__":"\u30d1\u30b9\u30ef\u30fc\u30c9","__PTZ_CONTROL__":"PTZ\u5236\u5fa1","__SECOND__":"2\u756a","__SECONDS__":"\u79d2","__SSl_DOWNLOAD__":"\u30eb\u30fc\u30c8 CA \u8a3c\u660e\u66f8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044<br\/> (\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u53c2\u7167)","__SSl_NO_CERT__":"%IP% \u306e\u6709\u52b9\u306a\u8a3c\u660e\u66f8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002","__SSl_WELCOME__":"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u7406\u7531\u3068SSL\u6697\u53f7\u5316\u306b\u3088\u308b\u30b9\u30e0\u30fc\u30ba\u306a\u4f5c\u696d\u306e\u305f\u3081\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306eSSL\u8a3c\u660e\u66f8\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002","__UPLOAD__":"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","__ZERO_SHIFT__":"\u30bc\u30ed\u30b7\u30d5\u30c8","_ACC_LOG_":"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ed\u30b0","_ACCESS_ADMIN_":"\u7ba1\u7406\u8005","_ACCESS_DENIED_":"\u30a2\u30af\u30bb\u30b9\u304c\u62d2\u5426\u3055\u308c\u307e\u3057\u305f","_ACCESS_FACTORY_":"\u5de5\u5834\u51fa\u8377\u6642\u5b9a\u7fa9","_ACCESS_LEVEL_":"\u30a2\u30af\u30bb\u30b9\u30ec\u30d9\u30eb","_ACCESS_LOGIN_":"\u30ed\u30b0\u30a4\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b","_ACCESS_MINIMAL_":"\u6700\u5c0f\u9650\u306e\u30a2\u30af\u30bb\u30b9","_ACCESS_OPERATOR_":"\u30aa\u30da\u30ec\u30fc\u30bf\u30fc","_ACCESS_PASSWORD_":"\u30a2\u30af\u30bb\u30b9\u30d1\u30b9\u30ef\u30fc\u30c9","_ACTION_":"\u30a2\u30af\u30b7\u30e7\u30f3","_ADD_":"\u8ffd\u52a0","_ADD_CAM_DIAL_TTL_":"IP\u30ab\u30e1\u30e9\u306e\u8ffd\u52a0","_ADD_CAMERA2SITE_":"\u30ab\u30e1\u30e9\u3092\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0","_ADD_CONNECTION_":"\u63a5\u7d9a\u306e\u8ffd\u52a0","_ADD_E2U_DIAL_TTL_":"\u30b7\u30ea\u30a2\u30eb\u30a2\u30c0\u30d7\u30bf\u30fc\u306b\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u3092\u8ffd\u52a0","_ADD_EVT_FILTER_":"\u30a4\u30d9\u30f3\u30c8\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u8ffd\u52a0","_ADD_FILTER_":"\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u8ffd\u52a0","_ADD_IP_CAMERA_":"IP\u30ab\u30e1\u30e9\u306e\u8ffd\u52a0","_ADD_MEDIA_SERVER_":"\u30e1\u30c7\u30a3\u30a2\u30b5\u30fc\u30d0\u30fc\u306e\u8ffd\u52a0","_ADD_MODULE_":"\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8ffd\u52a0","_ADD_NEW_PHN_":"\u65b0\u3057\u3044\u96fb\u8a71\u756a\u53f7\u3092\u8ffd\u52a0","_ADD_NEW_WTR_":"\u65b0\u3057\u3044\u30ec\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0","_ADD_REMOTE_UART_":"\u30ea\u30e2\u30fc\u30c8 UART \u306e\u8ffd\u52a0","_ADD_USER_":"\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3059\u308b","_ADM_SETTINGS_":"\u7ba1\u7406\u8005\u8a2d\u5b9a","_ADMIN_":"\u7ba1\u7406\u8005","_ADV_TAB_":"\u9ad8\u5ea6\u306a\u8a2d\u5b9a","_AJX_REQFAILURE_":"Ajax\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5931\u6557\u3057\u307e\u3057\u305f!","_ALARMED_":"\u8b66\u6212\u3057\u3066\u3044\u307e\u3059","_ALT_SHORT_LBL_":"\u4ee3\u66ff","_ANAL_SOURCES_LST_":"\u30a2\u30ca\u30ed\u30b0\u30d3\u30c7\u30aa\u30bd\u30fc\u30b9","_APP_TITLE_":"\u30a2\u30fc\u30ac\u30b9\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b7\u30b9\u30c6\u30e0","_APPLICA_MNGMNT_":"\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a","_APPLY_CHANGES_":"\u5909\u66f4\u3092\u9069\u7528\u3059\u308b","_APPLY_SETTINGS_":"\u8a2d\u5b9a\u3092\u9069\u7528\u3059\u308b","_AS_MODULE_":"\u30b5\u30fc\u30d0\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8ffd\u52a0","_ASSIGN_CAMERA_":"\u30ab\u30e1\u30e9\u306e\u5272\u308a\u5f53\u3066","_AUTH_MODE_0_":"\u8a8d\u53ef\u30e2\u30fc\u30c9","_AXIS_
|