]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FYouTubePlugin
Activated Id substitution for Subversion
[SourceForge/phpwiki.git] / pgsrc / Help%2FYouTubePlugin
1 Date: Mon, 16 Jun 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 !!! Example
57
58 <verbatim>
59 link:
60   <?plugin YouTube v=HxXnYEqaRiQ style=link ?>
61 inline:
62   <?plugin YouTube v=HxXnYEqaRiQ ?>
63 Daily Pick:
64   <?plugin YouTube browse="Daily Pick" ?>
65 Top Rated (This Month):
66   <?plugin YouTube browse="Top Rated" time="This Month" ?>
67 </verbatim>
68
69 link:
70   <?plugin YouTube v=HxXnYEqaRiQ style=link ?>
71
72 inline:
73   <?plugin YouTube v=HxXnYEqaRiQ ?>
74
75 Daily Pick:
76   <?plugin YouTube browse="Daily Pick" ?>
77
78 Top Rated (This Month):
79   <?plugin YouTube browse="Top Rated" time="This Month" ?>
80
81 See LisaNova
82
83 !!! Author
84 [Reini Urban|PhpWiki:ReiniUrban]
85 ----
86 [PhpWikiDocumentation] [CategoryWikiPlugin]