]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FVideoPlugin
Update Video help: add HTML 5 formats
[SourceForge/phpwiki.git] / pgsrc / Help%2FVideoPlugin
1 Date: Wed, 18 Mar 2015 15:14:44 +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]],
12 * [[WikiPedia:MP4|MP4]],
13 * [[WikiPedia:WebM|WebM]].
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.
45 | false
46 |}
47
48 == Example ==
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 == Authors ==
66
67 * Roger Guignard, Alcatel-Lucent
68 * Marc-Etienne Vargenau, Alcatel-Lucent
69
70 == See Also ==
71 * [[Help:Images]]
72 * [[Help:Adobe Flash]]
73 * [[Help:Wikicreole]]
74
75 <noinclude>
76 ----
77 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
78 </noinclude>