]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FVideoPlugin
Improve Video plugin
[SourceForge/phpwiki.git] / pgsrc / Help%2FVideoPlugin
1 Date: Wed, 25 Mar 2015 12:24:09 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FVideoPlugin;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 The **~Video** [[Help:WikiPlugin|plugin]] allows to include video in a wiki page.
10 Video file must be encoded in FLV format ([[WikiPedia:Flash Video|Flash Video]]) or in an HTML 5 format:
11 * [[WikiPedia:Ogg|Ogg]] (##.ogg## suffix),
12 * [[WikiPedia:MP4|MP4]] (##.mp4## suffix),
13 * [[WikiPedia:WebM|WebM]] (##.webm## suffix).
14
15 The Video plugin can also be called with the ~{~{video.flv~}~} syntax.
16
17 == Arguments ==
18
19 Use only one of ##url## or ##file## arguments at a time.
20
21 {| class="bordered"
22 |-
23 ! Argument
24 ! Description
25 ! Default value
26 |-
27 | **url**
28 | The url of a video file.
29 | none
30 |-
31 | **file**
32 | The name of a video file that has been uploaded.
33 | none
34 |-
35 | **width**
36 | The width of the video (in pixels).
37 | 460
38 |-
39 | **height**
40 | The height of the video (in pixels).
41 | 320
42 |-
43 | **autoplay**
44 | Auto play the video when page is displayed (boolean).
45 | false
46 |}
47
48 == Examples ==
49
50 A video:
51 {{{
52 <<Video url=http://a.video.server/a_video.flv>>
53 }}}
54
55 Another video:
56 {{{
57 <<Video file=another_video.flv>>
58 }}}
59
60 This is equivalent to:
61 {{{
62 {{another_video.flv}}
63 }}}
64
65 === Big Buck Bunny ===
66
67 {{{
68 {{http://video.webmfiles.org/big-buck-bunny_trailer.webm}}
69 }}}
70 {{http://video.webmfiles.org/big-buck-bunny_trailer.webm}}
71
72 == Authors ==
73
74 * Roger Guignard, Alcatel-Lucent
75 * Marc-Etienne Vargenau, Alcatel-Lucent
76
77 == See Also ==
78 * [[Help:Images]]
79 * [[Help:Adobe Flash]]
80 * [[Help:Wikicreole]]
81
82 <noinclude>
83 ----
84 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
85 </noinclude>