Help:Blog

From P2P Foundation
Jump to navigation Jump to search

Adding videos in HTML5

mp4

The location of the h.264/MP4 source for the video.

[video mp4="http://video-js.zencoder.com/oceans-clip.mp4"]
ogg

The location of the Theora/Ogg source for the video.

[video ogg="http://video-js.zencoder.com/oceans-clip.ogg"]
webm

The location of the VP8/WebM source for the video.

[video ogg="http://video-js.zencoder.com/oceans-clip.webm"]
poster

The location of the poster frame for the video.

[video poster="http://video-js.zencoder.com/oceans-clip.png"]
width

The width of the video.

[video width="640"]
height

The height of the video.

[video height="264"]
preload

Start loading the video as soon as possible, before the user clicks play.

[video preload="true"]
autoplay

Start playing the video as soon as it's ready.

[video autoplay="true"]


Book of the week

In order to add a new post related with the Book of the week section, be sure to do the following:


1) Select "Book of the week" as category of your pos

Select "Book of the week" as category of your post


2) Select "Book of the week" as template of your post

Select "Book of the week" as template of your post


3) Add the custom field called "book-cover-image" and set the URL to the book cover as value

Add the custom field called "book-cover-image" and set the URL to the book cover as value