Videos

By clicking the button on your text editor (as shown on the image above) you can add a video by pasting the coded provided by the most famous sites, such as Vimeo, YouTube, DailyMotion...

You can give to the videos a width relative to its container (in this case the column of the page) and a height relative to the width itself. In the videos here below the width is set to 100% and the height to 56.25%, so they have got a ratio of 16:9.

[pix_heading_flag]Self hosted MP4[/pix_heading_flag]

You can also add a self-hosted video.

Enfinity uses a free version of Flowplayer to play self hosted video: official Flowplayer site. If you want that the video is visible on both desktop and mobile devices, the video must be encoded in the MPEG4 Part 10 format using the h.264 video codec, as described on the site of Flowplayer plugin itself: click here.

You can also upload a poster image for your video and decide to use the pseudostreaming plugin (but if your server doesn't support this kind of feature the player will return an error.

N.B.: each video must have an ID and, on the same page, it's not possible to have to videos with the same ID. The IDs are generated automatically if you use the TinyMCE button.

[ pix_video src="http://www.pixedelic.com/themes/enfinity/wp-content/uploads/2012/07/trailer_720p.mov" poster="" width="100%" height="56.25%" streaming="false" id="id_641109" ]

[pix_video src="http://www.pixedelic.com/themes/enfinity/wp-content/uploads/2012/07/trailer_720p.mov" poster="" width="100%" height="56.25%" streaming="false" id="id_641109"]