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