這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Responsive videos – Fitvids 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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