<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.solab.rshu.ru/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Help:Videos/ru - Revision history</title>
		<link>http://wiki.solab.rshu.ru/index.php?title=Help:Videos/ru&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-2squeeze6</generator>
		<lastBuildDate>Wed, 13 May 2026 21:01:08 GMT</lastBuildDate>
		<item>
			<title>Admin:&amp;#32;Created page with &quot;{{extension |name        = EmbedVideo |license     = {{SeeMITLicense}} |status      = stable |type        = parser function |author      = Andrew Whitworth ([[User:Whiteknight|Wh…&quot;</title>
			<link>http://wiki.solab.rshu.ru/index.php?title=Help:Videos/ru&amp;diff=477&amp;oldid=prev</link>
			<guid>http://wiki.solab.rshu.ru/index.php?title=Help:Videos/ru&amp;diff=477&amp;oldid=prev</guid>
			<description>&lt;p&gt;Created page with &amp;quot;{{extension |name        = EmbedVideo |license     = {{SeeMITLicense}} |status      = stable |type        = parser function |author      = Andrew Whitworth ([[User:Whiteknight|Wh…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{extension&lt;br /&gt;
|name        = EmbedVideo&lt;br /&gt;
|license     = {{SeeMITLicense}}&lt;br /&gt;
|status      = stable&lt;br /&gt;
|type        = parser function&lt;br /&gt;
|author      = Andrew Whitworth ([[User:Whiteknight|Whiteknight]]), Jim R. Wilson ([[User:Jimbojw|Jimbojw]]), and Mohammad Derakhshani ([[User:Mderakhs|Mderakhs]])&lt;br /&gt;
|version     = 1.0&lt;br /&gt;
|mediawiki   = 1.14 - 1.19.1&lt;br /&gt;
|download    = {{GithubDownload|Whiteknight|mediawiki-embedvideo|snapshot=1}}&lt;br /&gt;
|description = Adds a parser function called &amp;lt;tt&amp;gt;#ev&amp;lt;/tt&amp;gt; for embedding video clips from popular video sharing services.&lt;br /&gt;
|example     = [http://fr.wikimini.org/wiki/Aide:Ins%C3%A9rer_une_vid%C3%A9o Wikimini]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''EmbedVideo''' Extension is a MediaWiki extension which adds parser functions called &amp;lt;tt&amp;gt;#ev&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;#evp&amp;lt;/tt&amp;gt; for embedding video clips from popular video sharing services.&lt;br /&gt;
&lt;br /&gt;
;Project Homepage: [http://wiki.github.com/Whiteknight/mediawiki-embedvideo/ Documentation at Github]&lt;br /&gt;
;Source Code: [http://github.com/Whiteknight/mediawiki-embedvideo Source code at Github]&lt;br /&gt;
;Licensing: EmbedVideo is released under [http://www.opensource.org/licenses/mit-license.php The MIT License].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-weight: bold; color: darkred;&amp;quot;&amp;gt;Notice:&amp;lt;/span&amp;gt; As of the 1.0 release the EmbedVideo extension has a new maintainer and a new code base. EmbedVideo has been merged with EmbedVideoPlus, and Version 1.0 should be backwards compatible with both old versions of EmbedVideo and old versions of EmbedVideoPlus.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
# Download the [http://github.com/Whiteknight/mediawiki-embedvideo/downloads EmbedVideo] package.&lt;br /&gt;
# Unzip the file in your &amp;lt;tt&amp;gt;extensions/&amp;lt;/tt&amp;gt; directory in your wiki inside the folder EmbedVideo.&lt;br /&gt;
# Rename the folder to EmbedVideo.&lt;br /&gt;
# Enable the extension by adding this line to the bottom of your &amp;lt;tt&amp;gt;LocalSettings.php&amp;lt;/tt&amp;gt;:&lt;br /&gt;
::&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
require_once(&amp;quot;$IP/extensions/EmbedVideo/EmbedVideo.php&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
The EmbedVideo parser function expects to be called in any of the following ways:&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#ev:service|id}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#ev:service|id|width}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#ev:service|id|width|align}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#ev:service|id|width|align|desc}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#evp:service|id|desc}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#evp:service|id|desc|align}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#evp:service|id|desc|align|width}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* &amp;lt;tt&amp;gt;service&amp;lt;/tt&amp;gt; is the name of a video sharing service (See &amp;quot;service name&amp;quot; in the list below)&lt;br /&gt;
* &amp;lt;tt&amp;gt;id&amp;lt;/tt&amp;gt; is the id of the video to include&lt;br /&gt;
* &amp;lt;tt&amp;gt;width&amp;lt;/tt&amp;gt; (optional) is the width in pixels of the viewing area (height will be determined automatically)&lt;br /&gt;
* &amp;lt;tt&amp;gt;align&amp;lt;/tt&amp;gt; (optional) is an alignment (float) attribute. May be &amp;quot;left&amp;quot; or &amp;quot;right&amp;quot;.&lt;br /&gt;
* &amp;lt;tt&amp;gt;desc&amp;lt;/tt&amp;gt; (optional) is a short description to display beneath the video when it is aligned&lt;br /&gt;
&lt;br /&gt;
For example, to include the famous &amp;quot;evolution of dance&amp;quot; YouTube video, you'd enter:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#ev:youtube|dMH0bHeiRNg}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And if you wanted scaled down to thumbnail size, on the right with a short description, you could use:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''Note: See the [http://wiki.github.com/Whiteknight/mediawiki-embedvideo/ Project Homepage] for more examples.''&lt;br /&gt;
&lt;br /&gt;
==Supported Services==&lt;br /&gt;
&lt;br /&gt;
As of version 1.0, EmbedVideo supports embedding video content from the following services:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Site &lt;br /&gt;
! Service Name&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dailymotion.com/ Dailymotion] &lt;br /&gt;
| &amp;lt;tt&amp;gt;dailymotion&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Div Share&lt;br /&gt;
| &amp;lt;tt&amp;gt;divshare&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://edutopia.org Edutopia] &lt;br /&gt;
| &amp;lt;tt&amp;gt;edutopia&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.funnyordie.com/ FunnyOrDie] &lt;br /&gt;
| &amp;lt;tt&amp;gt;funnyordie&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://video.google.com/ Google Video] &lt;br /&gt;
| &amp;lt;tt&amp;gt;googlevideo&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://interia.pl/ Interia] &lt;br /&gt;
| &amp;lt;tt&amp;gt;interia&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;interiavideo&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://revver.com/ Revver] &lt;br /&gt;
| &amp;lt;tt&amp;gt;revver&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://sevenload.com/ sevenload] &lt;br /&gt;
| &amp;lt;tt&amp;gt;sevenload&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://teachertube.org TeacherTube] &lt;br /&gt;
| &amp;lt;tt&amp;gt;teachertube&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.youtube.com/ YouTube] &lt;br /&gt;
| &amp;lt;tt&amp;gt;youtube&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;youtubehd&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vimeo.com Vimeo]&lt;br /&gt;
| &amp;lt;tt&amp;gt;vimeo&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Enabling full-screen mode for youtube==&lt;br /&gt;
Note: This modification is described by various commenters in the Discussion tab. &lt;br /&gt;
&lt;br /&gt;
1. Open the EmbedVideo.hooks.php file and change the following:&lt;br /&gt;
* line '''130''' from :&lt;br /&gt;
            &amp;quot; wmode=\&amp;quot;transparent\&amp;quot; width=\&amp;quot;{$width}\&amp;quot; height=\&amp;quot;{$height}\&amp;quot;&amp;gt;&amp;quot; .&lt;br /&gt;
: to :&lt;br /&gt;
            &amp;quot; wmode=\&amp;quot;transparent\&amp;quot; allowfullscreen=\&amp;quot;true\&amp;quot; width=\&amp;quot;{$width}\&amp;quot; height=\&amp;quot;{$height}\&amp;quot;&amp;gt;&amp;quot; .&lt;br /&gt;
* line '''158''' from :&lt;br /&gt;
            &amp;quot; wmode=\&amp;quot;transparent\&amp;quot; width=\&amp;quot;{$width}\&amp;quot; height=\&amp;quot;{$height}\&amp;quot;&amp;gt;&amp;lt;/embed&amp;gt;&amp;quot; .&lt;br /&gt;
: to :&lt;br /&gt;
            &amp;quot; wmode=\&amp;quot;transparent\&amp;quot; allowfullscreen=\&amp;quot;true\&amp;quot; width=\&amp;quot;{$width}\&amp;quot; height=\&amp;quot;{$height}\&amp;quot;&amp;gt;&amp;lt;/embed&amp;gt;&amp;quot; .&lt;br /&gt;
&lt;br /&gt;
2. Open EmbedVideo.Services.php and add add &amp;amp;fs=1 to both youtube URL values. For example, change http://www.youtube.com/v/$1 to http://www.youtube.com/v/$1&amp;amp;fs=1&lt;br /&gt;
&lt;br /&gt;
To enable HD by default, add &amp;amp;hd=1 after the &amp;amp;fs=1.&lt;br /&gt;
&lt;br /&gt;
==Developer notes==&lt;br /&gt;
&lt;br /&gt;
The major benefit of using a parser function as the injection mechanism for video clips (as opposed to an extension tag) is that parser functions can utilize template parameters (of the form &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{{1}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
For example, say you found yourself making a lot of YouTube videos in thumbnail size, right-aligned like an image.  You might make a template called Template:Youtube_tn which could contain this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;thumb tright&amp;quot;&amp;gt;&lt;br /&gt;
{{#ev:youtube|{{{1}}}|{{{2|100}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then call it like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{youtube tn|someYoutubeId}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reporting Bugs ===&lt;br /&gt;
&lt;br /&gt;
There is an issue tracker set up on the [http://github.com/Whiteknight/mediawiki-embedvideo/issues Github project page].&lt;br /&gt;
&lt;br /&gt;
===Contributing===&lt;br /&gt;
&lt;br /&gt;
Bug reports, feature requests, and patches are always welcomed. New contributors can be added to the project if there is sufficient interest.&lt;br /&gt;
&lt;br /&gt;
==Weblinks==&lt;br /&gt;
&lt;br /&gt;
* [http://fr.wikimini.org/wiki/Aide:Ins%C3%A9rer_une_vid%C3%A9o '''Live demo at Wikimini''', encyclopedia written by children]&lt;br /&gt;
* [http://krefeldwiki.de/wiki/Hilfe:Video German description of usage]&lt;br /&gt;
&lt;br /&gt;
[[Category:Video player extensions]]&lt;br /&gt;
[[Category:YouTube extensions]]&lt;br /&gt;
&lt;br /&gt;
 __NOTOC__&lt;/div&gt;</description>
			<pubDate>Mon, 03 Dec 2012 11:57:55 GMT</pubDate>			<dc:creator>Admin</dc:creator>			<comments>http://wiki.solab.rshu.ru/Help_talk:Videos/ru</comments>		</item>
	</channel>
</rss>