]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Видео проигрыватель
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 16 Apr 2025 13:39:40 +0000 (16:39 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 16 Apr 2025 13:39:40 +0000 (16:39 +0300)
erp24/views/bouquet/index.php

index 6deb591d8e8aecc10cba2b0b606bb19603525012..a017569a508a9c26dd96c91be26148e0db0e1320 100644 (file)
@@ -169,7 +169,7 @@ $this->title = 'Содержание матрицы';
                         </div>
     
                         <div class='col-md-2 d-flex flex-column gap-2'>
-                            <div class='card bg-transparent border-0' style='aspect-ratio: 1/1; width: 100%; flex: 1;'>
+                            <div class='card bg-transparent border-0' style='aspect-ratio: 1/1; width: 100%; flex: 1; margin-bottom: 15px;'>
                                 " . Html::a(
 
                                 '<video autoplay muted loop playsinline style="width: 100%; height: 100%; object-fit: cover;">
@@ -177,6 +177,7 @@ $this->title = 'Содержание матрицы';
              </video>',
                                 'javascript:;',
                                 [
+                                    'style' => 'width: 100%; height: 100%; display:block;',
                                     'data-fancybox' => $galleryId,
                                     'data-src' => '<video controls style="width:100%; height:auto;">
                                 <source src="' . Url::to($model->presentation->url ?? null) . '" type="video/mp4">
@@ -201,7 +202,7 @@ $this->title = 'Содержание матрицы';
                         </div>
     
                         <div class='col-md-2 d-flex flex-column gap-2'>
-                            <div class='card bg-transparent border-0' style='aspect-ratio: 1/1; width: 100%; flex: 1;'>
+                            <div class='card bg-transparent border-0' style='aspect-ratio: 1/1; width: 100%; flex: 1; margin-bottom: 15px;'>
                                 " .  Html::a(
 
                                 '<video autoplay muted loop playsinline style="width: 100%; height: 100%; object-fit: cover;">
@@ -209,6 +210,7 @@ $this->title = 'Содержание матрицы';
              </video>',
                                 'javascript:;',
                                 [
+                                        'style' => 'width: 100%; height: 100%; display:block;',
                                     'data-fancybox' => $galleryId,
                                     'data-src' => '<video controls style="width:100%; height:auto;">
                                 <source src="' . Url::to($model->buildProcess->url ?? null) . '" type="video/mp4">