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