From f14bdc6752fc4a0ab36567d0f1e51e472a2200b6 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 18 Feb 2024 02:19:27 +0300 Subject: web_kbn: basic support of cams hls streaming --- web/kbn_templates/cams.j2 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 web/kbn_templates/cams.j2 (limited to 'web/kbn_templates/cams.j2') diff --git a/web/kbn_templates/cams.j2 b/web/kbn_templates/cams.j2 new file mode 100644 index 0000000..79cb64b --- /dev/null +++ b/web/kbn_templates/cams.j2 @@ -0,0 +1,21 @@ +{% extends "base.j2" %} +{% block content %} +{{ breadcrumbs([{'text': 'Камеры'}]) }} + +{##} + +
+ +{% endblock %} + +{% block js %} +if (isTouchDevice()) { + addClass(ge('videos'), 'is_mobile'); +} +Cameras.init({{ js_config|tojson }}); +{% endblock %} -- cgit v1.2.3