Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
gallery.phtml
Go to the documentation of this file.
1 <?php
12 ?>
13 <script type="text/x-magento-init">
14  {
15  "[data-gallery-role=gallery-placeholder]": {
16  "Magento_ProductVideo/js/fotorama-add-video-events": {
17  "videoData": <?= /* @escapeNotVerified */ $block->getMediaGalleryDataJson() ?>,
18  "videoSettings": <?= /* @escapeNotVerified */ $block->getVideoSettingsJson() ?>,
19  "optionsVideoData": <?= /* @noEscape */ $block->getOptionsMediaGalleryDataJson() ?>
20  }
21  }
22  }
23 </script>
$block
Definition: block.php:8