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

Responsive videos – Fitvids

描述

Responsive Videos plugin will allow you to automatically resize and scale your embedded videos on mobile devices.
CSS selector option is provided so you can target only your post / page content container.

Features

  • Automatic configuration option
  • Automatically resizes / scales all your embedded videos
  • Works on all browsers
  • Highly compatible – you can change the css selector for the text highlight
  • Customizable – you can select the page type on which to activate the fitVids script

屏幕截图

  • Plugin in action on Mobile device

  • Container selector settings in admin panel

安装

  1. Upload responsive-videos-fitvids.zip to plugins via WordPress admin panel, or upload unzipped folder to your plugins folder
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Go to Settings->Responsive Videos to manage the options

常见问题

What is the difference between manual and automatic configuration

Automatic configuration will wrap all your embedded videos in a div with class .entry-content-asset
Javascript will automatically target those elements and make your videos responsive

I am using the autoconfig option, and some of my videos are not responsive

Depending on the theme / plugins you’re using, it is possible that embedded video HTML is not being generated using oEmbed.
Disable auto configuration option, and use CSS selector to target your content

Default CSS selector is not working, which one should I use?

Generally speaking, you should use the CSS selector for your content div. If you can’t find it, you can use body as your CSS selector.

评价

2019 年 11 月 16 日
I was looking for a solution to cut the extra black space on a simple link embedded videos and this plugin solved the issue out of the box! Especially useful if you already have a bunch of posts with many videos and do not want to go and wrap every single one with a div. This plugin solves the issue for all the embedded videos on the website at once.
2017 年 3 月 20 日
Plugin didn’t work at first but I posted on the forum and Sibin, the author, responded quickly with a simple fix. (changed CSS selector) Quick reply, plugin works now; SUPER!
2016 年 9 月 3 日
Not sure about functionality but Sibin provided great customer support and problem solving skills. I was trying to make a video slider responsive with mobile (worked on desktop site but not on mobile) using this plug in to no avail. Apparently the native embed was Flash based and has nothing to do with functionality of plugin. Sibin was able to offer an alternative that get the job done.
2016 年 9 月 3 日
I did have a bit of an issue with the default selector. I posted on the forum and Sibin, the author, responded quickly with a simple fix. The whole process, tech support included was quick and painless.
阅读所有11条评价

贡献者及开发者

“Responsive videos – Fitvids” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

3.0.1

*Bugfix: Fixed PHP 7.2 compatibility errors

3.0

  • Breaking: Minimum WP Version has been bumped to 5.1
  • Breaking: Minimum PHP Version has been bumped to 7.2
  • Improvement: Full PSR-12 compliance
  • Improvement: Better plugin performance
  • Improvement: Better handling of responsive media and embeds
  • Bugfix: Fixed various warnings and notices

2.1.0

  • Bugfix: Fixed bracket synthax in update file.
  • Improvement: Plugin 100% compatible with PHP 5.3.x

2.1.0

  • Bugfix: Fixed error 500 on some hosting configurations

2.0

  • New: Enabled Auto Configuration
  • Improvement: Added update hooks
  • Improvement: Added FAQ section
  • Improvement: Moved settings to dedicated option page

1.1.3

  • Updated compatibility for WordPress 4.7.3
  • Fully documented code

1.1.2

  • Fixed internal version check
  • Fixed initial option saving bug
  • Removed screenshots from plugin trunk

1.1.1

  • Fixed conditional for front page check

1.1

  • Fixed minor backend bugs
  • Added an option to select the page type on which to enable fitVids script

1.0

  • Initial release