PHP code example of embryo / embed
1. Go to this page and download the library: Download embryo/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/ */
embryo / embed example snippets
= 'https://www.youtube.com/watch?v=2_HXUhShhmY';
$embed = new \Embryo\Embed($url);
echo $embed->getEmbeddedCode();