该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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.

产品特点

  • 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)

用法

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

屏幕截图

  • Flowplayer video player demo

安装

  1. Go to the Add New plugins screen in your WordPress Dashboard
  2. Click the upload tab
  3. Browse for the plugin file (flowplayer6-video-player.zip) on your computer
  4. Click “Install Now” and then hit the activate button
  5. Now, go to the settings menu of the plugin and follow the instructions for embedding videos.

常见问题

Can this plugin be used to embed a video on my WordPress blog?

Yes.

Are the videos embedded by this plugin playable on mobile devices?

Yes.

Can I automatically play a video?

Yes.

Can I embed a responsive video using this plugin?

Yes.

评价

2019 年 7 月 1 日
For the web page from a PC this worked really well. But the autoplay didn’t work for iPhone (safari or chrome) Secondly, it puts a “FlowPlayer” logo onto the screen that is very intrusive for mobile devices. Going to look for another plugin.
2018 年 1 月 8 日
More useful and beautiful UI than almost every other similar plug-in, only one thing how can I get rid of the watermark, is there a pro version to purchase 🙂
2016 年 9 月 3 日
As an old aged Wordpress beginner, getting most plugins/widgets to work is the same as banging my head against the wall. This was the first video player I got to work, as soon as I figured out to replace the sample in the shortcut with my own URL. Works exactly as I want it to! Thank you! Carry on…..
2016 年 9 月 3 日
Works well with little config. I have used this for a number of different format videos with no problems. The only slight niggle I have is that the video ratio is entered counter-intuitively as a fraction, rather than a width/height ratio. So 16:9 video is set up using a ratio of 0.56 rather than 1.77. It’s a small thing – and I did not have any problems once I realized how to calculate this. It’s just that video ratios are normally expressed the other way around … 🙂 Having said that, this is unintrusive and has worked for everything I have thrown at it so far. So may thanks for the plugin!
2016 年 9 月 3 日
This is the kind plugin I was looking for. Since the implementation of Flowplayer in a WP based site with the official documentation is not really clear (in my opinion), I was looking for a clean way to provide a shortcode and this plugin does the job. It is : – Simple enough to be installed & used – And not too complex to be easily customized or embedded into a custom dev Though, FAQ and Installation Tabs (on Wordpress.org) could use a better explanation. Nice work.
阅读所有6条评价

贡献者及开发者

“Flowplayer Video Player” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Flowplayer Video Player」插件已被翻译至 6 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Flowplayer Video Player”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.5

  • Made some security related improvements suggested by wpscan.

1.0.4

  • Updated Flowplayer to the latest version (7.0.4).

1.0.3

  • Added translation option so the plugin can take advantage of language packs
  • Flowplayer 6 Video Player is now compatible with WordPress 4.4

1.0.2

  • Flowplayer 6 Video Player is now compatible with WordPress 4.3

1.0.1

  • First commit