Flowplayer Video Player
Flowplayer Video Player adds a video shortcode to your WordPress site. This shortcode allows you to embed a video file and play it back using the Flowplayer HTML5 player. Features Embed MP4 videos Embed webm videos Embed videos which can be viewed from a mobile or tablet device Video playback support for iOS (ipad, iphone) and android devices Embed HTML5 videos which are playable across all major browsers Embed videos with poster images Embed videos and allow it to loop to the beginning when finished Customize the video player using modifier classes Automatically play a video when the page is rendered Embed videos using three different skins Automatically calculate the height of a video based on its width Flexible resizing of a video (true responsiveness) Embed a video with various aspect ratios (16:9, 4:3) Usage In order to embed a video, create a new post/page and use the following shortcode: [flowplayer src="http://example.com/wp-content/uploads/videos/test.mp4"] here, src is the actual source of your mp4 video file. In addition to the source mp4 video file, you can also specify a webm video file. This step is optional since mp4 video format is supported by almost all major browsers. [flowplayer src="http://example.com/wp-content/uploads/videos/test.mp4" webm="http://example.com/wp-content/uploads/videos/test.webm"] Poster Image If you want to show an image as placeholder before the video plays, you can specify it in the “poster” parameter: [flowplayer src="http://example.com/wp-content/uploads/videos/test.mp4" poster="http://example.com/wp-content/uploads/images/poster.jpg"] Autoplay Video If you want a particular video to start playing when the page loads you can set the “autoplay” option to “true”: [flowplayer src="http://example.com/wp-content/uploads/videos/test.mp4" autoplay="true"] Player Size By default, the player takes up the full width of the content area. You can easily control the size by specifying a width for it: [flowplayer src="http://example.com/wp-content/uploads/videos/test.mp4" width="500"] The height will be automatically determined based on the ratio (please see the “Control Player Ratio section” for details). Player Ratio The player ratio is set to “0.417” by default. But you can override it by specifying a different ratio in the shortcode: [flowplayer src="http://example.com/wp-content/uploads/videos/test.mp4" ratio="0.345"] Loop Video If you want a particular video to start playing again when it ends you can set the “loop” option to “true”: [flowplayer src="http://example.com/wp-content/uploads/videos/test.mp4" loop="true"] For documentation please visit the Flowplayer Video Player plugin page
iframe
Advanced iFrame iframe Donate GitHub [iframe src=”http://www.youtube.com/embed/7_nAZQt9qu0″ width=”100%” height=”500″] shortcode should show something like this: WordPress removes iframe html tags because of security reasons. Iframe shortcode is the replacement of the iframe html tag and accepts the same params as iframe html tag does. You may use iframe shortcode to embed content from YouTube, Vimeo, Google Maps or from any external page. If you need to embed content from YouTube, Vimeo, SlideShare, SoundCloud, Twitter via direct link, you may use [embed]http://www.youtube.com/watch?v=7_nAZQt9qu0[/embed] shortcode. [embed] shortcode is a core WordPress feature and can embed content from many resources via direct link. Important: You can not embed HTTP pages into HTTPS pages and vice versa. So the protocol (http or httpS) for parent and embedded page should match. iframe params: src – source of the iframe: [iframe src="http://www.youtube.com/embed/7_nAZQt9qu0"]; by default src=”http://www.youtube.com/embed/7_nAZQt9qu0″; width – width in pixels or in percents: [iframe width="100%"] or [iframe width="600"]; by default width=”100%”; height – height in pixels: [iframe height="500"]; by default height=”500″; scrolling – with or without the scrollbar: [iframe scrolling="no"]; by default scrolling=”yes”; frameborder – with or without the frame border: [iframe frameborder="0"]; by default frameborder=”0″; marginheight – height of the margin: [iframe marginheight="0"]; removed by default; marginwidth – width of the margin: [iframe marginwidth="0"]; removed by default; allowtransparency – allows to set transparency of the iframe: [iframe allowtransparency="true"]; removed by default; id – allows to add the id of the iframe: [iframe id="custom_id"]; removed by default; class – allows to add the class of the iframe: [iframe class="custom_class"]; by default class=”iframe-class”; style – allows to add the css styles of the iframe: [iframe style="margin-left:-30px;"]; removed by default; same_height_as – allows to set the height of iframe same as target element: [iframe same_height_as="div.sidebar"], [iframe same_height_as="div#content"], [iframe same_height_as="body"], [iframe same_height_as="html"]; removed by default; any_other_param – allows to add new parameter of the iframe [iframe any_other_param="any_value"]; any_other_empty_param – allows to add new empty parameter of the iframe (like “allowfullscreen” on youtube) [iframe any_other_empty_param=""];