Audio and video

Self hosted audio

[sourcecode language=”html”]
[audio ogg=
"http://www.jplayer.org/audio/ogg/Miaow-07-Bubble.ogg"
mp3=
"http://www.jplayer.org/audio/mp3/Miaow-07-Bubble.mp3"]
[/sourcecode]
parameters
  • mp3 - mp3 file link, direct link to .mp3 file
  • ogg - ogg file link, direct link to .ogg, .oga file
  • poster - poster link
  • posterheight
  • width

Self hosted video

[sourcecode language=”html”]
[video m4v=
"http://www.jplayer.org/
video/m4v/Big_Buck_Bunny_Trailer.m4v"
ogv="http://www.jplayer.org/
video/ogv/Big_Buck_Bunny_Trailer.ogv"
width="460"]
[/sourcecode]
parameters
  • link - direct movie link
  • type - video type (used only if link not given) - youtube; vimeo; dailymotion; flash;
  • clipid - used for youtube, vimeo and dailymotion used only if link not given)
  • src - flash movie source, used only for flash movies
  • m4v - m4v url, .m4v self hosted video url
  • ogv - ogv url, .ogv self hosted video url
  • width
  • height
  • autoplay - autoplay video?
  • params - additional params, params which will be added to url like: type=1&full=1

Direct link

[sourcecode language=”html”]
[video link=
"http://www.youtube.com
/watch?v=6kw1UVovByw"]
[/sourcecode]

Youtube

[sourcecode language=”html”]
[video type="youtube"
clipid="6kw1UVovByw"]
[/sourcecode]

Vimeo

[sourcecode language=”html”]
[video type="vimeo"
clipid="9335203"]
[/sourcecode]

Dailymotion

[sourcecode language=”html”]
[video type="dailymotion"
clipid="xf3fk2"]
[/sourcecode]

Flash

[sourcecode language=”html”]
[video type="flash" src=
"http://www.youtube.com/
v/AY2HPvoqSTE"]
[/sourcecode]
Back to top