PHP code example of ericmaicon / yii2-embed
1. Go to this page and download the library: Download ericmaicon/yii2-embed 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/ */
ericmaicon / yii2-embed example snippets
<?= Embed::widget(['url' => 'https://www.youtube.com/watch?v=3k9cK_n1mlg']);