Difference between revisions of "Mediawiki youtube plugin"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Mediawiki_configuration|Mediawiki configuration</yambe:breadcrumb> =Mediawiki youtube plugin= To configure youtube plugin for a mediawiki installation use f...")
 
m
Line 16: Line 16:
</pre>
</pre>
to any page and click "Show preview" to verify whether plugin is working as expected or not.
to any page and click "Show preview" to verify whether plugin is working as expected or not.
<yambe:breadcrumb>Mediawiki_configuration|Mediawiki configuration</yambe:breadcrumb>

Revision as of 08:19, 9 September 2018

<yambe:breadcrumb>Mediawiki_configuration|Mediawiki configuration</yambe:breadcrumb>

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.



<yambe:breadcrumb>Mediawiki_configuration|Mediawiki configuration</yambe:breadcrumb>