]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FYouTubePlugin
Produced by PhpWiki 1.4.0RC-20100415
[SourceForge/phpwiki.git] / pgsrc / Help%2FYouTubePlugin
1 Date: Thu, 15 Apr 2010 16:32:58 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FYouTubePlugin;
6   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7   markup=2;
8   charset=UTF-8
9 Content-Transfer-Encoding: binary
10
11 == Usage
12 {{{
13   <<YouTube v=-dnL00TdmLY
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 }}}
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 {{{
61 <<YouTube v=-dnL00TdmLY style=link>>
62 }}}
63
64 <<YouTube v=-dnL00TdmLY style=link>>
65
66 === Inline
67
68 {{{
69 <<YouTube v=-dnL00TdmLY>>
70 }}}
71
72 <<YouTube v=-dnL00TdmLY>>
73
74 === Daily Pick
75
76 {{{
77 <<YouTube browse="Daily Pick">>
78 }}}
79
80 <<YouTube browse="Daily Pick">>
81
82 === Top Rated (This Month)
83
84 {{{
85 <<YouTube browse="Top Rated" time="This Month">>
86 }}}
87
88 <<YouTube browse="Top Rated" time="This Month">>
89
90 == See also
91
92 * [LisaNova]
93
94 == Author
95
96 * [[PhpWiki:ReiniUrban|Reini Urban]]
97
98 <noinclude>
99 ----
100 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
101 </noinclude>