From 169d8336157430e760a27f14a100ab22f266e60c Mon Sep 17 00:00:00 2001 From: fomichev Date: Thu, 3 Apr 2025 11:22:34 +0300 Subject: [PATCH] =?utf8?q?=D0=9B=D0=B0=D0=B9=D1=82=D0=B1=D0=BE=D0=BA=D1=81?= =?utf8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=B2=D0=B8=D0=B4=D0=B5=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/bouquet/index.php | 50 ++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/erp24/views/bouquet/index.php b/erp24/views/bouquet/index.php index c46ae151..9ff1438c 100644 --- a/erp24/views/bouquet/index.php +++ b/erp24/views/bouquet/index.php @@ -163,15 +163,22 @@ $this->title = 'Содержание матрицы';
- " . Html::tag('video', '', [ - 'class' => 'video-preview', - 'src' => Url::to($model->presentation->url ?? null), - 'style' => 'width: 100%; height: 100%; object-fit: cover;', - 'autoplay' => true, - 'muted' => true, - 'loop' => true, - 'playsinline' => true, - ]) . " + " . Html::a( + Html::tag('video', '', [ + 'class' => 'video-preview', + 'src' => Url::to($model->presentation->url ?? null), + 'style' => 'width: 100%; height: 100%; object-fit: cover;', + 'autoplay' => true, + 'muted' => true, + 'loop' => true, + 'playsinline' => true, + ]), + Url::to($model->presentation->url ?? null), + [ + 'data-lightbox' => $galleryId, + 'data-type' => 'video' + ] + ) . "
Презентация
"; @@ -190,15 +197,22 @@ $this->title = 'Содержание матрицы';
- " . Html::tag('video', '', [ - 'class' => 'video-preview', - 'src' => Url::to($model->buildProcess->url ?? null), - 'style' => 'width: 100%; height: 100%; object-fit: cover;', - 'autoplay' => true, - 'muted' => true, - 'loop' => true, - 'playsinline' => true, - ]) . " + " . Html::a( + Html::tag('video', '', [ + 'class' => 'video-preview', + 'src' => Url::to($model->buildProcess->url ?? null), + 'style' => 'width: 100%; height: 100%; object-fit: cover;', + 'autoplay' => true, + 'muted' => true, + 'loop' => true, + 'playsinline' => true, + ]), + Url::to($model->buildProcess->url ?? null), + [ + 'data-lightbox' => $galleryId, + 'data-type' => 'video' + ] + ) . "
Процесс сборки
"; -- 2.39.5