]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FYouTubePlugin
Harmonize documentation
[SourceForge/phpwiki.git] / pgsrc / Help%2FYouTubePlugin
1 Date: Wed, 28 May 2008 19:07:24 +0200
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FYouTubePlugin;
5   flags="";
6   markup=2;
7   charset=iso-8859-1
8 Content-Transfer-Encoding: binary
9
10 !!! Usage
11 <verbatim>
12   <?plugin YouTube v=HxXnYEqaRiQ
13            width=425 height=350
14            size=medium|small|large
15            style=inline|link
16            autoplay=0|1
17            browse="Daily Pick|Most Recent|Most Viewed|Top Rated|
18                    Most Discussed|Top Favorites|Most Linked|
19                    Recently Featured|Most Responded|Watch on Mobile"
20            time="Today|This week|This month|All Time"
21            category="All|Autos & Vehicles|Comedy|Entertainment|
22                    Film & Animation|Gadgets & Games|Howto & DIY|Music
23                    News & Politics|People & Blogs|Pets & Animals|
24                    Sports|Travel & Places"
25            language="All|English|Spanish|Japanese|German|Chinese|French"
26   ?>
27 </verbatim>
28
29 !!! Arguments
30
31   * v=... (required, or define browse)
32     key of the video
33   * browse=... (optional, if v is empty)
34     One of "Daily Pick", "Most Recent", "Most Viewed", "Top Rated",
35     "Most Discussed", "Top Favorites", "Most Linked", "Recently Featured",
36     "Most Responded", "Watch on Mobile"
37   * time=Today (optional)
38     One of "Today", "This Week", "This Month", "All Time"
39   * category=All (optional)
40     One of "All", "Autos & Vehicles", "Comedy", "Entertainment",
41     "Film & Animation", "Gadgets & Games", "Howto & DIY", "Music",
42     "News & Politics", "People & Blogs", "Pets & Animals", "Sports",
43     "Travel & Places"
44   * language=All (optional)
45     One of "All", "English", "Spanish", "Japanese", "German", "Chinese", "French"
46   * width=425 (optional. Default: 425)
47   * height=350 (optional. Default: 350)
48   * autoplay=0 (optional. Default: 0)
49     if autoplay=1 it starts automatically to play, otherwise to have to click on it.
50   * style=inline or link (optional. Default: inline)
51     if link will display a small icon with a link to the youtube video
52   * size=medium or small or large (optional. Default: medium).
53     Overrides width and height.
54
55 !!! Example
56
57 <verbatim>
58 link:
59   <?plugin YouTube v=HxXnYEqaRiQ style=link ?>
60 inline:
61   <?plugin YouTube v=HxXnYEqaRiQ ?>
62 Daily Pick:
63   <?plugin YouTube browse="Daily Pick" ?>
64 Top Rated (This Month):
65   <?plugin YouTube browse="Top Rated" time="This Month" ?>
66 </verbatim>
67
68 link:
69   <?plugin YouTube v=HxXnYEqaRiQ style=link ?>
70
71 inline:
72   <?plugin YouTube v=HxXnYEqaRiQ ?>
73
74 Daily Pick:
75   <?plugin YouTube browse="Daily Pick" ?>
76
77 Top Rated (This Month):
78   <?plugin YouTube browse="Top Rated" time="This Month" ?>
79
80 See LisaNova
81
82 !!! Author
83 [Reini Urban|PhpWiki:ReiniUrban]
84 ----
85 [PhpWikiDocumentation] [WikiPlugin|Help:WikiPlugin]