PHP code example of scalecommerce / videooptimizer-sulu
1. Go to this page and download the library: Download scalecommerce/videooptimizer-sulu library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
scalecommerce / videooptimizer-sulu example snippets
Scale\VideoOptimizerBundle\ScaleVideoOptimizerBundle::class => ['all' => true],
xml
<property name="video" type="video_optimizer">
<meta>
<title lang="en">Video</title>
</meta>
</property>
xml
<block name="content" default-type="intro" minOccurs="0">
<types>
<type name="intro">...</type>
<type ref="vo_media_split"/>
<type ref="vo_background_hero"/>
<type ref="vo_spotlight"/>
<type ref="vo_video_grid"/>
</types>
</block>