Difference between revisions of "Mediawiki youtube plugin"

From Notes_Wiki
m
m
 
Line 1: Line 1:
<yambe:breadcrumb>Mediawiki_configuration|Mediawiki configuration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Mediawiki configuration]] > [[Mediawiki youtube plugin]]
=Mediawiki youtube plugin=


To configure youtube plugin for a mediawiki installation use following steps:
To configure youtube plugin for a mediawiki installation use following steps:
Line 20: Line 19:




<yambe:breadcrumb>Mediawiki_configuration|Mediawiki configuration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Mediawiki configuration]] > [[Mediawiki youtube plugin]]

Latest revision as of 13:04, 28 July 2022

Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Mediawiki youtube plugin

To configure youtube plugin for a mediawiki installation use following steps:

  1. Download the youtube plugin (YouTube-REL1_25-a12beaa.tar.gz) from https://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_name=YouTube&extdist_version=REL1_25&extdist_submit=
  2. Extract the downloaded source YouTube-REL1_25-a12beaa.tar.gz
  3. Move extracted youtube folder to /var/www/html/<wiki>/extensions/
  4. Edit /var/www/html/LocalSettings.php and add the below mentioned code
    require_once "$IP/extensions/YouTube/YouTube.php";

Test by adding something similar to:

<youtube>https://www.youtube.com/watch?v=VyBSS48E4xI</youtubev

to any page and click "Show preview" to verify whether plugin is working as expected or not.



Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Mediawiki youtube plugin