Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 410 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 410 Bytes

Youtube

Config

After installiation in plugins system, you can change default config

    [
        'code' => 'ZM2tVuy8B_Y',
        'w' => 560,
        'h' => 315,
        'playerParameters' => [
            'controls' => 2
        ],
    ];

Usage

    [youtube w=600 h=480 code='ZM2tVuy8B_Y']

or

    [yt w=600 h=480 code='ZM2tVuy8B_Y'] link for original video [/yt]