<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<base href="../" />
<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Help  /  You Tube Plugin</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Help  /  You Tube Plugin</h1>
</div>
<div id="content">



<div class="wikitext"><h4>Usage</h4>
<pre class="tightenable top">
  &lt;?plugin YouTube v=HxXnYEqaRiQ
           width=425 height=350
           size=medium|small|large
           style=inline|link
           autoplay=0|1
           browse=&quot;Daily Pick|Most Recent|Most Viewed|Top Rated|
                   Most Discussed|Top Favorites|Most Linked|
                   Recently Featured|Most Responded|Watch on Mobile&quot;
           time=&quot;Today|This week|This month|All Time&quot;
           category=&quot;All|Autos &amp; Vehicles|Comedy|Entertainment|
                   Film &amp; Animation|Gadgets &amp; Games|Howto &amp; DIY|Music
                   News &amp; Politics|People &amp; Blogs|Pets &amp; Animals|
                   Sports|Travel &amp; Places&quot;
           language=&quot;All|English|Spanish|Japanese|German|Chinese|French&quot;
  ?&gt;</pre>
<h4>Arguments</h4>
<ul><li class="tightenable bottom">v=... (required, or define browse)
key of the video</li>
<li class="tightenable top bottom">browse=... (optional, if v is empty)
One of &quot;Daily Pick&quot;, &quot;Most Recent&quot;, &quot;Most Viewed&quot;, &quot;Top Rated&quot;,
&quot;Most Discussed&quot;, &quot;Top Favorites&quot;, &quot;Most Linked&quot;, &quot;Recently Featured&quot;,
&quot;Most Responded&quot;, &quot;Watch on Mobile&quot;</li>
<li class="tightenable top bottom">time=Today (optional)
One of &quot;Today&quot;, &quot;This Week&quot;, &quot;This Month&quot;, &quot;All Time&quot;</li>
<li class="tightenable top bottom">category=All (optional)
One of &quot;All&quot;, &quot;Autos &amp; Vehicles&quot;, &quot;Comedy&quot;, &quot;Entertainment&quot;,
&quot;Film &amp; Animation&quot;, &quot;Gadgets &amp; Games&quot;, &quot;Howto &amp; DIY&quot;, &quot;Music&quot;,
&quot;News &amp; Politics&quot;, &quot;People &amp; Blogs&quot;, &quot;Pets &amp; Animals&quot;, &quot;Sports&quot;,
&quot;Travel &amp; Places&quot;</li>
<li class="tightenable top bottom">language=All (optional)
One of &quot;All&quot;, &quot;English&quot;, &quot;Spanish&quot;, &quot;Japanese&quot;, &quot;German&quot;, &quot;Chinese&quot;, &quot;French&quot;</li>
<li class="tightenable top bottom">width=425 (optional. Default: 425)</li>
<li class="tightenable top bottom">height=350 (optional. Default: 350)</li>
<li class="tightenable top bottom">autoplay=0 (optional. Default: 0)
if autoplay=1 it starts automatically to play, otherwise to have to click on it.</li>
<li class="tightenable top bottom">style=inline or link (optional. Default: inline)
if link will display a small icon with a link to the youtube video</li>
<li class="tightenable top">size=medium or small or large (optional. Default: medium).
Overrides width and height.</li>
</ul>
<h4>Example</h4>
<pre class="tightenable">
link:
  &lt;?plugin YouTube v=HxXnYEqaRiQ style=link ?&gt;
inline:
  &lt;?plugin YouTube v=HxXnYEqaRiQ ?&gt;
Daily Pick:
  &lt;?plugin YouTube browse=&quot;Daily Pick&quot; ?&gt;
Top Rated (This Month):
  &lt;?plugin YouTube browse=&quot;Top Rated&quot; time=&quot;This Month&quot; ?&gt;</pre>
<dl><dt class="tightenable bottom">link</dt>
<dd class="tightenable top"><span class="plugin" id="YouTubePlugin"><a href="http://www.youtube.com/v/HxXnYEqaRiQ"><img src="http://img.youtube.com/vi/HxXnYEqaRiQ/2.jpg" width="130" height="97" /></a></span></dd>
<dt class="tightenable bottom">inline</dt>
<dd class="tightenable top"><span class="plugin" id="YouTubePlugin2"><object class="inlineobject" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/HxXnYEqaRiQ" />
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/v/HxXnYEqaRiQ" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
</object></span></dd>
<dt class="tightenable bottom">Daily Pick</dt>
<dd class="tightenable top"><span class="plugin" id="YouTubePlugin3"><object class="inlineobject" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/CjTwMqVr8uc" />
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/v/CjTwMqVr8uc" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
</object></span></dd>
<dt class="tightenable bottom">Top Rated (This Month)</dt>
<dd class="tightenable top"><span class="plugin" id="YouTubePlugin4"><object class="inlineobject" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/fcbazH6aE2g" />
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/v/fcbazH6aE2g" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
</object></span></dd>
</dl>
<p class="tightenable">See <a href="LisaNova.html" class="wiki">LisaNova</a></p>
<h4>Author</h4>
<p class="tightenable top bottom"><a href="http://phpwiki.sourceforge.net/phpwiki/ReiniUrban" class="interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />PhpWiki:</span><span class="wikipage">ReiniUrban</span></a></p>
<hr />
<p class="tightenable top bottom"><a href="PhpWikiDocumentation.html" class="wiki">PhpWikiDocumentation</a> <a href="Help/WikiPlugin" class="interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />Help:</span><span class="wikipage">WikiPlugin</span></a></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;admin&quot;  Last edited on August 14, 2007  7:11 am by &quot;The PhpWiki programming team&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
