PHP code example of fynrir / youjqtube

1. Go to this page and download the library: Download fynrir/youjqtube 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/ */

    

fynrir / youjqtube example snippets


curl -sS https://getcomposer.org/installer | php

php composer.phar validate

php composer.phar install --no-dev

$youjqtube = new \fynrir\youJQtube\youJQtube('Your Domain here or path to your index.php or front controller.');

$youjqtube = new \fynrir\youJQtube\youJQtube('www.example.com');
$youjqtube = new \fynrir\youJQtube\youJQtube('www.example.com/index.php');

$options = array(
'div_id'     	=> 'youJStube-Default-ID',
'min_height' 	=> 360,
'min_width'  	=> 640,
'resize_able'	=> true,
'move_able'  	=> true,
);