]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FYouTubePlugin
Better layout
[SourceForge/phpwiki.git] / pgsrc / Help%2FYouTubePlugin
1 Date: Thu,  9 Dec 2010 14:49:00 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
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 {| class="bordered"
33 |-
34 ! Argument
35 ! Description
36 ! Default value
37 |-
38 | **v**
39 | key of the video
40 | required, or define browse
41 |-
42 | **browse**
43 | One of "Daily Pick", "Most Recent", "Most Viewed", "Top Rated",
44 "Most Discussed", "Top Favorites", "Most Linked", "Recently Featured",
45 "Most Responded", "Watch on Mobile"
46 | optional, if v is empty
47 |-
48 | **time**
49 | One of "Today", "This Week", "This Month", "All Time" (optional).
50 | Today
51 |-
52 | **category**
53 | One of "All", "Autos & Vehicles", "Comedy", "Entertainment",
54 "Film & Animation", "Gadgets & Games", "Howto & DIY", "Music",
55 "News & Politics", "People & Blogs", "Pets & Animals", "Sports",
56 "Travel & Places" (optional).
57 | All
58 |-
59 | **language**
60 | One of "All", "English", "Spanish", "Japanese", "German", "Chinese", "French" (optional).
61 | All
62 |-
63 | **width**
64 | Video width (optional).
65 | 425
66 |-
67 | **height**
68 | Video height (optional).
69 | 350
70 |-
71 | **autoplay**
72 | If autoplay=1 it starts automatically to play, otherwise to have to click on it (optional).
73 | 0
74 |-
75 | **style**
76 | If link will display a small icon with a link to the Youtube video (optional).
77 | inline
78 |-
79 | **size**
80 | Video size (medium or small or large). Overrides width and height (optional).
81 | medium
82 |}
83
84 == Examples ==
85
86 === Link ===
87
88 {{{
89 <<YouTube v=-dnL00TdmLY style=link>>
90 }}}
91
92 <<YouTube v=-dnL00TdmLY style=link>>
93
94 === Inline ===
95
96 {{{
97 <<YouTube v=-dnL00TdmLY>>
98 }}}
99
100 <<YouTube v=-dnL00TdmLY>>
101
102 === Daily Pick ===
103
104 {{{
105 <<YouTube browse="Daily Pick">>
106 }}}
107
108 <!-- <<YouTube browse="Daily Pick">> -->
109
110 === Top Rated (This Month) ===
111
112 {{{
113 <<YouTube browse="Top Rated" time="This Month">>
114 }}}
115
116 <!-- <<YouTube browse="Top Rated" time="This Month">> -->
117
118 == See Also ==
119 * [[Help:VideoPlugin]]
120
121 == Author ==
122 * [[PhpWiki:ReiniUrban|Reini Urban]]
123
124 <noinclude>
125 ----
126 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
127 </noinclude>