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